aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vnfsdk-refrepo/csar_validation_tests.robot
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-09-29 13:50:12 +0200
committerBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-09-30 13:49:42 +0200
commit03591ab4f63d6a95b9fc03fdf14ea10bc1d3c94c (patch)
tree7082c6622690ed197d780b601b30d7842e4e9a62 /tests/vnfsdk-refrepo/csar_validation_tests.robot
parent334a204a6e0ce7e7a28de8ac3f8fb008bcc5683a (diff)
Fixing CSIT tests for vnfsdk-refrepo and vnfsdk-marketplace.
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I75e2181d2bb1c70c80ab6f4f51eb8190bec7faa7 Issue-ID: VNFSDK-659
Diffstat (limited to 'tests/vnfsdk-refrepo/csar_validation_tests.robot')
-rw-r--r--tests/vnfsdk-refrepo/csar_validation_tests.robot18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/vnfsdk-refrepo/csar_validation_tests.robot b/tests/vnfsdk-refrepo/csar_validation_tests.robot
new file mode 100644
index 00000000..88075c6f
--- /dev/null
+++ b/tests/vnfsdk-refrepo/csar_validation_tests.robot
@@ -0,0 +1,18 @@
+*** Settings ***
+Library OperatingSystem
+Library Process
+Library String
+Library Collections
+Library RequestsLibrary
+Library json
+
+
+*** Variables ***
+${base_url}= http://${REFREPO_IP}:8702/onapapi/vnfsdk-marketplace/v1
+
+*** Test Cases ***
+Perform vnf refrepo healthcheck
+ [Documentation] Check if vnf refrepo is up and running
+ Create Session refrepo ${base_url}
+ ${response}= Get Request refrepo /PackageResource/healthcheck
+ Should Be Equal As Strings ${response.status_code} 200