Changes for SOL003/VNFPerformanceManagement-API/PMJobs.robot: 25 added lines, 1 removed line.
Original line number
Original line
Diff line number
Diff line
@@ -195,6 +195,20 @@ GET VNF Performance Monitoring Jobs - Bad Request Response too Big
Check HTTP Response Status Code Is400
Check HTTP Response Status Code Is400
Check HTTP Response Body Json Schema IsProblemDetails
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 ***
*** Keywords ***
GET all VNF Performance Monitoring Jobs
GET all VNF Performance Monitoring Jobs
LogTrying to get all PM Jobs present in the VNFM
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
${output}=Outputresponse
Set Suite Variable${response}${output}
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}"}