aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/vnfsdk_interface.robot
diff options
context:
space:
mode:
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2020-03-27 14:03:43 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-04-01 07:28:32 +0000
commit1592b0854a5552091afcb12564bc891e6e8e8a5f (patch)
tree0a57ca06f835eb1e116d289067764a698666ed47 /robot/resources/vnfsdk_interface.robot
parent888614e469ca672ddac67cdc2b57ce48497da441 (diff)
ROBOT e2e test cases improvements for csar/zip tosca package validation in VNFSDK and SDC Onbarding
Issue-ID: INT-1240 Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Change-Id: I87dd001822e2fe2f61a731167250eb56e724b606
Diffstat (limited to 'robot/resources/vnfsdk_interface.robot')
-rw-r--r--robot/resources/vnfsdk_interface.robot7
1 files changed, 7 insertions, 0 deletions
diff --git a/robot/resources/vnfsdk_interface.robot b/robot/resources/vnfsdk_interface.robot
index 01cacf4d..fea6b31a 100644
--- a/robot/resources/vnfsdk_interface.robot
+++ b/robot/resources/vnfsdk_interface.robot
@@ -22,3 +22,10 @@ Run VNFSDK Get Request
Log Received response from VNFSDK ${resp.text}
[Return] ${resp}
+Run VNFSDK Post Request
+ [Documentation] Runs VNFSDK Get request
+ [Arguments] ${data_path} ${files} ${headers}
+ ${session}= Create Session vnfsdk ${VNFSDK_ENDPOINT}
+ ${resp}= Post Request vnfsdk ${data_path} files=${files}
+ Log Received response from VNFSDK ${resp}
+ [Return] ${resp}