aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests
diff options
context:
space:
mode:
Diffstat (limited to 'test/csit/tests')
-rw-r--r--test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot b/test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot
new file mode 100644
index 000000000..5a314b519
--- /dev/null
+++ b/test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot
@@ -0,0 +1,19 @@
+*** settings ***
+Library OperatingSystem
+Library Process
+
+
+*** Variables ***
+${csarpath} ${SCRIPTS}/../plans/vnfsdk-marketplace/sanity-check/enterprise2DC.csar
+${upload} ${SCRIPTS}/../plans/vnfsdk-marketplace/sanity-check/uploadCSAR.sh
+
+
+*** Test Cases ***
+Upload CSAR to marketplace repository
+ [Documentation] Upload the VNF Package
+ ${status}= Run curl -i -X POST -H "Content-Type: multipart/form-data" -F "data=@RobotScript.zip" http://${MSB_IP}/openoapi/vnfsdk/v1/functest/
+
+E2E Test case for VNF SDK
+ [Documentation] Upload the VNF Package
+ ${status}= Run Process bash ${upload} ${MSB_IP} ${csarpath} > log.txt shell=yes
+