Loading SOL003/VNFFaultManagement-API/FaultManagement-APIKeyword.robot +12 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,18 @@ Check HTTP Response Header ContentType is Should Be Equal ${response[0]['headers']['Content-Type']} ${expected_contentType} Log Content Type validated Check Postcondition Subscription Resource Returned in Location Header Is Available Log Going to check postcondition Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} GET ${response['headers']['Location']} Integer response status 200 Log Received a 200 OK as expected ${contentType}= Output response headers Content-Type Should Contain ${contentType} application/json ${result}= Output response body Validate Json FMSubscription.schema.json ${result} Log Validated FMSubscription schema Send POST request for fault management Alarms log Trying to perform a POST. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading SOL003/VNFFaultManagement-API/Subscriptions.robot +2 −2 Original line number Diff line number Diff line Loading @@ -37,6 +37,7 @@ Create a new alarm subscription - DUPLICATION Check HTTP Response Status Code Is 201 Check Operation Occurrence Id Check HTTP Response Body Json Schema Is FmSubscription Check created Subscription existance Create a new alarm subscription - NO DUPLICATION [Documentation] Test ID: 7.3.5.3.3 Loading @@ -50,8 +51,7 @@ Create a new alarm subscription - NO DUPLICATION POST Subscription Duplication not permitted Check HTTP Response Status Code Is 303 Check Operation Occurrence Id Check HTTP Response Body Json Schema Is FmSubscription Check created Subscription existance Check Postcondition Subscription Resource Returned in Location Header Is Available Retrieve a list of alarm subscriptions [Documentation] Test ID: 7.3.5.3.4 Loading Loading
SOL003/VNFFaultManagement-API/FaultManagement-APIKeyword.robot +12 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,18 @@ Check HTTP Response Header ContentType is Should Be Equal ${response[0]['headers']['Content-Type']} ${expected_contentType} Log Content Type validated Check Postcondition Subscription Resource Returned in Location Header Is Available Log Going to check postcondition Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} GET ${response['headers']['Location']} Integer response status 200 Log Received a 200 OK as expected ${contentType}= Output response headers Content-Type Should Contain ${contentType} application/json ${result}= Output response body Validate Json FMSubscription.schema.json ${result} Log Validated FMSubscription schema Send POST request for fault management Alarms log Trying to perform a POST. This method should not be implemented Set Headers {"Accept":"${ACCEPT}"} Loading
SOL003/VNFFaultManagement-API/Subscriptions.robot +2 −2 Original line number Diff line number Diff line Loading @@ -37,6 +37,7 @@ Create a new alarm subscription - DUPLICATION Check HTTP Response Status Code Is 201 Check Operation Occurrence Id Check HTTP Response Body Json Schema Is FmSubscription Check created Subscription existance Create a new alarm subscription - NO DUPLICATION [Documentation] Test ID: 7.3.5.3.3 Loading @@ -50,8 +51,7 @@ Create a new alarm subscription - NO DUPLICATION POST Subscription Duplication not permitted Check HTTP Response Status Code Is 303 Check Operation Occurrence Id Check HTTP Response Body Json Schema Is FmSubscription Check created Subscription existance Check Postcondition Subscription Resource Returned in Location Header Is Available Retrieve a list of alarm subscriptions [Documentation] Test ID: 7.3.5.3.4 Loading