Loading SOL002/VNFFaultManagement-API/Subscriptions.robot +12 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ Create a new subscription Check HTTP Response Body Json Schema Is FmSubscription Check HTTP Response Header Contain Link Check Postcondition resource exists Check Postcondition Resource Returned in Location Header Is Available Create a duplicated Subscription [Documentation] Test ID: 6.3.4.4.2 Loading Loading @@ -315,6 +316,8 @@ Create a new subscription with permitted authorization scope Check HTTP Response Body Json Schema Is FmSubscription Check HTTP Response Header Contain Link Check Postcondition resource exists Check HTTP Response Header Contains Location Check Postcondition Resource Returned in Location Header Is Available Create a new subscription with not permitted authorization scope [Documentation] Test ID: 6.3.4.4.24 ... Test title: Create a new subscription with not permitted authorization scope Loading Loading @@ -565,6 +568,15 @@ Check Postcondition resource exists Get ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions/${subscriptionId} Integer response status 200 Check Postcondition Resource Returned in Location Header Is Available Log Fetching resource pointed by Location header GET ${response['headers']['Location']} Integer response status 200 ${contentType}= Output response headers Content-Type Should Contain ${contentType} application/json ${result}= Output response body Validate Json schemas/FmSubscription.schema.json ${result} Log Subscription resource validated Check Postcondition Duplicate Subscription exsist Should Not Be Equal As Strings ${response['body']['callbackUri']} ${subscriptionId} Loading Loading
SOL002/VNFFaultManagement-API/Subscriptions.robot +12 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ Create a new subscription Check HTTP Response Body Json Schema Is FmSubscription Check HTTP Response Header Contain Link Check Postcondition resource exists Check Postcondition Resource Returned in Location Header Is Available Create a duplicated Subscription [Documentation] Test ID: 6.3.4.4.2 Loading Loading @@ -315,6 +316,8 @@ Create a new subscription with permitted authorization scope Check HTTP Response Body Json Schema Is FmSubscription Check HTTP Response Header Contain Link Check Postcondition resource exists Check HTTP Response Header Contains Location Check Postcondition Resource Returned in Location Header Is Available Create a new subscription with not permitted authorization scope [Documentation] Test ID: 6.3.4.4.24 ... Test title: Create a new subscription with not permitted authorization scope Loading Loading @@ -565,6 +568,15 @@ Check Postcondition resource exists Get ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions/${subscriptionId} Integer response status 200 Check Postcondition Resource Returned in Location Header Is Available Log Fetching resource pointed by Location header GET ${response['headers']['Location']} Integer response status 200 ${contentType}= Output response headers Content-Type Should Contain ${contentType} application/json ${result}= Output response body Validate Json schemas/FmSubscription.schema.json ${result} Log Subscription resource validated Check Postcondition Duplicate Subscription exsist Should Not Be Equal As Strings ${response['body']['callbackUri']} ${subscriptionId} Loading