push code back with legal issues fix
[ric-plt/e2mgr.git] / Automation / Tests / Health / get_health_check.robot
diff --git a/Automation/Tests/Health/get_health_check.robot b/Automation/Tests/Health/get_health_check.robot
new file mode 100644 (file)
index 0000000..d6e41b3
--- /dev/null
@@ -0,0 +1,21 @@
+*** Settings ***
+Suite Setup     Start dockers
+Resource   ../Resource/resource.robot
+Library     OperatingSystem
+Library     REST      ${url}
+
+
+
+*** Test Cases ***
+Get Health
+    GET     /v1/health
+    Integer     response status       200
+
+
+*** Keywords ***
+Start dockers
+     Run And Return Rc And Output    ${run_script}
+     ${result}=  Run And Return Rc And Output     ${docker_command}
+     Should Be Equal As Integers    ${result[1]}    4
+
+