...Test title: Get individual subscription to VNF performance indicators
...Test objective: The objective is to test the retrieval of individual VNF performance 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 VNF.
...Reference:section 8.4.6.3.2 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators
...Post-Conditions: none
Get Individual VNF Indicator Subscription
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsVnfIndicatorSubscription
GET Individual VNF Indicator Subscription with invalid resource identifier
[Documentation]Test ID: 6.3.2.5.2
...Test title: Get individual subscription to VNF performance indicators
...Test objective: The objective is to test that the retrieval of individual VNF performance indicator subscription 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 VNF indicator subscription is available in the VNF.
...Reference:section 8.4.6.3.2 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators
...Post-Conditions: none
GET Individual VNF Indicator Subscription with invalid resource identifier
Check HTTP Response Status Code Is404
Check HTTP Response Body Json Schema IsProblemDetails
DELETE Individual VNF Indicator Subscription
[Documentation]Test ID: 6.3.2.5.3
...Test title: Delete individual subscription to VNF performance indicators
...Test objective: The objective is to test the deletion of an individual VNF performance indicator subscription.
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNF.
...Reference:section 8.4.6.3.5 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators
...Post-Conditions: The subscription to VNF performance indicators is deleted
Send Delete Request for Individual VNF Indicator Subscription
Check HTTP Response Status Code Is204
Check Postcondition Individual VNF Indicator Subscription is Deleted
DELETE Individual VNF Indicator Subscription with invalid resource identifier
[Documentation]Test ID: 6.3.2.5.4
...Test title: Delete individual subscription to VNF performance indicators
...Test objective: The objective is to test that the deletion of an individual VNF performance indicator subscription 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 VNF indicator subscription is available in the VNF.
...Reference:section 8.4.6.3.5 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators
...Post-Conditions: none
Send Delete Request for Individual VNF Indicator Subscription with invalid resource identifier
Check HTTP Response Status Code Is404
Check HTTP Response Body Json Schema IsProblemDetails
PUT Individual VNF Indicator Subscription - Method not implemented
[Documentation]Test ID 6.3.2.5.5
...Test title: PUT individual VNF indicator subscription - Method not implemented
...Test objective: The objective is to test that PUT method is not allowed to modify an individual VNF performance indicator subscription
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNF.
...Reference: section 8.4.5.3.3 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators.
...Post-Conditions: The individual VNF indicator subscription is not modified by the operation
Send Put Request for Individual VNF Indicator Subscription
...Test title: Get all subscriptions to VNF performance indicators
...Test objective: The objective is to test the retrieval of all VNF performance indicators 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 VNF.
...Reference:section 8.4.5.3.2 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators
...Post-Conditions: none
Get VNF Indicators Subscriptions
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsVnfIndicatorSubscriptions
GET VNF Indicators Subscriptions with attribute-based filter
[Documentation]Test ID: 6.3.2.4.2
...Test title: Get all subscriptions to VNF performance indicators with attribute-based filter
...Test objective: The objective is to test the retrieval of all VNF performance indicators subscriptions using attribute-based filter and perform a JSON schema and content validation of the returned subscriptions data structure
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNF.
...Reference:section 8.4.5.3.2 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators
...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 Matches Attribute-Based Filter
GET VNF Indicators Subscriptions with invalid attribute-based filter
[Documentation]Test ID: 6.3.2.4.3
...Test title: Get all subscriptions to VNF performance indicators with invalid attribute-based filter
...Test objective: The objective is to test that the retrieval of all VNF performance indicators subscriptions fails when using invalid attribute-based filter. The test also checks the JSON schema of the unsuccessful operation HTTP response.
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNF.
...Reference:section 8.4.5.3.2 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators
...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
[Documentation]Test ID 6.3.2.4.4
...Test title: Get all subscriptions to VNF performance indicators with invalid resource endpoint
...Test objective: The objective is to test that the retrieval of all VNF performance indicators subscriptions fails when using invalid resource endpoint. The test also checks the JSON schema of the unsuccessful operation HTTP response.
...Pre-conditions: A VNF instance is up and running. At least one VNF indicator subscription is available in the VNF.
...Reference: section 8.4.5.3.2 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators.
...Post-Conditions: none
Get VNF Indicators Subscriptions with invalid resource endpoint
Check HTTP Response Status Code Is404
Check HTTP Response Body Json Schema IsProblemDetails
POST VNF Indicator Subscription
[Documentation]Test ID 6.3.2.4.5
...Test title: Create a new VNF performance indicator subscription
...Test objective: The objective is to test the creation of a new VNF performance indicator subscription perform a JSON schema and content validation of the returned subscriptions data structure
...Pre-conditions: A VNF instance is up and running
...Reference: section 8.4.5.3.1 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators.
...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 Performance Indicator Subscription Is Set
PUT VNF Indicator Subscriptions - Method not implemented
[Documentation]Test ID 6.3.2.4.6
...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 performance indicator subscriptions
...Pre-conditions: A VNF instance is instantiated.
...Reference: section 8.4.5.3.3 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators.
...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 6.3.2.4.7
...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 performance indicator subscriptions
...Pre-conditions: A VNF instance is instantiated.
...Reference: section 8.4.5.3.4 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators.
...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 6.3.2.4.8
...Test title: DELETE VNF indicator subscriptions - Method not implemented
...Test objective: The objective is to test that PUT method is not allowed to delete VNF performance indicator subscriptions
...Pre-conditions: A VNF instance is instantiated.
...Reference: section 8.4.5.3.5 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators.
...Post-Conditions: none
Send Delete Request for VNF Indicator Subscriptions