Commit 8f8f9bac authored by root's avatar root Committed by Michele Carignani
Browse files

bug-fixes

parent 5ccf1c2a
......@@ -266,7 +266,7 @@ POST Subscription
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Send POST Request for duplicated subscription
POST Subscription Duplication permitted
Log Create subscription instance by POST to ${apiRoot}/${apiName}/${apiVersion}/subscriptions
Pass Execution If ${VNFM_DUPLICATION} == 0 NVFO is not permitting duplication. Skipping the test
Set Headers {"Accept":"${ACCEPT}"}
......@@ -277,7 +277,7 @@ Send POST Request for duplicated subscription
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Send POST Request for duplicated subscription not permitted
POST Subscription Duplication not permitted
Log Create subscription instance by POST to ${apiRoot}/${apiName}/${apiVersion}/subscriptions
Pass Execution If ${VNFM_DUPLICATION} == 1 NVFO is not permitting duplication. Skipping the test
Set Headers {"Accept":"${ACCEPT}"}
......
......@@ -33,7 +33,7 @@ Create a new alarm subscription - DUPLICATION
... Config ID: Config_prod_VNFM
... Applicability: the NFVO allows creating a subscription resource if another subscription resource with the same filter and callbackUri already exists
... Post-Conditions: duplicated subscription is created
Send POST Request for duplicated subscription
POST Subscription Duplication permitted
Check HTTP Response Status Code Is 201
Check Operation Occurrence Id
Check HTTP Response Body Json Schema Is FmSubscription
......@@ -48,7 +48,7 @@ Create a new alarm subscription - NO DUPLICATION
... Config ID: Config_prod_VNFM
... Applicability: the NFVO decides to not create a duplicate subscription resource
... Post-Conditions: duplicated subscription is not created
Send POST Request for duplicated subscription not permitted
POST Subscription Duplication not permitted
Check HTTP Response Status Code Is 303
Check Operation Occurrence Id
Check Postcondition Subscription Resource Returned in Location Header Is Available
......
......@@ -1149,6 +1149,10 @@ GET test endpoint
Verify Mock Expectation ${req}
Clear Requests ${callback_endpoint}
Verify Resources not Deleted
GET multiple vnfInstances
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is vnfInstances
log Trying to get information about an individual VNF instance
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
Get ${apiRoot}/${apiName}/${apiVersion}/vnf_instances/${response['body']['id']}
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
......@@ -158,7 +158,7 @@ Check resource existence
Get ${apiRoot}/${apiName}/${apiVersion}/ns_instances/${nsInstanceId}
Integer response status 200
Check Postcondition NS Instance is not crerated
Check Postcondition NS Instance is not created
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
......
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