Fixing Jenkins Job
[integration/csit.git] / tests / vfc / gvnfm-vnflcm / test.robot
index c2c6a9c..4c8b548 100644 (file)
@@ -4,7 +4,6 @@ Library     Collections
 Library     RequestsLibrary
 Library     OperatingSystem
 Library     json
-Library     HttpLibrary.HTTP
 
 *** Variables ***
 @{return_ok_list}=   200  201  202  204
@@ -23,7 +22,7 @@ VnflcmSwaggerTest
     [Documentation]    query swagger info vnflcm by MSB
     ${headers}    Create Dictionary    Content-Type=application/json    Accept=application/json
     Create Session    web_session    http://${VNFLCM_IP}:8801    headers=${headers}
-    ${resp}=  Get Request    web_session    ${queryswagger_url}
+    ${resp}=   GET On Session    web_session    ${queryswagger_url}
     ${responese_code}=     Convert To String      ${resp.status_code}
     List Should Contain Value    ${return_ok_list}   ${responese_code}
     ${response_json}    json.loads    ${resp.content}
@@ -34,7 +33,7 @@ VnflcmHealthCheckTest
     [Documentation]    check health for vnflcm by MSB
     ${headers}    Create Dictionary    Content-Type=application/json    Accept=application/json
     Create Session    web_session    http://${VNFLCM_IP}:8801    headers=${headers}
-    ${resp}=  Get Request    web_session    ${healthcheck_url}
+    ${resp}=   GET On Session    web_session    ${healthcheck_url}
     ${responese_code}=     Convert To String      ${resp.status_code}
     List Should Contain Value    ${return_ok_list}   ${responese_code}
     ${response_json}    json.loads    ${resp.content}
@@ -45,6 +44,6 @@ VnflcmQueryVnfsTest
     [Documentation]    check health for vnflcm by MSB
     ${headers}    Create Dictionary    Content-Type=application/json    Accept=application/json
     Create Session    web_session    http://${VNFLCM_IP}:8801    headers=${headers}
-    ${resp}=  Get Request    web_session    ${query_vnfs_url}
+    ${resp}=   GET On Session    web_session    ${query_vnfs_url}
     ${responese_code}=     Convert To String      ${resp.status_code}
-    List Should Contain Value    ${return_ok_list}   ${responese_code}
+    List Should Contain Value    ${return_ok_list}   ${responese_code}
\ No newline at end of file