aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGary Wu <gary.wu@futurewei.com>2019-07-08 17:40:52 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-08 17:40:52 +0000
commit4c62996cc2e741e2bfbe1c3562dd046dd070d20d (patch)
tree541594e07657cdf347dd18a0efc42c5c8581fc00 /tests
parent28fc733d5c8e4728cc65dc3a9e9f66b79e9a5f7f (diff)
parent9d839ce15604c0be62045304b1a5fd9ecfbaaec1 (diff)
Merge "Added Robot test for Healthcheck"
Diffstat (limited to 'tests')
-rw-r--r--tests/so/vnfm_adapter/vnfm_adapter_test.robot16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/so/vnfm_adapter/vnfm_adapter_test.robot b/tests/so/vnfm_adapter/vnfm_adapter_test.robot
new file mode 100644
index 00000000..d0c7034f
--- /dev/null
+++ b/tests/so/vnfm_adapter/vnfm_adapter_test.robot
@@ -0,0 +1,16 @@
+*** Settings ***
+Library Collections
+Library RequestsLibrary
+Library OperatingSystem
+Library json
+
+*** Variables ***
+
+
+*** Test Cases ***
+
+Healthcheck
+ Create Session refrepo http://${REPO_IP}:9092
+ &{headers}= Create Dictionary Authorization=Basic dm5mbTpwYXNzd29yZDEk== Content-Type=application/json
+ ${resp}= Get Request refrepo /manage/health headers=${headers}
+ Run Keyword If '${resp.status_code}' == 'UP' log to console \nexecuted with expected result