Enhance vid CSIT tests, added for scaleout
[integration/csit.git] / tests / vid / healthCheck / test1.robot
index 8f9448d..4f1aabd 100644 (file)
@@ -7,9 +7,9 @@ Library           json
 *** Test Cases ***
 Get Requests health check ok
     [Tags]    get
-    CreateSession    vid    http://localhost:8080
+    CreateSession    vid    http://${VID_IP}:8080
     ${headers}=    Create Dictionary    Accept=application/json    Content-Type=application/json
-    ${resp}=    Get Request    vid    /vid/healthCheck    headers=&{headers}
+    ${resp}=    Get Request    vid    /vid/healthCheck    headers=${headers}
     Should Be Equal As Strings    ${resp.status_code}    200
     Log to console   statusCode: ${resp.json()['statusCode']}
     Should Be Equal As Strings  ${resp.json()['statusCode']}  200