aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/src/test/resources/robotframework/tests/01_healthcheck.robot
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/src/test/resources/robotframework/tests/01_healthcheck.robot')
-rw-r--r--runtime/src/test/resources/robotframework/tests/01_healthcheck.robot19
1 files changed, 19 insertions, 0 deletions
diff --git a/runtime/src/test/resources/robotframework/tests/01_healthcheck.robot b/runtime/src/test/resources/robotframework/tests/01_healthcheck.robot
new file mode 100644
index 000000000..f19266781
--- /dev/null
+++ b/runtime/src/test/resources/robotframework/tests/01_healthcheck.robot
@@ -0,0 +1,19 @@
+*** Settings ***
+Library Collections
+Library RequestsLibrary
+Library OperatingSystem
+Library json
+Library OperatingSystem
+*** Variables ***
+${login} admin
+${passw} password
+*** Keywords ***
+Create the sessions
+*** Test Cases ***
+Get Requests health check ok
+ ${port} = Get Environment Variable CLAMP_PORT
+ ${auth}= Create List ${login} ${passw}
+ Create Session clamp http://localhost:${port} auth=${auth} disable_warnings=1
+ Set Global Variable ${clamp_session} clamp
+ ${resp}= Get Request ${clamp_session} /restservices/clds/v1/healthcheck
+ Should Be Equal As Strings ${resp.status_code} 200 \ No newline at end of file