...Test title: GET Individual VNF Performance Subscription
...Test objective: The objective is to test the retrieval of individual VNF performance subscription and perform a JSON schema and content validation of the returned subscription data structure
...Pre-conditions: A VNF instance is instantiated. At least one VNF performance subscription is available in the VNFM.
...Reference: Clause 6.4.8.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Get Individual VNF Performance Subscription
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPmSubscription
Check HTTP Response Body Subscription Identifier matches the requested Subscription
GET Individual VNF Performance Subscription with invalid resource identifier
[Documentation]Test ID: 7.3.4.7.2
...Test title: GET Individual VNF Performance Subscription with invalid resource identifier
...Test objective: The objective is to test that the retrieval of an individual VNF performance subscription fails when using an invalid resource identifier
...Pre-conditions: A VNF instance is instantiated. At least one VNF performance subscription is available in the VNFM.
...Reference: Clause 6.4.8.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
GET individual VNF Performance Subscription with invalid resource identifier
...Test objective: The objective is to test that the deletion of an individual VNF performance subscription fails when using an invalid resource identifier
...Pre-conditions: A VNF instance is instantiated. At least one VNF performance subscription is available in the VNFM.
...Reference: Clause 6.4.8.3.5 - ETSI GS NFV-SOL 003 [1] v2.6.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Send Delete request for individual VNF Performance Subscription with invalid resource identifier
Check HTTP Response Status Code Is404
POST Individual VNF Performance Subscription - Method not implemented
[Documentation]Test ID: 7.3.4.7.5
...Test title: POST Individual VNF Performance Subscription - Method not implemented
...Test objective: The objective is to test that POST method is not allowed to create a new VNF Performance Subscription
...Pre-conditions: A VNF instance is instantiated
...Reference: Clause 6.4.8.3.1 - ETSI GS NFV-SOL 003 [1] v2.6.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: The VNF Performance Subscription is not created on the VNFM
Send Post request for individual VNF Performance Subscription
Check HTTP Response Status Code Is405
Check Postcondition VNF Performance Subscription is not Created
PUT Individual VNF Performance Subscription - Method not implemented
[Documentation]Test ID: 7.3.4.7.6
...Test title: PUT Individual VNF Performance Subscription - Method not implemented
...Test objective: The objective is to test that PUT method is not allowed to update an existing VNF Performance subscription
...Pre-conditions: A VNF instance is instantiated. At least one VNF performance subscription is available in the VNFM.
...Reference: Clause 6.4.8.3.3 - ETSI GS NFV-SOL 003 [1] v2.6.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: The VNF Performance subscription is not modified by the operation
Send Put request for individual VNF Performance Threshold
Check HTTP Response Status Code Is405
Check Postcondition VNF Performance Subscription is Unmodified (Implicit)
PATCH Individual VNF Performance Subscription - Method not implemented
@@ -195,6 +195,20 @@ GET VNF Performance Monitoring Jobs - Bad Request Response too Big
Check HTTP Response Status Code Is400
Check HTTP Response Body Json Schema IsProblemDetails
GET all VNF Performance Monitoring Jobs with fields and exclude_default attribute selector
[Documentation]Test ID: 7.3.4.1.15
...Test title: GET all VNF Performance Monitoring Jobs with fields and exclude_default attribute selector
...Test objective: The objective is to test the retrieval of all VNF performance monitoring jobs fields and exclude_default attribute selector, perform a JSON schema validation of the collected jobs data structure, and verify that the retrieved information matches the issued fields selector
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNF.
...Reference: Clause 6.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
...Config ID: Config_prod_VNFM
...Applicability: The VNFM supports the use of fields and exclude_fields attribute selector
...Post-Conditions: none
GET VNF Performance Monitoring Jobs with fields and exclude_default attribute selector
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPmJobs
Check HTTP Response Body PmJobs Matches the requested fields selector
*** Keywords ***
GET all VNF Performance Monitoring Jobs
LogTrying to get all PM Jobs present in the VNFM
@@ -237,6 +251,15 @@ GET VNF Performance Monitoring Jobs with fields attribute selector
${output}=Outputresponse
Set Suite Variable${response}${output}
GET VNF Performance Monitoring Jobs with fields and exclude_default attribute selector
LogTrying to get all VNF Packages present in the VNFM, using filter params
Pass Execution If${FIELD_USAGE}== 0Skipping test as VNFM is not supporting 'fields'
Set Headers{"Accept": "${ACCEPT_JSON}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}