aboutsummaryrefslogtreecommitdiffstats
path: root/tests/so
diff options
context:
space:
mode:
authoreHanan <eoin.hanan@est.tech>2019-07-04 13:16:48 +0000
committereHanan <eoin.hanan@est.tech>2019-07-04 13:16:48 +0000
commit9d839ce15604c0be62045304b1a5fd9ecfbaaec1 (patch)
treec4299213b17de1ad7000a7af5b7b86521c2301a6 /tests/so
parent8a75a93b7074476a453ce152b09e86e0070ccca2 (diff)
Added Robot test for Healthcheck
Change-Id: I774b7d7cf4e7c5b4065ef46d905b74f3da08a468 Issue-ID: SO-1640 Signed-off-by: eHanan <eoin.hanan@est.tech>
Diffstat (limited to 'tests/so')
-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