aboutsummaryrefslogtreecommitdiffstats
path: root/tests/so/etsi/etsi_tests.robot
diff options
context:
space:
mode:
Diffstat (limited to 'tests/so/etsi/etsi_tests.robot')
-rw-r--r--tests/so/etsi/etsi_tests.robot20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/so/etsi/etsi_tests.robot b/tests/so/etsi/etsi_tests.robot
new file mode 100644
index 00000000..e3d0a950
--- /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
+