@@ -92,6 +93,30 @@ POST Individual VNF Indicator Subscription - Method not implemented
...Post-Conditions: none
Send Post Request for Individual VNF Indicator Subscription
Check HTTP Response Status Code Is405
GET Individual VNF Indicator Subscription with permitted authorization scope
[Documentation]Test ID: 6.3.2.5.8
...Test title: Get individual subscription to VNF performance indicators with permitted authorization scope
...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: Clause 8.4.6.3.2 - ETSI GS NFV-SOL 002 [2] v4.5.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 permitted authorization scope
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsVnfIndicatorSubscription
GET Individual VNF Indicator Subscription with NOT permitted authorization scope
[Documentation]Test ID: 6.3.2.5.9
...Test title: Get individual subscription to VNF performance indicators with NOT permitted authorization scope
...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: Clause 8.4.6.3.2 - ETSI GS NFV-SOL 002 [2] v4.5.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 not permitted authorization scope
Check HTTP Response Status Code Is403
Check HTTP Response Body Json Schema IsProblemDetails
Get Individual Indicator for VNF Instance with permitted authorization scope
[Documentation]Test ID: 6.3.2.3.13
...Test title: Get individual performance indicator for a VNF instance with permitted authorization scope
...Test objective: The objective is to test the retrieval of a performance 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 performance indicator is available for the given VNF instance.
...Reference: Clause 8.4.4.3.2 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators
...Post-Conditions: none
Get Individual Indicator for a VNF instance with permitted authorization scope
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 Indicator for VNF Instance with NOT permitted authorization scope
[Documentation]Test ID: 6.3.2.3.13
...Test title: Get individual performance indicator for a VNF instance with NOT permitted authorization scope
...Test objective: The objective is to test the retrieval of a performance 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 performance indicator is available for the given VNF instance.
...Reference: Clause 8.4.4.3.2 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators
...Post-Conditions: none
Get Individual Indicator for a VNF instance with not permitted authorization scope
Check HTTP Response Status Code Is403
Check HTTP Response Body Json Schema IsProblemDetails
*** Keywords ***
Get Individual Indicator for a VNF instance
@@ -279,3 +306,27 @@ Send DELETE Request for individual indicator
GET VNF Indicators Subscriptions with permitted authorization scope
[Documentation]Test ID: 6.3.2.4.14
...Test title: GET VNF Indicators Subscriptions with permitted authorization scope
...Test objective: The objective is to test the retrieval of all VNF 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: Clause 8.4.5.3.2 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of indicators
...Post-Conditions: none
Get VNF Indicators Subscriptions with permitted authorization scope
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsVnfIndicatorSubscriptions
GET VNF Indicators Subscriptions with NOT permitted authorization scope
[Documentation]Test ID: 6.3.2.4.15
...Test title: GET VNF Indicators Subscriptions with not permitted authorization scope
...Test objective: The objective is to test the retrieval of all VNF 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: Clause 8.4.5.3.2 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of indicators
...Post-Conditions: none
Get VNF Indicators Subscriptions with not permitted authorization scope
Check HTTP Response Status Code Is403
Check HTTP Response Body Json Schema IsProblemDetails
*** Keywords ***
Get VNF Indicators Subscriptions
@@ -368,3 +393,27 @@ Post Create subscription - NO-DUPLICATION
Check Operation Occurrence Id
${vnfLcmOpOccId}=Get Value From Json${response['headers']}$..Location
@@ -172,7 +173,30 @@ Get VNF Indicators - Bad Request Response too Big
Get all VNF indicators
Check HTTP Response Status Code Is400
Check HTTP Response Body Json Schema IsProblemDetails
Get all VNF Indicators with permitted authorization scope
[Documentation]Test ID: 6.3.2.1.14
...Test title: Get all VNF Indicators with permitted authorization scope
...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: Clause 8.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators.
...Post-Conditions: none
Get all VNF indicators with permitted authorization scope
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsvnfIndicators
Get all VNF Indicators with not permitted authorization scope
[Documentation]Test ID: 6.3.2.1.15
...Test title: Get all VNF Indicators with not permitted authorization scope
...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: Clause 8.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators.
...Post-Conditions: none
Get all VNF indicators with not permitted authorization scope
Check HTTP Response Status Code Is403
Check HTTP Response Body Json Schema IsProblemDetails
*** Keywords ***
Get all VNF indicators
LogThe GET method queries multiple VNF indicators
@@ -302,3 +326,29 @@ Check HTTP Response Body vnfIndicators Matches the requested attribute-based fil
Check HTTP Response Header Contain Link
${linkURL}=Get Value From Json${response['headers']}$..Link
@@ -134,6 +135,31 @@ Get Indicators for VNF Instance - Bad Request Response too Big
Get all indicators for a VNF instance
Check HTTP Response Status Code Is400
Check HTTP Response Body Json Schema IsProblemDetails
Get Indicators for VNF Instance with permitted authorization scope
[Documentation]Test ID: 6.3.2.2.11
...Test title: Get all performance indicators for a VNF instance
...Test objective: The objective is to test the retrieval of all performance indicators for a given VNF instance and perform a JSON schema validation of the returned indicators data structure
...Pre-conditions: A VNF instance is instantiated. One or more measures of performance indicators are available for the given VNF instance.
...Reference: Clause 8.4.3.3.2 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators
...Post-Conditions: none
Get all indicators for a VNF instance with permitted authorization scope
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsvnfIndicators
Check HTTP Response Body Includes Requested VNF Instance ID
Get Indicators for VNF Instance with NOT permitted authorization scope
[Documentation]Test ID: 6.3.2.2.11
...Test title: Get all performance indicators for a VNF instance
...Test objective: The objective is to test the retrieval of all performance indicators for a given VNF instance and perform a JSON schema validation of the returned indicators data structure
...Pre-conditions: A VNF instance is instantiated. One or more measures of performance indicators are available for the given VNF instance.
...Reference: Clause 8.4.3.3.2 - ETSI GS NFV-SOL 002 [2] v4.5.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators
...Post-Conditions: none
Get all indicators for a VNF instance with not permitted authorization scope
Check HTTP Response Status Code Is403
Check HTTP Response Body Json Schema IsProblemDetails