aboutsummaryrefslogtreecommitdiffstats
path: root/tests/aai/esr-server
diff options
context:
space:
mode:
Diffstat (limited to 'tests/aai/esr-server')
-rw-r--r--tests/aai/esr-server/startup/__init__.robot2
-rw-r--r--tests/aai/esr-server/startup/test1.robot15
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/aai/esr-server/startup/__init__.robot b/tests/aai/esr-server/startup/__init__.robot
new file mode 100644
index 00000000..c1eddc93
--- /dev/null
+++ b/tests/aai/esr-server/startup/__init__.robot
@@ -0,0 +1,2 @@
+*** Settings ***
+Documentation AAI ESR SERVER - Startup
diff --git a/tests/aai/esr-server/startup/test1.robot b/tests/aai/esr-server/startup/test1.robot
new file mode 100644
index 00000000..d1504a1b
--- /dev/null
+++ b/tests/aai/esr-server/startup/test1.robot
@@ -0,0 +1,15 @@
+*** Settings ***
+Library RequestsLibrary
+
+*** Test Cases ***
+Liveness Test
+ [Documentation] Check various endpoints for basic liveness check
+ Create Session esr-server https://${ESRSERVER_IP}:9518
+ CheckUrl esr-server /api/aai-esr-server/v1/test
+
+*** Keywords ***
+CheckUrl
+ [Arguments] ${session} ${path}
+ ${resp}= Get Request ${session} ${path}
+ Should Be Equal As Integers ${resp.status_code} 200
+