summaryrefslogtreecommitdiffstats
path: root/test/csit/tests/cli/startup/startup_check.robot
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-09-06 15:00:15 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-06 15:00:15 +0000
commita96d75bd8c6b7e3b69337e8e362e1114bb7afb50 (patch)
tree402fd1d7044286d5bca11b2c83f82de2d85c07ed /test/csit/tests/cli/startup/startup_check.robot
parent2b0d6dc4e015b42c1f958fda421bdbb6ddcf6657 (diff)
parent729baadbd9e163978c10a2d5a5c84258af8afd39 (diff)
Merge "Initial integration test for CLI"
Diffstat (limited to 'test/csit/tests/cli/startup/startup_check.robot')
-rw-r--r--test/csit/tests/cli/startup/startup_check.robot16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/csit/tests/cli/startup/startup_check.robot b/test/csit/tests/cli/startup/startup_check.robot
new file mode 100644
index 000000000..c79da34ba
--- /dev/null
+++ b/test/csit/tests/cli/startup/startup_check.robot
@@ -0,0 +1,16 @@
+*** Settings ***
+Library RequestsLibrary
+
+*** Test Cases ***
+Liveness Test
+ [Documentation] Check cli liveness check
+ Create Session cli http://${CLI_IP}:8080
+ CheckUrl cli /
+
+*** Keywords ***
+CheckUrl
+ [Arguments] ${session} ${path}
+ ${resp}= Get Request ${session} ${path}
+ Should Be Equal As Integers ${resp.status_code} 200
+
+