X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fusc%2Fudp%2F300_Callhome_UDP%2FTest.robot;h=cca158b16167c7dacfd1ccb4c7937d5128a402b1;hb=86ce244b8ec3b79ba35233abfe1cf2202778f867;hp=40869064ff7fd1105eb485723033acf42387f7ce;hpb=94651ca9711d8eb316721775561e815830bc6c7e;p=integration%2Ftest.git diff --git a/csit/suites/usc/udp/300_Callhome_UDP/Test.robot b/csit/suites/usc/udp/300_Callhome_UDP/Test.robot index 40869064ff..cca158b161 100644 --- a/csit/suites/usc/udp/300_Callhome_UDP/Test.robot +++ b/csit/suites/usc/udp/300_Callhome_UDP/Test.robot @@ -1,21 +1,28 @@ *** Settings *** -Documentation Test suite for callhome DTLS channel -Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS} -Suite Teardown Delete All Sessions -Test Timeout 1 minute -Library Collections -Library OperatingSystem -Library SSHLibrary -Library RequestsLibrary -Library json -Library ../../../../libraries/Common.py -Variables ../../../../variables/Variables.py -Resource ../../../../libraries/UscUtils.robot +Documentation Test suite for callhome DTLS channel + +Library Collections +Library OperatingSystem +Library SSHLibrary +Library RequestsLibrary +Library json +Library ../../../../libraries/Common.py +Variables ../../../../variables/Variables.py +Resource ../../../../libraries/UscUtils.robot + +Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS} +Suite Teardown Delete All Sessions +Test Timeout 1 minute + *** Test Cases *** Add Channel [Documentation] Add an USC TLS callhome channel - ${content} Create Dictionary hostname=${TOOLS_SYSTEM_IP} tcp=false port=${ECHO_SERVER_PORT} remote=false + ${content} Create Dictionary + ... hostname=${TOOLS_SYSTEM_IP} + ... tcp=false + ... port=${ECHO_SERVER_PORT} + ... remote=false ${channel} Create Dictionary channel=${content} ${input} Create Dictionary input=${channel} ${data} json.dumps ${input} @@ -39,7 +46,11 @@ Check added Channel Send Messages [Documentation] Send test messages multiple times - ${content} Create Dictionary hostname=${TOOLS_SYSTEM_IP} port=${ECHO_SERVER_PORT} tcp=false content=${TEST_MESSAGE} + ${content} Create Dictionary + ... hostname=${TOOLS_SYSTEM_IP} + ... port=${ECHO_SERVER_PORT} + ... tcp=false + ... content=${TEST_MESSAGE} ${channel} Create Dictionary channel=${content} ${input} Create Dictionary input=${channel} FOR ${index} IN RANGE 0 ${NUM_OF_MESSAGES}