X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fusc%2Ftcp%2F300_Callhome_TCP%2Ftest.robot;h=80fd13fb80123afb1094e568328a10f97d54fc6e;hb=94651ca9711d8eb316721775561e815830bc6c7e;hp=a61b0a2b48dec8aac61d59e992003d256ba3e957;hpb=19857ce6b9805330b4546c92cf19914af33a1f5e;p=integration%2Ftest.git diff --git a/csit/suites/usc/tcp/300_Callhome_TCP/test.robot b/csit/suites/usc/tcp/300_Callhome_TCP/test.robot index a61b0a2b48..80fd13fb80 100644 --- a/csit/suites/usc/tcp/300_Callhome_TCP/test.robot +++ b/csit/suites/usc/tcp/300_Callhome_TCP/test.robot @@ -41,11 +41,12 @@ Send Messages ${content} Create Dictionary hostname=${TOOLS_SYSTEM_IP} port=${ECHO_SERVER_PORT} tcp=true content=${TEST_MESSAGE} ${channel} Create Dictionary channel=${content} ${input} Create Dictionary input=${channel} - : FOR ${index} IN RANGE 0 ${NUM_OF_MESSAGES} - \ ${data} json.dumps ${input} - \ ${resp} Post Request session ${REST_SEND_MESSAGE} data=${data} - \ Should Be Equal As Strings ${resp.status_code} 200 - \ Should Contain ${resp.content} Succeed to send request + FOR ${index} IN RANGE 0 ${NUM_OF_MESSAGES} + ${data} json.dumps ${input} + ${resp} Post Request session ${REST_SEND_MESSAGE} data=${data} + Should Be Equal As Strings ${resp.status_code} 200 + Should Contain ${resp.content} Succeed to send request + END View Bytes In and Bytes Out [Documentation] Check if the number of Bytes In and Bytes Out are correct