...Test objective: The objective is to test the retrieval of all the available VNF indicators
...Pre-conditions: A VNF instance is up and running. One or more measures of VNF performance indicators are available in the VNF.
...Reference: section 8.4.2 - SOL002 v2.4.1
...Test objective: The objective is to test the retrieval of all the available VNF indicators and perform a JSON schema validation of the collected indicators data structure
...Pre-conditions: A VNF instance is instantiated. One or more measures of VNF performance indicators are available in the VNF.
...Reference: section 8.4.2.3.2 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators.
...Post-Conditions: The VNF indicators are not modified by the operation
...Post-Conditions: none
Get all VNF indicators
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsvnfIndicators
...Test title: Get VNF Indicators with attribute-based filter
...Test objective: The objective is to test the retrieval of VNF indicators using attribute-based filter
...Pre-conditions: A VNF instance is up and running. One or more measures of VNF performance indicators are available in the VNF.
...Reference: section 8.4.2 - SOL002 v2.4.1
...Test objective: The objective is to test the retrieval of VNF indicators using attribute-based filter, perform a JSON schema validation of the collected indicators data structure, and verify that the retrieved information matches the issued attribute-based filters
...Pre-conditions: A VNF instance is instantiated. One or more measures of VNF performance indicators are available in the VNF.
...Reference: section 8.4.2.3.2 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators.
...Post-Conditions: The VNF indicators are not modified by the operation
...Post-Conditions: none
Get VNF indicators with filter
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsvnfIndicators
Check HTTP Response Body Matches Attribute-Based Filter
Get all VNF Indicators with invalid attribute-based filter
[Documentation]Test ID 6.4.3
[Documentation]Test ID: 6.3.2.1.3
...Test title: Get VNF Indicators with invalid attribute-based filter
...Test objective: The objective is to test that the retrieval of VNF indicators fails using invalid attribute-based filters
...Pre-conditions: A VNF instance is up and running. One or more measures of VNF performance indicators are available in the VNF.
...Reference: section 8.4.2 - SOL002 v2.4.1
...Test objective: The objective is to test that the retrieval of VNF indicators fails using invalid attribute-based filters, and perform the JSON schema validation of the failed operation HTTP response.
...Pre-conditions: A VNF instance is instantiated. One or more measures of VNF performance indicators are available in the VNF.
...Reference: section 8.4.2.3.2 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators.
...Post-Conditions: The VNF indicators are not modified by the operation
...Post-Conditions: none
Get VNF indicators with invalid filter
Check HTTP Response Status Code Is400
Check HTTP Response Body Json Schema IsProblemDetails
Get all VNF Indicators with invalid authorization token
[Documentation]Test ID 6.4.4
[Documentation]Test ID: 6.3.2.1.4
...Test title: GET all VNF Indicators One or more measures of VNF performance indicators are available in the VNF.
...Test objective: The objective is to test that the retrieval of VNF indicators fails using invalid authorization token
...Pre-conditions: A VNF instance is up and running. One or more measures of VNF performance indicators are available in the VNF.
...Reference: section 8.4.2 - SOL002 v2.4.1
...Test objective: The objective is to test that the retrieval of VNF indicators fails using invalid authorization token, and perform the JSON schema validation of the failed operation HTTP response
...Pre-conditions: A VNF instance is instantiated. One or more measures of VNF performance indicators are available in the VNF.
Get all VNF Indicators without authorization token
[Documentation]Test ID 6.4.5
[Documentation]Test ID: 6.3.2.1.5
...Test title: GET all VNF Indicators without authorization bearers
...Test objective: The objective is to test that the retrieval of VNF indicators fails by omitting the authorization token
...Pre-conditions: A VNF instance is up and running. One or more measures of VNF performance indicators are available in the VNF.
...Reference: section 8.4.2 - SOL002 v2.4.1
...Test objective: The objective is to test that the retrieval of VNF indicators fails by omitting the authorization token, and perform the JSON schema validation of the failed operation HTTP response
...Pre-conditions: A VNF instance is instantiated. One or more measures of VNF performance indicators are available in the VNF.
Get all VNF Indicators with invalid resource endpoint
[Documentation]Test ID 6.4.6
[Documentation]Test ID: 6.3.2.1.6
...Test title: GET all VNF Indicators with invalid resource endpoint
...Test objective: The objective is to test that the retrieval of VNF indicators fails when using invalid resource endpoint
...Pre-conditions: A VNF instance is up and running. One or more measures of VNF performance indicators are available in the VNF.
...Reference: section 8.4.2 - SOL002 v2.4.1
...Test objective: The objective is to test that the retrieval of VNF indicators fails when using invalid resource endpoint, and perform the JSON schema validation of the failed operation HTTP response
...Pre-conditions: A VNF instance is instantiated. One or more measures of VNF performance indicators are available in the VNF.
...Reference: section 8.4.2.3.2 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators.
...Post-Conditions: The VNF indicators are not modified by the operation
...Post-Conditions: none
Get all VNF indicators with invalid resource endpoint
Check HTTP Response Status Code Is404
Check HTTP Response Body Json Schema IsProblemDetails