@@ -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}"}
...Test title: GET All VNF Indicator Subscriptions
...Test objective: The objective is to test the retrieval of all VNF indicator subscriptions and perform a JSON schema validation of the returned subscriptions data structure
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNFM.
...Reference:section 8.4.5.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Get All VNF Indicators Subscriptions
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsVnfIndicatorSubscriptions
GET VNF Indicators Subscriptions with attribute-based filter
GET VNF Indicator Subscriptions with attribute-based filter
[Documentation]Test ID: 7.3.6.4.2
...Test title: GET VNF Indicator Subscriptions with attribute-based filter
...Test objective: The objective is to test the retrieval of VNF indicator subscriptions 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. At least one VNF indicator subscription is available in the VNFM.
...Reference:section 8.4.5.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Get VNF Indicators Subscriptions with filter
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsVnfIndicatorSubscriptions
Check HTTP Response Body Subscriptions Match the requested Attribute-Based Filter
GET VNF Indicators Subscriptions with invalid attribute-based filter
GET VNF Indicator Subscriptions with invalid attribute-based filter
[Documentation]Test ID: 7.3.6.4.3
...Test title: GET VNF Indicator Subscriptions with invalid attribute-based filter
...Test objective: The objective is to test that the retrieval of VNF indicator subscriptions fails when using invalid attribute-based filters, and perform the JSON schema validation of the failed operation HTTP response.
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNFM.
...Reference:section 8.4.5.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Get VNF Indicators Subscriptions with invalid filter
Check HTTP Response Status Code Is400
Check HTTP Response Body Json Schema IsProblemDetails
GET VNF Indicators Subscriptions with invalid resource endpoint
GET VNF Indicator Subscriptions with invalid resource endpoint
[Documentation]Test ID: 7.3.6.4.4
...Test title: GET VNF Indicator Subscriptions with invalid resource endpoint
...Test objective: The objective is to test that the retrieval of all VNF indicator subscriptions fails when using invalid resource endpoint.
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNFM.
...Reference:section 8.4.5.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Get VNF Indicators Subscriptions with invalid resource endpoint
Check HTTP Response Status Code Is404
GET VNF Indicators Subscriptions with invalid authentication token
Get VNF Indicators Subscriptions with invalid authentication token
Check HTTP Response Status Code Is401
Check HTTP Response Body Json Schema IsProblemDetails
Create new VNF indicator subscription
[Documentation]Test ID: 7.3.6.4.5
...Test title: Create new VNF indicator subscription
...Test objective: The objective is to test the creation of a new VNF indicator subscription and perform a JSON schema and content validation of the returned subscription data structure
...Pre-conditions: A VNF instance is instantiated.
...Reference: section 8.4.5.3.1 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: The VNF indicator subscription is successfully set and it matches the issued subscription
Send Post Request for VNF Indicator Subscription
Check HTTP Response Status Code Is201
Check HTTP Response Body Json Schema IsVnfIndicatorSubscription
Check HTTP Response Body Matches the Subscription
Check Postcondition VNF Indicator Subscription Is Set
Create duplicated VNF indicator subscription with duplication handler
Create duplicated VNF indicator subscription with VNFM not creating duplicated subscriptions
[Tags]no-duplicated-subs
[Documentation]Test ID: 7.3.6.4.6
...Test title: Create duplicated VNF indicator subscription with VNFM not creating duplicated subscriptions
...Test objective: The objective is to test the attempt of a creation of a duplicated VNF indicator subscription and check that no new subscription is created by the VNFM and a link to the original subscription is returned
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNFM.
...Reference: section 8.4.5.3.1 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: The VNFM does not support the creation of duplicated subscriptions
...Post-Conditions: The existing VNF indicator subscription returned is available in the VNFM
Send Post Request for Duplicated VNF indicator Subscription
Check HTTP Response Status Code Is303
Check HTTP Response Body Is Empty
Check HTTP Response Header ContainsLocation
Check Postcondition VNF indicator Subscription Is SetLocation
Create duplicated VNF indicator subscription without duplication handler
Check Postcondition Subscription Resource Returned in Location Header Is Available
Create duplicated VNF indicator subscription with VNFM creating duplicated subscriptions
...Test objective: The objective is to test the creation of a duplicated VNF indicator subscription and perform a JSON schema and content validation of the returned duplicated 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.5.3.1 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: The VNFM supports the creation of duplicated subscriptions
...Post-Conditions: The duplicated VNF indicator subscription is successfully set and it matches the issued subscription
Send Post Request for Duplicated VNF indicator Subscription
Check HTTP Response Status Code Is201
Check HTTP Response Body Json Schema IsPmSubscription
Check HTTP Response Body Matches the Subscription
Check Postcondition VNF indicator Subscription Is Set
PUT VNF Indicator Subscriptions - Method not implemented
[Documentation]TTest ID: 7.3.6.4.8
...Test title: PUT VNF Indicator Subscriptions - Method not implemented
...Test objective: The objective is to test that PUT method is not allowed to modify VNF indicator subscriptions
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNFM.
...Reference: section 8.4.5.3.3 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Send Put Request for VNF Indicator Subscriptions
Check HTTP Response Status Code Is405
PATCH VNF Indicator Subscriptions - Method not implemented
[Documentation]Test ID: 7.3.6.4.9
...Test title: PATCH VNF Indicator Subscriptions - Method not implemented
...Test objective: The objective is to test that PATCH method is not allowed to update VNF indicator subscriptions
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNFM.
...Reference: section 8.4.5.3.4 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Send Patch Request for VNF Indicator Subscriptions
Check HTTP Response Status Code Is405
DELETE VNF Indicator Subscriptions - Method not implemented
[Documentation]Test ID: 7.3.6.4.10
...Test title: DELETE VNF Indicator Subscriptions - Method not implemented
...Test objective: The objective is to test that DELETE method is not allowed to delete VNF indicators subscriptions
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNFM.
...Reference: section 8.4.5.3.5 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: The VNF indicator subscriptions are not deleted by the failed operation
Send Delete Request for VNF Indicator Subscriptions
...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 indicators are available in the VNFM.
...Reference: section 8.4.2.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Get all VNF indicators
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsvnfIndicators
Get VNF Indicators with attribute-based filter
[Documentation]Test ID: 7.3.6.1.2
...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, 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 indicators are available in the VNFM.
...Reference: section 8.4.2.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...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 vnfIndicators Matches the requested attribute-based filter