...Test objective: The objective is to test the retrieval of an individual NS Performance monitoring job and perform a JSON schema and content validation of the collected job data structure
...Pre-conditions: A NS instance is instantiated. One or more NS Performance jobs are set in the NFVO.
...Reference: section 7.4.3.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
GET individual NS Performance Job
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPmJob
Check HTTP Response Body Pm Job Identifier matches the requested Pm Job
GET Individual PM Job - Negative (Not Found)
LogTrying to perform a negative get, using erroneous PM Job identifier
Set Headers{"Accept": "${ACCEPT_JSON}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
GET individual NS Performance Job with invalid resource identifier
[Documentation]Test ID: 5.3.4.2.2
...Test title: Get individual NS Performance Job with invalid resource identifier
...Test objective: The objective is to test that the retrieval of an individual NS Performance monitoring job fails when using an invalid resource identifier, and perform the JSON schema validation of the failed operation HTTP response
...Pre-conditions: A NS instance is instantiated. One or more NS Performance jobs are set in the NFVO.
...Reference: section 7.4.3.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
GET individual NS Performance Job with invalid resource identifier
Check HTTP Response Status Code Is404
Check HTTP Response Body Json Schema IsProblemDetails
DELETE Individual PM Job
LogTrying to delete an existing PM Job
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
...Test objective: The objective is to test that the deletion of an individual NS Performance monitoring job fails when using an invalid resource identifier
...Pre-conditions: A NS instance is instantiated. One or more NS Performance jobs are set in the NFVO.
...Reference: section 7.4.3.3.5 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send Delete request for individual NS Performance Job with invalid resource identifier
Check HTTP Response Status Code Is404
DELETE Individual PM Job - Negative (Not Found)
LogTrying to delete an existing PM Job
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}