Fixing CSIT tests for vnfsdk-refrepo and vnfsdk-marketplace.
[integration/csit.git] / tests / vnfsdk-refrepo / csar_validation_tests.robot
diff --git a/tests/vnfsdk-refrepo/csar_validation_tests.robot b/tests/vnfsdk-refrepo/csar_validation_tests.robot
new file mode 100644 (file)
index 0000000..88075c6
--- /dev/null
@@ -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