@@ -34,7 +34,7 @@ Get VNF Indicators with attribute-based filter
Check HTTP Response Body Json Schema IsvnfIndicators
Check HTTP Response Body vnfIndicators Matches the requested attribute-based filter
Get all VNF Indicators with invalid attribute-based filter
Get VNF Indicators with invalid attribute-based filter
[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 when using invalid attribute-based filters, and perform the JSON schema validation of the failed operation HTTP response.
@@ -121,7 +121,7 @@ PUT all VNF Indicators - Method not implemented
PATCH all VNF Indicators - Method not implemented
[Documentation]Test ID: 6.3.2.1.10
...Test title: POST all VNF Indicators - Method not implemented
...Test title: PATCH all VNF Indicators - Method not implemented
...Test objective: The objective is to test that PATCH method is not allowed to update VNF indicators
...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.4 - SOL002 v2.4.1
@@ -133,7 +133,7 @@ PATCH all VNF Indicators - Method not implemented
DELETE all VNF Indicators - Method not implemented
[Documentation]Test ID: 6.3.2.1.11
...Test title: POST all VNF Indicators - Method not implemented
...Test title: DELETE all VNF Indicators - Method not implemented
...Test objective: The objective is to test that DELETE method is not allowed to delete VNF indicators
...Pre-conditions: A VNF instance is instantiated. One or more measures of VNF performance indicators are available in the VNF
...Test title: GET Individual VNF Indicator Subscription
...Test objective: The objective is to test the retrieval of individual VNF indicator subscription and perform a JSON schema validation of the returned subscription data structure
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNFM.
...Reference:section 8.4.6.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Get Individual VNF Indicator Subscription
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsVnfIndicatorSubscription
GET Subscription - Negative (Not Found)
LogTrying to perform a request on a subscriptionID which doesn't exist
Set Headers{"Accept": "${ACCEPT_JSON}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
GET Individual VNF Indicator Subscription with invalid resource identifier
[Documentation]Test ID: 7.3.6.5.2
...Test title: GET Individual VNF Indicator Subscription with invalid resource identifier
...Test objective: The objective is to test that the retrieval of individual VNF indicator subscription fails when using an invalid resource identifier.
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNFM.
...Reference:section 8.4.6.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
GET Individual VNF Indicator Subscription with invalid resource identifier
Check HTTP Response Status Code Is404
GET Subscription - Negative (Unauthorized: Wrong Token)
LogTrying to perform a negative get, using wrong authorization bearer
Pass Execution If${AUTH_USAGE}== 0Skipping test as VNFM is not supporting authentication
...Test objective: The objective is to test that the deletion of an individual VNF indicator subscription fails when using an invalid resource identifier.
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNFM.
...Reference:section 8.4.6.3.5 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Send Delete Request for Individual VNF Indicator Subscription with invalid resource identifier
Check HTTP Response Status Code Is404
DELETE Subscription - Negative (Not Found)
LogTrying to perform a DELETE on a subscriptionId which doesn't exist
Set Headers{"Accept": "${ACCEPT_JSON}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
...Test title: Get Individual Indicator for VNF Instance
...Test objective: The objective is to test the retrieval of an indicator for a given VNF instance and perform a JSON schema validation of the returned indicator data structure
...Pre-conditions: A VNF instance is instantiated. At least one measure of VNF indicator is available in the VNFM.
...Reference:section 8.4.4.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Get Individual Indicator for a VNF instance
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsvnfIndicator
Check HTTP Response Body Includes Requested VNF Instance ID
Check HTTP Response Body Includes Requested Indicator ID
GET Individual VNF Indicator - Negative (Not Found)
LogTrying to perform a negative get, using an erroneous package ID
Set Headers{"Accept": "${ACCEPT_JSON}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
Get Individual Indicator for VNF Instance with invalid indicator identifier
[Documentation]Test ID: 7.3.6.3.2
...Test title: Get Individual Indicator for VNF Instance with invalid indicator identifier
...Test objective: The objective is to test that the retrieval of an indicator for a given VNF instance fails when using an invalid resource identifier. The test also checks the JSON schema of the unsuccessful operation HTTP response.
...Pre-conditions: A VNF instance is instantiated. At least one measure of VNF indicator is available in the VNFM.
...Reference: section 8.4.4.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Get Individual Indicator for a VNF instance with invalid indicator identifier
Check HTTP Response Status Code Is404
GET Individual VNF Indicator - Negative (Unauthorized: Wrong Token)
LogTrying to perform a negative get, using wrong authorization bearer
Pass Execution If${AUTH_USAGE}== 0Skipping test as VNFM is not supporting authentication
Set Headers{"Accept" : "${ACCEPT_JSON}"}
Set Headers{"Authorization": "${NEG_AUTHORIZATION}"}