summaryrefslogtreecommitdiffstats
path: root/test/csit/tests
diff options
context:
space:
mode:
authorAaron Hay <ah415j@att.com>2017-08-21 19:09:35 +0000
committerAaron Hay <ah415j@att.com>2017-08-21 19:56:37 +0000
commit5a7cb08e39985a77eb230eb5a5d2a431c770e92e (patch)
tree83168d05e36ed4094a6c4b3bbd79973abc54de95 /test/csit/tests
parent93545b6a8fdb7f5b779b92526576469ad71df45a (diff)
APPC CSIT health check added.
Change-Id: I215ab1454e9b1f051db4c070085f2941ce7104ec Issue-Id: APPC-111 Signed-off-by: Aaron Hay <ah415j@att.com>
Diffstat (limited to 'test/csit/tests')
-rw-r--r--test/csit/tests/appc/healthcheck/__init__.robot2
-rw-r--r--test/csit/tests/appc/healthcheck/test1.robot15
2 files changed, 17 insertions, 0 deletions
diff --git a/test/csit/tests/appc/healthcheck/__init__.robot b/test/csit/tests/appc/healthcheck/__init__.robot
new file mode 100644
index 000000000..3b8528dff
--- /dev/null
+++ b/test/csit/tests/appc/healthcheck/__init__.robot
@@ -0,0 +1,2 @@
+*** Settings ***
+Documentation APPC - healthcheck
diff --git a/test/csit/tests/appc/healthcheck/test1.robot b/test/csit/tests/appc/healthcheck/test1.robot
new file mode 100644
index 000000000..e43c80761
--- /dev/null
+++ b/test/csit/tests/appc/healthcheck/test1.robot
@@ -0,0 +1,15 @@
+*** Settings ***
+Library Collections
+Library RequestsLibrary
+Library OperatingSystem
+Library json
+Library HttpLibrary.HTTP
+Library Selenium2Library
+Library XvfbRobot
+
+
+*** Test Cases ***
+Get Requests health check ok
+ CreateSession appc http://localhost:8282
+ ${resp}= Get Request appc /restconf/operations/SLI-API:healthcheck
+ Should Be Equal As Strings ${resp.status_code} 200