LogTrying to get a Pm Job present in the NFVO Catalogue
[Documentation]Test ID: 5.3.4.2.1
Set Headers{"Accept": "${ACCEPT_JSON}"}
...Test title: Get individual NS Performance Job
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
...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
Check HTTP Response Body Pm Job Identifier matches the requested Pm Job
GET Individual PM Job - Negative (Not Found)
GET individual NS Performance Job with invalid resource identifier
LogTrying to perform a negative get, using erroneous PM Job identifier
[Documentation]Test ID: 5.3.4.2.2
Set Headers{"Accept": "${ACCEPT_JSON}"}
...Test title: Get individual NS Performance Job with invalid resource identifier
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
...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
...Test objective: The objective is to test that the deletion of an individual NS Performance monitoring job fails when using an invalid resource identifier
Integerresponse status204
...Pre-conditions: A NS instance is instantiated. One or more NS Performance jobs are set in the NFVO.
LogReceived 204 No Content as expected
...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)
POST Individual NS Performance Job - Method not implemented
LogTrying to delete an existing PM Job
[Documentation]Test ID: 5.3.4.2.4
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
...Test title: POST Individual NS Performance Job - method not implemented
[Documentation]The client can use this resource to read the performance report.
[Documentation]Test ID: 5.3.4.3.1
...The URI of this report can be obtained from a PerformanceInformationAvailableNotification
...Test title: Get Individual Performance Report
...(see clause 7.5.2.5) or from the representation of the "Individual PM job" resource
...Test objective: The objective is to test the retrieval of an individual NS performance report associated to a monitoring job and perform a JSON schema validation of the collected report data structure
Set Headers{"Accept": "${ACCEPT_JSON}"}
...Pre-conditions: A NS instance is instantiated. One or more NS performance reports are set for a monitoring job in the NFVO.
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
GET Report on Single PM Job - Negative (Not Found)
Get Individual Performance Report with invalid resource endpoint
[Documentation]The client can use this resource to read the performance report.
[Documentation]Test ID: 5.3.4.3.2
...The URI of this report can be obtained from a PerformanceInformationAvailableNotification
...Test title: Get Individual Performance Report with invalid resource endpoint
...(see clause 7.5.2.5) or from the representation of the "Individual PM job" resource
...Test objective:The objective is to test that the retrieval of an individual NS performance report associated to a monitoring job fails when using an invalid resource endpoint
Set Headers{"Accept": "${ACCEPT_JSON}"}
...Pre-conditions: A NS instance is instantiated. One or more NS performance reports are set for a monitoring job in the NFVO.
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}