From 03591ab4f63d6a95b9fc03fdf14ea10bc1d3c94c Mon Sep 17 00:00:00 2001 From: Bartosz Gardziejewski Date: Tue, 29 Sep 2020 13:50:12 +0200 Subject: Fixing CSIT tests for vnfsdk-refrepo and vnfsdk-marketplace. Signed-off-by: Bartosz Gardziejewski Change-Id: I75e2181d2bb1c70c80ab6f4f51eb8190bec7faa7 Issue-ID: VNFSDK-659 --- tests/vnfsdk-refrepo/csar_validation_tests.robot | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/vnfsdk-refrepo/csar_validation_tests.robot (limited to '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 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 -- cgit 1.2.3-korg