Check HTTP Response Body Json Schema IsProblemDetails
GET individual VNF Performance Job with permitted authorization scope
[Documentation]Test ID: 7.3.4.2.10
...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] v4.5.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
GET individual VNF Performance Job with permitted authorization scope
Check HTTP Response Header Contains ETag and Last-Modified
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPmJob
Check HTTP Response Body Pm Job Identifier matches the requested Pm Job
GET individual VNF Performance Job with not permitted authorization scope
[Documentation]Test ID: 7.3.4.2.11
...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] v4.5.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
GET individual VNF Performance Job with not permitted authorization scope
Check HTTP Response Status Code Is403
Check HTTP Response Body Json Schema IsProblemDetails
*** Keywords ***
Create Sessions
@@ -227,6 +254,26 @@ Send Patch request for individual VNF Performance Job with unprocessable content
${output}=Outputresponse
Set Suite Variable${response}${output}
GET individual VNF Performance Job with permitted authorization scope
LogTrying to get a Pm Job present in the NFVO Catalogue with permitted authorization scope
Send Delete request for Individual Performance Report
Check HTTP Response Status Code Is405
Get Individual Performance Report with permitted authorization scope
[Documentation]Test ID: 7.3.4.3.7
...Test title: Get Individual Performance Report
...Test objective: The objective is to test the retrieval of an individual VNF performance report associated to a monitoring job and perform a JSON schema validation of the collected report data structure
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance reports are set for a monitoring job in the VNFM.
...Reference: Clause 6.4.4.3.2 - ETSI GS NFV-SOL 003 [1] v4.5.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Get Individual Performance Report with permitted authorization scope
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPerformanceReport
Get Individual Performance Report with not permitted authorization scope
[Documentation]Test ID: 7.3.4.3.8
...Test title: Get Individual Performance Report
...Test objective: The objective is to test the retrieval of an individual VNF performance report associated to a monitoring job and perform a JSON schema validation of the collected report data structure
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance reports are set for a monitoring job in the VNFM.
...Reference: Clause 6.4.4.3.2 - ETSI GS NFV-SOL 003 [1] v4.5.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Get Individual Performance Report with not permitted authorization scope
Check HTTP Response Status Code Is403
Check HTTP Response Body Json Schema IsProblemDetails
*** Keywords ***
Get Individual Performance Report
LogTrying to get a performance report present in the VNFM
Check HTTP Response Body Json Schema IsProblemDetails
GET Individual Threshold with permitted authorization scope
[Documentation]Test ID: 7.3.4.5.10
...Test title: GET Individual Threshold
...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] v4.5.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
GET Individual VNF Performance Threshold with permitted authorization scope
Check HTTP Response Status Code Is200
Check HTTP Response Header Contains ETag and Last-Modified
Check HTTP Response Body Json Schema IsThreshold
Check HTTP Response Body Threshold Identifier matches the requested Threshold
GET Individual Threshold with not permitted authorization scope
[Documentation]Test ID: 7.3.4.5.11
...Test title: GET Individual Threshold
...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 with not permitted authorization scope
...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] v4.5.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
GET Individual VNF Performance Threshold with not permitted authorization scope
Check HTTP Response Status Code Is403
Check HTTP Response Body Json Schema IsProblemDetails
*** Keywords ***
Create Sessions
@@ -226,9 +253,29 @@ Send Patch request for individual VNF Performance Threshold with unprocessable c
${output}=Outputresponse
Set Suite Variable${response}${output}
GET Individual VNF Performance Threshold with permitted authorization scope
LogTrying to get a Threhsold present in the VNFM with permitted authorization scope
@@ -238,6 +238,33 @@ POST Create new VNF Performance Monitoring Job - Unprocessable Content
Check HTTP Response Status Code Is422
Check HTTP Response Body Json Schema IsProblemDetails
GET all VNF Performance Monitoring Jobs with permitted authorization scope
[Documentation]Test ID: 7.3.4.1.17
...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] v4.5.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
GET all VNF Performance Monitoring Jobs with permitted authorization scope
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPmJobs
Check HTTP Response Body Does Not Contain reports
GET all VNF Performance Monitoring Jobs with not permitted authorization scope
[Documentation]Test ID: 7.3.4.1.18
...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] v4.5.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
GET all VNF Performance Monitoring Jobs with not permitted authorization scope
Check HTTP Response Status Code Is403
Check HTTP Response Body Json Schema IsProblemDetails
@@ -155,6 +155,32 @@ POST create new Performance Threshold - Unprocessable Content
Check HTTP Response Status Code Is422
Check HTTP Response Body Json Schema IsProblemDetails
GET All Performance Thresholds with permitted authorization scope
[Documentation]Test ID: 7.3.4.4.12
...Test title: GET All Performance Thresholds
...Test objective: The objective is to test the retrieval of all the available VNF performance thresholds and perform a JSON schema validation of the collected thresholds data structure
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance thresholds are set in the VNFM.
...Reference: Clause 6.4.5.3.2 - ETSI GS NFV-SOL 003 [1] v4.5.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
GET all Performance Thresholds with permitted authorization scope
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsThresholds
GET All Performance Thresholds with not permitted authorization scope
[Documentation]Test ID: 7.3.4.4.13
...Test title: GET All Performance Thresholds
...Test objective: The objective is to test the retrieval of all the available VNF performance thresholds and perform a JSON schema validation of the collected thresholds data structure
...Pre-conditions: A VNF instance is instantiated. One or more VNF performance thresholds are set in the VNFM.
...Reference: Clause 6.4.5.3.2 - ETSI GS NFV-SOL 003 [1] v4.5.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
GET all Performance Thresholds with not permitted authorization scope