...Test title: GET all NFV-MANO Performance Monitoring Jobs
...Test objective: The objective is to test the retrieval of all the available NFV-MANO performance monitoring jobs and perform a JSON schema validation
...Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO.
...Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: none
GET all NFV-MANO Performance Monitoring Jobs
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPmJobs
GET NFV-MANO Performance Monitoring Jobs with attribute-based filter
[Documentation]Test ID: 8.3.2.1.2
...Test title: GET all NFV-MANO Performance Monitoring Jobs with attribute-based filter
...Test objective: The objective is to test the retrieval of NFV-MANO performance monitoring jobs using attribute-based filter, perform a JSON schema validation of the collected jobs data structure
...Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO.
...Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: none
GET NFV-MANO Performance Monitoring Jobs with attribute-based filter
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPmJobs
GET all NFV-MANO Performance Monitoring Jobs with all_fields attribute selector
[Documentation]Test ID: 8.3.2.1.3
...Test title: GET all NFV-MANO Performance Monitoring Jobs with all_fields attribute selector
...Test objective: The objective is to test the retrieval of all NFV-MANO performance monitoring jobs all_fields attribute selector, perform a JSON schema validation of the collected jobs data structure
...Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO.
...Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: none
GET NFV-MANO Performance Monitoring Jobs with all_fields attribute selector
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPmJobs
GET all NFV-MANO Performance Monitoring Jobs with exclude_default attribute selector
[Documentation]Test ID: 8.3.2.1.4
...Test title: GET all NFV-MANO Performance Monitoring Jobs with exclude_default attribute selector
...Test objective: The objective is to test the retrieval of all NFV-MANO performance monitoring jobs exclude_default attribute selector, perform a JSON schema validation of the collected jobs data structure
...Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO.
...Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: none
GET NFV-MANO Performance Monitoring Jobs with exclude_default attribute selector
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPmJobs
GET all NFV-MANO Performance Monitoring Jobs with fields attribute selector
[Documentation]Test ID: 8.3.2.1.5
...Test title: GET all NFV-MANO Performance Monitoring Jobs with fields attribute selector
...Test objective: The objective is to test the retrieval of all NFV-MANO performance monitoring jobs fields attribute selector, perform a JSON schema validation of the collected jobs data structure
...Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO.
...Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: The NFV-MANO supports the use of fields attribute selector
...Post-Conditions: none
GET NFV-MANO Performance Monitoring Jobs with fields attribute selector
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPmJobs
GET all NFV-MANO Performance Monitoring Jobs with exclude_fields attribute selector
[Documentation]Test ID: 8.3.2.1.6
...Test title: GET all NFV-MANO Performance Monitoring Jobs with exclude_fields attribute selector
...Test objective: The objective is to test the retrieval of all NFV-MANO performance monitoring jobs exclude_fields attribute selector, perform a JSON schema validation of the collected jobs data structure
...Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO.
...Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: The NFV-MANO supports the use of exclude_fields attribute selector
...Post-Conditions: none
GET NFV-MANO Performance Monitoring Jobs with exclude_fields attribute selector
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPmJobs
GET NFV-MANO Performance Monitoring Jobs with invalid attribute-based filter
[Documentation]Test ID: 8.3.2.1.7
...Test title: GET NFV-MANO Performance Monitoring Jobs with invalid attribute-based filter
...Test objective: The objective is to test that the retrieval of NFV-MANO 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 NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO.
...Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: none
GET NFV-MANO Performance Monitoring Jobs with invalid attribute-based filter
Check HTTP Response Status Code Is400
Check HTTP Response Body Json Schema IsProblemDetails
GET NFV-MANO Performance Monitoring Jobs with invalid resource endpoint
[Documentation]Test ID: 8.3.2.1.8
...Test title: GET NFV-MANO Performance Monitoring Jobs with invalid resource endpoint
...Test objective: The objective is to test that the retrieval of NFV-MANO performance monitoring jobs fails when using invalid resource endpoint
...Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO.
...Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: none
GET NFV-MANO Performance Monitoring Jobs with invalid resource endpoint
Check HTTP Response Status Code Is404
Create new NFV-MANO Performance Monitoring Job
[Documentation]Test ID: 8.3.2.1.9
...Test title:Create a new NFV-MANO Performance Monitoring Job
...Test objective: The objective is to test the creation of a new NFV-MANO performance monitoring job and perform the JSON schema validation of the returned job data structure
...Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO.
...Reference: clause 6.5.3.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: The NFV-MANO Performance Job is successfully created on the NFV-MANO
Send Post Request Create new NFV-MANO Performance Monitoring Job
Check HTTP Response Status Code Is201
Check HTTP Response Body Json Schema IsPmJob
Check Postcondition PmJob Exists
PUT all NFV-MANO Performance Monitoring Jobs - Method not implemented
[Documentation]Test ID: 8.3.2.1.10
...Test title: PUT all NFV-MANO Performance Monitoring Jobs - Method not implemented
...Test objective: The objective is to test that PUT method is not allowed to modify NFV-MANO Performance Monitoring Jobs
...Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO.
...Reference: clause 6.5.3.3.3 - ETSI GS NFV-SOL 009 [5] V3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: none
Send PUT Request for all NFV-MANO Performance Monitoring Jobs
Check HTTP Response Status Code Is405
PATCH all NFV-MANO Performance Monitoring Jobs - (Method not implemented)
[Documentation]Test ID: 8.3.2.1.11
...Test title: PATCH all NFV-MANO Performance Monitoring Jobs - Method not implemented
...Test objective: The objective is to test that PATCH method is not allowed to update NFV-MANO Performance Monitoring Jobs
...Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO.
...Reference: clause 6.5.3.3.4 - ETSI GS NFV-SOL 009 [5] V3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: none
Send PATCH Request for all NFV-MANO Performance Monitoring Jobs
Check HTTP Response Status Code Is405
DELETE all NFV-MANO Performance Monitoring Jobs - Method not implemented
[Documentation]Test ID: 8.3.2.1.12
...Test title: DELETE all NFV-MANO Performance Monitoring Jobs - Method not implemented
...Test objective: The objective is to test that DELETE method is not allowed to update NFV-MANO Performance Monitoring Jobs
...Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO.
...Reference: clause 6.5.3.3.5 - ETSI GS NFV-SOL 009 [5] V3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: none
Send DELETE Request for all NFV-MANO Performance Monitoring Jobs
Check HTTP Response Status Code Is405
Check Postcondition NFV-MANO Performance Monitoring Jobs Exist
*** Keywords ***
GET all NFV-MANO Performance Monitoring Jobs
LogTrying to get all PM Jobs present in the NFV-MANO
Set Headers{"Accept": "${ACCEPT_JSON}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}