Migrate request invocations (openflowplugin)
[integration/test.git] / csit / suites / openflowplugin / Flows_Additional_TCs / 010_Lithium_Rps_Calls_Ovs.robot
index d95b6350f77b69c7d579ffee4fcd295b6cc89ad6..5c112e399f5b0c9d0c421437fbc3b6bc79b030c1 100644 (file)
@@ -20,23 +20,23 @@ ${send_echo_url}        /rests/operations/sal-echo:send-echo
 *** Test Cases ***
 Sending Barrier
     [Documentation]    Test to send barrier
-    ${resp}=    RequestsLibrary.Post Request
+    ${resp}=    RequestsLibrary.POST On Session
     ...    session
-    ...    ${send_barrier_url}
+    ...    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
+    ${resp}=    RequestsLibrary.POST On Session
     ...    session
-    ...    ${send_echo_url}
+    ...    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 ***