aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/aai/esr-server
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-09-27 10:42:28 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-09-28 16:15:19 +0000
commitd6f0c1e12211b70f7d470fd9ede6b7af753241ba (patch)
treef042a1c5084b972893b899182308d3bd6f1f1e3c /test/csit/tests/aai/esr-server
parent4373810132c59df7bf94607e0406a838332036e8 (diff)
Setup a basic traveral suite for starting
Issue-ID: AAI-156 AAI-330 Change-Id: Ic95b8dcc80c2fd54a9f90c920b29c4b1aac4b7e7 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com> Signed-off-by: Singhsumalee, Pete (ps2418) <petes@att.com>
Diffstat (limited to 'test/csit/tests/aai/esr-server')
-rw-r--r--test/csit/tests/aai/esr-server/startup/__init__.robot2
-rw-r--r--test/csit/tests/aai/esr-server/startup/test1.robot15
2 files changed, 17 insertions, 0 deletions
diff --git a/test/csit/tests/aai/esr-server/startup/__init__.robot b/test/csit/tests/aai/esr-server/startup/__init__.robot
new file mode 100644
index 000000000..c1eddc936
--- /dev/null
+++ b/test/csit/tests/aai/esr-server/startup/__init__.robot
@@ -0,0 +1,2 @@
+*** Settings ***
+Documentation AAI ESR SERVER - Startup
diff --git a/test/csit/tests/aai/esr-server/startup/test1.robot b/test/csit/tests/aai/esr-server/startup/test1.robot
new file mode 100644
index 000000000..53afeed27
--- /dev/null
+++ b/test/csit/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 http://${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
+