Simulate Service Distribution of SDC Service in Catalog DB
Change-Id: I9437305940dacd985ad12d0af3c19ba2b78eca0b
Issue-ID: SO-1948
Signed-off-by: rope252 <gareth.roper@est.tech>
diff --git a/tests/so/etsi/etsi_tests.robot b/tests/so/etsi/etsi_tests.robot
new file mode 100644
index 0000000..e3d0a95
--- /dev/null
+++ b/tests/so/etsi/etsi_tests.robot
@@ -0,0 +1,20 @@
+*** Settings ***
+Library Collections
+Library RequestsLibrary
+Library OperatingSystem
+Library json
+
+*** Variables ***
+${MESSAGE} Hello, world!
+
+*** Test Cases ***
+
+Distribute Service Template
+ Create Session refrepo http://${REPO_IP}:8085
+ ${data}= Get Binary File ${CURDIR}${/}data${/}distributeServiceTemplate.json
+ &{headers}= Create Dictionary Authorization=Basic bXNvX2FkbWluOnBhc3N3b3JkMSQ= resource-location=/distribution-test-zip/unzipped Content-Type=application/json Accept=application/json
+ log to console \nAbout to POST ${REPO_IP}
+ ${resp}= Post Request refrepo /test/treatNotification/v1 data=${data} headers=${headers}
+ log to console \nAFRTE POST
+ Run Keyword If '${resp.status_code}' == '200' log to console \nexecuted with expected result
+