Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
api-tests
Commits
0e3bb2dc
Commit
0e3bb2dc
authored
Sep 28, 2021
by
Elian Kraja
Committed by
Giacomo Bernini
Oct 05, 2021
Browse files
Fix issue
#193
parent
348539eb
Changes
20
Hide whitespace changes
Inline
Side-by-side
SOL002/VNFFaultManagement-API/Subscriptions.robot
View file @
0e3bb2dc
...
...
@@ -320,7 +320,7 @@ Post Create subscription
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${output}
=
Output
response
Set Global Variable
${response}
${output}
Clear Requests
${callback_endpoint}
...
...
SOL002/VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot
View file @
0e3bb2dc
...
...
@@ -1168,7 +1168,7 @@ Post Create subscription
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
@@ -1187,7 +1187,7 @@ Post Create subscription - DUPLICATION
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
@@ -1205,7 +1205,7 @@ Post Create subscription - NO-DUPLICATION
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
SOL002/VNFPerformanceManagement-API/VNFPerformanceManagementKeywords.robot
View file @
0e3bb2dc
...
...
@@ -106,7 +106,7 @@ Send Post Request for VNF Performance Subscription
Set headers
{"Accept": "
${ACCEPT_JSON}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"
${AUTHORIZATION_HEADER}
":"
${AUTHORIZATION_TOKEN}
"}
${body_request}
=
Get File
jsons/subscriptions.json
POST
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body_request}
POST
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body_request}
allow_redirects=false
${output}
=
Output
response
Set Suite Variable
${response}
${output}
Run Keyword If
${VNFM_CHECKS_NOTIF_ENDPOINT}
=
= 1
...
...
@@ -137,7 +137,7 @@ Send Post Request for Duplicated VNF Performance Subscription
Set headers
{"Accept": "
${ACCEPT_JSON}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"
${AUTHORIZATION_HEADER}
":"
${AUTHORIZATION_TOKEN}
"}
${body_request}
=
Get File
jsons/subscriptions.json
POST
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body_request}
POST
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body_request}
allow_redirects=false
${output}
=
Output
response
Set Suite Variable
${response}
${output}
# Integer response status 303
...
...
SOL003/VNFFaultManagement-API/FaultManagement-APIKeyword.robot
View file @
0e3bb2dc
...
...
@@ -275,7 +275,7 @@ POST Subscription
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
@@ -293,7 +293,7 @@ Send POST Request for duplicated subscription
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
@@ -311,7 +311,7 @@ Send POST Request for duplicated subscription not permitted
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
SOL003/VNFIndicator-API/VNFIndicatorsKeywords.robot
View file @
0e3bb2dc
...
...
@@ -106,7 +106,7 @@ Send Post Request for VNF Indicator Subscription
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${output}
=
Output
response
Set Global Variable
${response}
${output}
Clear Requests
${callback_endpoint}
...
...
@@ -127,7 +127,7 @@ Send Post Request for Duplicated VNF indicator Subscription
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${output}
=
Output
response
Set Global Variable
${response}
${output}
Clear Requests
${callback_endpoint}
...
...
SOL003/VNFLifecycleManagement-API/VnfLcmMntOperationKeywords.robot
View file @
0e3bb2dc
...
...
@@ -1254,7 +1254,7 @@ Post Create subscription
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
@@ -1274,7 +1274,7 @@ Post Create subscription - DUPLICATION
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
@@ -1294,7 +1294,7 @@ Post Create subscription - NO-DUPLICATION
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot
View file @
0e3bb2dc
...
...
@@ -418,7 +418,7 @@ Send Post Request for VNF Package Subscription
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${output}
=
Output
response
Set Global Variable
${response}
${output}
Clear Requests
${callback_endpoint}
...
...
@@ -437,7 +437,7 @@ Send Post Request for Duplicated VNF Package Subscription
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${output}
=
Output
response
Set Global Variable
${response}
${output}
Clear Requests
${callback_endpoint}
...
...
SOL003/VirtualisedResourcesQuotaAvailableNotification-API/VRQANOperationKeywords.robot
View file @
0e3bb2dc
...
...
@@ -103,7 +103,7 @@ Send Post request for new Virtualised Resources Quota Available Notification sub
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
@@ -121,7 +121,7 @@ Send Post request for new Virtualised Resources Quota Available Notification sub
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
@@ -139,7 +139,7 @@ Send Post request for new Virtualised Resources Quota Available Notification sub
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
SOL005/NSDManagement-API/NSDManagementKeywords.robot
View file @
0e3bb2dc
...
...
@@ -788,7 +788,7 @@ Send Post Request for NSD Management Subscription
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${output}
=
Output
response
Set Global Variable
${response}
${output}
Clear Requests
${callback_endpoint}
...
...
@@ -809,7 +809,7 @@ Send POST Request for Duplicated NSD Management Subscription
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${output}
=
Output
response
Set Global Variable
${response}
${output}
Clear Requests
${callback_endpoint}
...
...
SOL005/NSFaultManagement-API/NSFMOperationKeywords.robot
View file @
0e3bb2dc
...
...
@@ -222,7 +222,7 @@ POST Subscription
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${output}
=
Output
response
Set Global Variable
${response}
${output}
Clear Requests
${callback_endpoint}
...
...
SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot
View file @
0e3bb2dc
...
...
@@ -1138,7 +1138,7 @@ POST subscriptions
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
@@ -1157,7 +1157,7 @@ POST subscriptions DUPLICATION
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
@@ -1176,7 +1176,7 @@ POST subscriptions NO DUPLICATION
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot
View file @
0e3bb2dc
...
...
@@ -842,7 +842,7 @@ Send Post Request for VNF Package Subscription
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${output}
=
Output
response
Set Global Variable
${response}
${output}
Clear Requests
${callback_endpoint}
...
...
@@ -861,7 +861,7 @@ Send Post Request for Duplicated VNF Package Subscription
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${output}
=
Output
response
Set Global Variable
${response}
${output}
Clear Requests
${callback_endpoint}
...
...
SOL009/NFVMANOFaultManagement-API/FaultManagement-APIKeyword.robot
View file @
0e3bb2dc
...
...
@@ -222,7 +222,7 @@ POST Subscription Duplication not permitted
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":"
${AUTHORIZATION}
"}
${template}
=
Get File
jsons/fmSubscriptionRequest.json
${body}
=
Format String
${template}
callback_uri=
${callback_uri}
callback_endpoint=
${callback_endpoint}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
@{response}
${outputResponse}
...
...
SOL009/NFVMANOLogManagement-API/NFVMANOLogManagementKeywords.robot
View file @
0e3bb2dc
...
...
@@ -474,7 +474,7 @@ Send Post Request for Duplicated Subscription
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization": "
${AUTHORIZATION}
"}
${template}
=
Get File
jsons/subscriptions.json
${body}
=
Format String
${template}
callback_uri=
${callback_uri}
callback_endpoint=
${callback_endpoint}
POST
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
POST
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${output}
=
Output
response
Set Suite Variable
${response}
${output}
...
...
SOL009/NFVMANOPerformanceManagement-API/Subscriptions.robot
View file @
0e3bb2dc
...
...
@@ -277,7 +277,7 @@ Send Post Request for Duplicated Performance Subscription
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":
${AUTHORIZATION}
"}
${template}
=
Get File
jsons/subscriptions.json
${body}
=
Format String
${template}
callback_uri=
${callback_uri}
callback_endpoint=
${callback_endpoint}
POST
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
POST
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body}
allow_redirects=false
${output}
=
Output
response
Set Suite Variable
${response}
${output}
...
...
SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOCimKeywords.robot
View file @
0e3bb2dc
...
...
@@ -696,7 +696,7 @@ Send Post Request for Duplicated Subscription
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization": "
${AUTHORIZATION}
"}
${template}
=
Get File
jsons/CimSubscriptionRequest.json
${body_request}
=
Format String
${template}
callback_uri=
${callback_uri}
callback_endpoint=
${callback_endpoint}
POST
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body_request}
POST
${apiRoot}
/
${apiName}
/
${apiMajorVersion}
/subscriptions
${body_request}
allow_redirects=false
${output}
=
Output
response
Set Suite Variable
${response}
${output}
...
...
SOL011/NSInstanceUsageNotification-API/NSInstanceUsageNotificationKeywords.robot
View file @
0e3bb2dc
...
...
@@ -46,7 +46,7 @@ POST subscriptions
Set Headers
{"Content-Type": "
${CONTENT_TYPE}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":"
${AUTHORIZATION}
"}
${body}
=
Get File
jsons/NsInstanceUsageSubscriptionRequest.json
Post
${apiRoot}
/
${apiName}
/
${apiVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
...
...
@@ -57,7 +57,7 @@ POST subscriptions DUPLICATION
Set Headers
{"Content-Type": "
${CONTENT_TYPE}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":"
${AUTHORIZATION}
"}
${body}
=
Get File
jsons/NsInstanceUsageSubscriptionRequest.json
Post
${apiRoot}
/
${apiName}
/
${apiVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
...
...
@@ -68,7 +68,7 @@ POST subscriptions NO DUPLICATION
Set Headers
{"Content-Type": "
${CONTENT_TYPE}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":"
${AUTHORIZATION}
"}
${body}
=
Get File
jsons/NsInstanceUsageSubscriptionRequest.json
Post
${apiRoot}
/
${apiName}
/
${apiVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
...
...
SOL011/NSInstanceUsageNotification-API/Subscriptions.robot
View file @
0e3bb2dc
...
...
@@ -49,7 +49,6 @@ POST Create a new Subscription - NO-DUPLICATION
...
Applicability: Duplication NOT supported by NFVO-C
...
Post-Conditions: Duplicate subscription is not created in the NFVO
POST subscriptions NO DUPLICATION
Check Subscription Existence
Check HTTP Response Status Code Is
303
Check HTTP Response Header Contains
Location
Check Postcondition Subscription Is Set
...
...
SOL012/PolicyManagement-API/PolicyManagementKeywords.robot
View file @
0e3bb2dc
...
...
@@ -154,7 +154,7 @@ POST subscriptions
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
@@ -175,7 +175,7 @@ POST subscriptions NO DUPLICATION
&{notification_response}
=
Create Mock Response
status_code=204
Log
Issue the subscription request
Create Mock Expectation
${notification_request}
${notification_response}
Post
${apiRoot}
/
${apiName}
/
${apiVersion}
/subscriptions
${body}
Post
${apiRoot}
/
${apiName}
/
${apiVersion}
/subscriptions
${body}
allow_redirects=false
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
Clear Requests
${callback_endpoint}
...
...
SOL012/PolicyManagement-API/Subscriptions.robot
View file @
0e3bb2dc
...
...
@@ -31,7 +31,6 @@ POST Create a new Subscription - DUPLICATION NOT ALLOWED
...
Applicability: Duplication is not supported by NFVMANO.
...
Post-Conditions: Individual subscription resource returned in the location header is available.
POST subscriptions NO DUPLICATION
Check Subscription Existence
Check HTTP Response Status Code Is
303
Check HTTP Response Header Contains
Location
Check Postcondition Individual Subscription Resource Returned in Location Header Is Available
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment