aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-08-21 20:51:56 +0000
committerGerrit Code Review <gerrit@onap.org>2017-08-21 20:51:56 +0000
commitcf716b7875aad729468993f44a86007e7c02752e (patch)
tree7969043012179967969406aba3ab6d9e9c2b542d /test/csit/tests
parented2b8d40a08e9596fc84bff3f2242a604a9c4a9a (diff)
parent5a7cb08e39985a77eb230eb5a5d2a431c770e92e (diff)
Merge "APPC CSIT health check added."
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