@@ -11,7 +11,7 @@ GET individual VNF Performance Job
...Test title: Get individual VNF Performance Job
...Test objective: The objective is to test the retrieval of an individual VNF performance monitoring job and perform a JSON schema and content validation of the collected job data structure
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNFM.
...Reference: Clause 6.4.3.3.2 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Reference: Clause 6.4.3.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
@@ -25,7 +25,7 @@ GET individual VNF Performance Job with invalid resource identifier
...Test title: Get individual VNF Performance Job with invalid resource identifier
...Test objective: The objective is to test that the retrieval of an individual VNF performance monitoring job fails when using an invalid resource identifier, and perform the JSON schema validation of the failed operation HTTP response
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNFM.
...Reference: Clause 6.4.3.3.2 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Reference: Clause 6.4.3.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Test objective: The objective is to test that PATCH method cannot modify an exsisting individual PM job resource when a request contains syntactically correct data but the data cannot be processed.
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNFM.
...Reference: Clause 6.4.3.3.4 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions:
Send Patch request for individual VNF Performance Job with unprocessable entity
Check HTTP Response Status Code Is422
Check HTTP Response Body Json Schema IsProblemDetails
*** Keywords ***
GET individual VNF Performance Job
LogTrying to get a Pm Job present in the NFVO Catalogue
...Test objective: The objective is to test the retrieval of an individual VNF performance threshold and perform a JSON schema and content validation of the collected threshold data structure
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance thresholds are set in the VNFM.
...Reference: Clause 6.4.6.3.2 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Reference: Clause 6.4.6.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
@@ -25,7 +26,7 @@ GET Individual Threshold with invalid resource identifier
...Test title: GET Individual Threshold with invalid resource identifier
...Test objective: The objective is to test that the retrieval of an individual VNF performance threshold fails when using an invalid resource identifier
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNFM.
...Reference: Clause 6.4.6.3.2 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Reference: Clause 6.4.6.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
@@ -38,7 +39,7 @@ DELETE Individual Threshold
...Test title: DELETE Individual Threshold
...Test objective: The objective is to test the deletion of an individual VNF performance threshold
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance thresholds are set in the VNFM.
...Reference: Clause 6.4.6.3.5 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Reference: Clause 6.4.6.3.5 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: The VNF Performance Threshold is not available anymore in the VNFM
...Test objective: The objective is to test that PATCH method cannot modify an individual threshold resource when a request contains syntactically correct data but the data cannot be processed.
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance thresholds are set in the VNFM.
...Reference: Clause 6.4.6.3.4 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Send Patch request for individual VNF Performance Threshold with unprocessable entity
Check HTTP Response Status Code Is422
Check HTTP Response Body Json Schema IsProblemDetails
@@ -13,7 +13,7 @@ GET all VNF Performance Monitoring Jobs
...Test title: GET all VNF Performance Monitoring Jobs
...Test objective: The objective is to test the retrieval of all the available VNF performance monitoring jobs and perform a JSON schema and content validation of the collected jobs data structure
...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.7.1
...Reference: Clause 6.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
@@ -27,7 +27,7 @@ GET VNF Performance Monitoring Jobs with attribute-based filter
...Test title: GET all VNF Performance Monitoring Jobs with attribute-based filter
...Test objective: The objective is to test the retrieval of VNF performance monitoring jobs using attribute-based filter, perform a JSON schema validation of the collected jobs data structure, and verify that the retrieved information matches the issued attribute-based filter
...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.7.1
...Reference: Clause 6.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
@@ -41,7 +41,7 @@ GET all VNF Performance Monitoring Jobs with all_fields attribute selector
...Test title: GET all VNF Performance Monitoring Jobs with all_fields attribute selector
...Test objective: The objective is to test the retrieval of all VNF performance monitoring jobs all_fields attribute selector, perform a JSON schema validation of the collected jobs data structure, and verify that the retrieved information matches the issued all_fileds 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.7.1
...Reference: Clause 6.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
@@ -55,7 +55,7 @@ GET all VNF Performance Monitoring Jobs with exclude_default attribute selector
...Test title: GET all VNF Performance Monitoring Jobs with exclude_default attribute selector
...Test objective: The objective is to test the retrieval of all VNF performance monitoring jobs exclude_default attribute selector, perform a JSON schema validation of the collected jobs data structure, and verify that the retrieved information matches the issued exclude_default 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.7.1
...Reference: Clause 6.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
@@ -69,7 +69,7 @@ GET all VNF Performance Monitoring Jobs with fields attribute selector
...Test title: GET all VNF Performance Monitoring Jobs with fields attribute selector
...Test objective: The objective is to test the retrieval of all VNF performance monitoring jobs fields 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.7.1
...Reference: Clause 6.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: The VNFM supports the use of exclude_fields attribute selector
...Post-Conditions: none
@@ -97,7 +97,7 @@ GET VNF Performance Monitoring Jobs with invalid attribute-based filter
...Test title: GET VNF Performance Monitoring Jobs with invalid attribute-based filter
...Test objective: The objective is to test that the retrieval of VNF performance monitoring jobs fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response
...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.7.1
...Reference: Clause 6.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
@@ -122,7 +122,7 @@ Create new VNF Performance Monitoring Job
...Test title:Create a new VNF Performance Monitoring Job
...Test objective: The objective is to test the creation of a new VNF performance monitoring job and perform the JSON schema validation of the returned job data structure
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNF.
...Reference: Clause 6.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Reference: Clause 6.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: The VNF Performance Job is successfully created on the VNFM
@@ -136,7 +136,7 @@ PUT all VNF Performance Monitoring Jobs - Method not implemented
...Test title: PUT all VNF Performance Monitoring Jobs - Method not implemented
...Test objective: The objective is to test that PUT method is not allowed to modify VNF Performance Monitoring Jobs
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNF.
...Reference: Clause 6.4.2.3.3 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Reference: Clause 6.4.2.3.3 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
@@ -148,7 +148,7 @@ PATCH all VNF Performance Monitoring Jobs - (Method not implemented)
...Test title: PATCH all VNF Performance Monitoring Jobs - Method not implemented
...Test objective: The objective is to test that PATCH method is not allowed to update VNF Performance Monitoring Jobs
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNF.
...Reference: Clause 6.4.2.3.3 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Reference: Clause 6.4.2.3.3 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
@@ -160,7 +160,7 @@ DELETE all VNF Performance Monitoring Jobs - Method not implemented
...Test title: DELETE all VNF Performance Monitoring Jobs - Method not implemented
...Test objective: The objective is to test that DELETE method is not allowed to update VNF Performance Monitoring Jobs
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNF.
...Reference: Clause 6.4.2.3.3 - ETSI GS NFV-SOL 003 [1] v2.7.1
...Reference: Clause 6.4.2.3.3 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
@@ -173,7 +173,7 @@ GET all VNF Performance Monitoring Jobs as Paged Response
...Test title: GET all VNF Performance Monitoring Jobs as Paged Response
...Test objective: The objective is to test the retrieval of all the available VNF performance monitoring jobs as Paged Response.
...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.7.1
...Reference: Clause 6.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
@@ -186,7 +186,7 @@ GET VNF Performance Monitoring Jobs - Bad Request Response too Big
...Test title: GET VNF Performance Monitoring Jobs - Bad Request Response too Big
...Test objective: The objective is to test that the retrieval of VNF performance monitoring jobs fails because response is too big, and perform the JSON schema validation of the failed operation HTTP response.
...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.7.1
...Reference: Clause 6.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
@@ -199,7 +199,7 @@ GET all VNF Performance Monitoring Jobs with fields and exclude_default attribut
...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.7.1
...Reference: Clause 6.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: The VNFM supports the use of fields and exclude_fields attribute selector
...Post-Conditions: none
@@ -208,6 +208,19 @@ GET all VNF Performance Monitoring Jobs with fields and exclude_default attribut
Check HTTP Response Body Json Schema IsPmJobs
Check HTTP Response Body PmJobs Matches the requested fields selector
POST Create new VNF Performance Monitoring Job - Unprocessable Entity
[Documentation]Test ID: 7.3.4.1.16
...Test title: POST Create new VNF Performance Monitoring Job - Unprocessable Entity
...Test objective:The objective is to test the creation of a new VNF performance monitoring job fails when a request contains syntactically correct data but the data cannot be processed.
...Pre-conditions: none
...Reference: clause 6.4.2.3.1 - ETSI GS NFV-SOL 003 [1] V3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Send Post Request for VNF Performance Monitoring Job with unprocessable entity
Check HTTP Response Status Code Is422
Check HTTP Response Body Json Schema IsProblemDetails
*** Keywords ***
GET all VNF Performance Monitoring Jobs
LogTrying to get all PM Jobs present in the VNFM
@@ -408,3 +421,14 @@ Check HTTP Response Body Json Schema Is
Check LINK in Header
${linkURL}=Get Value From Json${response['headers']}$..Link
Should Not Be Empty${linkURL}
Send Post Request for VNF Performance Monitoring Job with unprocessable entity
Logtrying to create a new PM Job
Set Headers{"Accept": "${ACCEPT_JSON}"}
Set Headers{"Content-Type": "${CONTENT_TYPE_JSON}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}