Commit 0c7c4488 authored by Elian Kraja's avatar Elian Kraja
Browse files

Fix issue #193

parent 5b1b0746
......@@ -318,7 +318,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Clear Requests ${callback_endpoint}
......@@ -338,7 +338,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Clear Requests ${callback_endpoint}
......@@ -358,7 +358,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Clear Requests ${callback_endpoint}
......
......@@ -779,7 +779,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Clear Requests ${callback_endpoint}
......@@ -799,7 +799,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Clear Requests ${callback_endpoint}
......@@ -819,7 +819,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Clear Requests ${callback_endpoint}
......
......@@ -114,7 +114,7 @@ Send Post Request for VNF Performance Subscription
&{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
${output}= Output response
Set Global Variable ${response} ${output}
Clear Requests ${callback_endpoint}
......@@ -142,7 +142,7 @@ Send Post Request for Duplicated VNF Performance Subscription
&{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
${output}= Output response
Set Global Variable ${response} ${output}
Clear Requests ${callback_endpoint}
......
......@@ -298,7 +298,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Clear Requests ${callback_endpoint}
......@@ -318,7 +318,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Clear Requests ${callback_endpoint}
......
......@@ -113,7 +113,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${output}= Output response
Set Global Variable ${response} ${output}
Clear Requests ${callback_endpoint}
......@@ -136,7 +136,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${output}= Output response
Set Global Variable ${response} ${output}
Clear Requests ${callback_endpoint}
......
......@@ -1233,7 +1233,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Clear Requests ${callback_endpoint}
......
......@@ -401,7 +401,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${output}= Output response
Set Global Variable ${response} ${output}
Clear Requests ${callback_endpoint}
......@@ -422,7 +422,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${output}= Output response
Set Global Variable ${response} ${output}
Clear Requests ${callback_endpoint}
......
......@@ -144,7 +144,7 @@ Send Post Request for Duplicated VNF Performance Subscription
&{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
${output}= Output response
Set Global Variable ${response} ${output}
Clear Requests ${callback_endpoint}
......
......@@ -129,7 +129,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${output}= Output response
Set Global Variable ${response} ${output}
Clear Requests ${callback_endpoint}
......@@ -149,7 +149,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${output}= Output response
Set Global Variable ${response} ${output}
Clear Requests ${callback_endpoint}
......
......@@ -836,7 +836,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${output}= Output response
Set Global Variable ${response} ${output}
Clear Requests ${callback_endpoint}
......@@ -859,7 +859,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${output}= Output response
Set Global Variable ${response} ${output}
Clear Requests ${callback_endpoint}
......
......@@ -981,7 +981,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
Clear Requests ${callback_endpoint}
......@@ -1001,7 +1001,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}
......
......@@ -585,7 +585,7 @@ Send Post Request for NS Performance Subscription
&{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
${output}= Output response
Set Global Variable ${response} ${output}
Clear Requests ${callback_endpoint}
......@@ -614,7 +614,7 @@ Send Post Request for Duplicated NS Performance Subscription
&{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
${output}= Output response
Set Global Variable ${response} ${output}
Clear Requests ${callback_endpoint}
......
......@@ -769,7 +769,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${output}= Output response
Set Global Variable ${response} ${output}
Clear Requests ${callback_endpoint}
......@@ -791,7 +791,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}/${apiVersion}/subscriptions ${body}
Post ${apiRoot}/${apiName}/${apiVersion}/subscriptions ${body} allow_redirects=false
${output}= Output response
Set Global Variable ${response} ${output}
Clear Requests ${callback_endpoint}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment