Commit 40f8cf3b authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

fixes to low level code for subscriptions

parent 6fd15489
......@@ -310,6 +310,10 @@ Check Postcondition Subscription Resource Returned in Location Header Is Availab
${result}= Output response body
Validate Json PmSubscription.schema.json ${result}
Log Validated PmSubscription schema
${body}= Get File jsons/subscriptions.json
${subscription}= evaluate json.loads('''${body}''') json
Should Be Equal ${result['callbackUri']} ${subscription['callbackUri']}
Log Validated Issued subscription is same as original
Check Postcondition VNF Performance Subscriptions Exists
Log Checking that subscriptions exists
......
......@@ -214,6 +214,10 @@ Check Postcondition Subscription Resource Returned in Location Header Is Availab
${result}= Output response body
Validate Json VnfIndicatorSubscription.schema.json ${result}
Log Validated VnfIndicatorSubscription schema
${body}= Get File jsons/subscriptions.json
${subscription}= evaluate json.loads('''${body}''') json
Should Be Equal ${result['callbackUri']} ${subscription['callbackUri']}
Log Validated Issued subscription is same as original
Check HTTP Response Header Contains
[Arguments] ${CONTENT_TYPE}
......
......@@ -665,7 +665,11 @@ Check Postcondition Subscription Resource Returned in Location Header Is Availab
Should Contain ${contentType} application/json
${result}= Output response body
Validate Json PkgmSubscription.schema.json ${result}
Log Validated PkgmSubscription schema
Log Validated PkgmSubscription schema
${body}= Get File jsons/subscriptions.json
${subscription}= evaluate json.loads('''${body}''') json
Should Be Equal ${result['callbackUri']} ${subscription['callbackUri']}
Log Validated Issued subscription is same as original
Get Individual VNF Package Subscription
Log Trying to get a single subscription identified by subscriptionId
......
......@@ -924,6 +924,10 @@ Check Postcondition Subscription Resource Returned in Location Header Is Availab
${result}= Output response body
Validate Json NsdmSubscription.schema.json ${result}
Log Validated NsdmSubscription schema
${body}= Get File jsons/subscriptions.json
${subscription}= evaluate json.loads('''${body}''') json
Should Be Equal ${result['callbackUri']} ${subscription['callbackUri']}
Log Validated Issued subscription is same as original
Get Individual NSD Management Subscription
Log Trying to get a single subscription identified by subscriptionId
......
......@@ -685,6 +685,10 @@ Check Postcondition Subscription Resource URI Returned in Location Header Is Ava
${result}= Output response body
Validate Json PmSubscriptions.schema.json ${result}
Log Validated PmSubscriptions schema
${body}= Get File jsons/subscriptions.json
${subscription}= evaluate json.loads('''${body}''') json
Should Be Equal ${result['callbackUri']} ${subscription['callbackUri']}
Log Validated Issued subscription is same as original
Get Individual NS Performance Subscription
Log Trying to get a single subscription identified by subscriptionId
......
......@@ -801,7 +801,11 @@ Check Postcondition Subscription Resource Returned in Location Header Is Availab
Should Contain ${contentType} application/json
${result}= Output response body
Validate Json PkgmSubscription.schema.json ${result}
Log Validated PkgmSubscription schema
Log Validated PkgmSubscription schema
${body}= Get File jsons/subscriptions.json
${subscription}= evaluate json.loads('''${body}''') json
Should Be Equal ${result['callbackUri']} ${subscription['callbackUri']}
Log Validated Issued subscription is same as original
Get Individual VNF Package Subscription
Log Trying to get a single subscription identified by subscriptionId
......
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