X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fopenflowplugin%2FFlows_Additional_TCs%2F010_Lithium_Rps_Calls_Ovs.robot;h=5c112e399f5b0c9d0c421437fbc3b6bc79b030c1;hb=HEAD;hp=fee03a0ba0afb115dbf95fe8a6df4859fc853150;hpb=a24488972a386c12e4c49ec883ef60974a019ed3;p=integration%2Ftest.git diff --git a/csit/suites/openflowplugin/Flows_Additional_TCs/010_Lithium_Rps_Calls_Ovs.robot b/csit/suites/openflowplugin/Flows_Additional_TCs/010_Lithium_Rps_Calls_Ovs.robot index fee03a0ba0..5c112e399f 100644 --- a/csit/suites/openflowplugin/Flows_Additional_TCs/010_Lithium_Rps_Calls_Ovs.robot +++ b/csit/suites/openflowplugin/Flows_Additional_TCs/010_Lithium_Rps_Calls_Ovs.robot @@ -1,30 +1,43 @@ *** Settings *** -Documentation Test suite to test various rcp calls -Suite Setup Initialization Phase -Suite Teardown Final Phase -Library XML -Library RequestsLibrary -Library SSHLibrary -Resource ../../../libraries/Utils.robot -Resource ../../../libraries/FlowLib.robot -Variables ../../../variables/ofplugin/RpcVariables.py +Documentation Test suite to test various rcp calls + +Library XML +Library RequestsLibrary +Library SSHLibrary +Resource ../../../libraries/Utils.robot +Resource ../../../libraries/FlowLib.robot +Variables ../../../variables/ofplugin/RpcVariables.py + +Suite Setup Initialization Phase +Suite Teardown Final Phase + *** Variables *** -${send_barrier_url} /rests/operations/flow-capable-transaction:send-barrier -${send_echo_url} /rests/operations/sal-echo:send-echo +${send_barrier_url} /rests/operations/flow-capable-transaction:send-barrier +${send_echo_url} /rests/operations/sal-echo:send-echo + *** Test Cases *** Sending Barrier [Documentation] Test to send barrier - ${resp}= RequestsLibrary.Post Request session ${send_barrier_url} data=${RPC_SEND_BARRIER_DATA} headers=${HEADERS_XML} + ${resp}= RequestsLibrary.POST On Session + ... session + ... url=${send_barrier_url} + ... data=${RPC_SEND_BARRIER_DATA} + ... headers=${HEADERS_XML} + ... expected_status=200 Log ${resp.content} - Should Be Equal As Strings ${resp.status_code} 200 Sending Echo [Documentation] Test to send echo - ${resp}= RequestsLibrary.Post Request session ${send_echo_url} data=${RPC_SEND_ECHO_DATA} headers=${HEADERS_XML} + ${resp}= RequestsLibrary.POST On Session + ... session + ... url=${send_echo_url} + ... data=${RPC_SEND_ECHO_DATA} + ... headers=${HEADERS_XML} + ... expected_status=200 Log ${resp.content} - Should Be Equal As Strings ${resp.status_code} 200 + *** Keywords *** Initialization Phase