diff --git a/SOL002/VNFPerformanceManagement-API/VNFPerformanceManagementKeywords.robot b/SOL002/VNFPerformanceManagement-API/VNFPerformanceManagementKeywords.robot index a48fdb7ed3fe1badfb17dc040278df8b749947ad..11f17fb7fffa7fd75ad0637e4f750b505d8081b4 100644 --- a/SOL002/VNFPerformanceManagement-API/VNFPerformanceManagementKeywords.robot +++ b/SOL002/VNFPerformanceManagement-API/VNFPerformanceManagementKeywords.robot @@ -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 diff --git a/SOL003/VNFIndicator-API/VNFIndicatorsKeywords.robot b/SOL003/VNFIndicator-API/VNFIndicatorsKeywords.robot index caedee1f8ed33c9c9ac0d3a49f8a3a21d0b88cd9..426ba2c0c8709fb209429ef734be1c7949621d44 100644 --- a/SOL003/VNFIndicator-API/VNFIndicatorsKeywords.robot +++ b/SOL003/VNFIndicator-API/VNFIndicatorsKeywords.robot @@ -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} diff --git a/SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot b/SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot index ed9ef1ddb390ef3654a2b1cf48263d112c732be1..62bd86a74750df598a7c503898e48b46096ccb3f 100644 --- a/SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot +++ b/SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot @@ -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 diff --git a/SOL005/NSDManagement-API/NSDManagementKeywords.robot b/SOL005/NSDManagement-API/NSDManagementKeywords.robot index 0b489eeb672be109d968ce1dce8fd3cb5fe103ee..bbdc8f7c69f19c425192bc2b181490d11d9ba979 100644 --- a/SOL005/NSDManagement-API/NSDManagementKeywords.robot +++ b/SOL005/NSDManagement-API/NSDManagementKeywords.robot @@ -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 diff --git a/SOL005/NSPerformanceManagement-API/NSPerformanceManagementKeywords.robot b/SOL005/NSPerformanceManagement-API/NSPerformanceManagementKeywords.robot index 6312c1b0865ebd94d00cb2f7861f0afd3886877b..e688ea43657d87aba40bf3f9c4b2ed637e245fcf 100644 --- a/SOL005/NSPerformanceManagement-API/NSPerformanceManagementKeywords.robot +++ b/SOL005/NSPerformanceManagement-API/NSPerformanceManagementKeywords.robot @@ -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 diff --git a/SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot b/SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot index 92e35285d3206537d470597285878682100468bc..618ef76f76a8ed4afdd044a1c55fe21b08b96459 100644 --- a/SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot +++ b/SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot @@ -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