aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/vid/healthCheck/test1.robot
diff options
context:
space:
mode:
Diffstat (limited to 'test/csit/tests/vid/healthCheck/test1.robot')
-rw-r--r--test/csit/tests/vid/healthCheck/test1.robot15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/csit/tests/vid/healthCheck/test1.robot b/test/csit/tests/vid/healthCheck/test1.robot
new file mode 100644
index 000000000..8f9448d8f
--- /dev/null
+++ b/test/csit/tests/vid/healthCheck/test1.robot
@@ -0,0 +1,15 @@
+*** Settings ***
+Library Collections
+Library OperatingSystem
+Library RequestsLibrary
+Library json
+
+*** Test Cases ***
+Get Requests health check ok
+ [Tags] get
+ CreateSession vid http://localhost:8080
+ ${headers}= Create Dictionary Accept=application/json Content-Type=application/json
+ ${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