...Test objective: The objective is to attempt to Modify an individual NS Performance job fails, where the precondition was not met
...Pre-conditions: The related job already exsisit
...Pre-conditions: A NS instance is instantiated. One or more NS performance jobs are set in the NFVO.
...Reference: Clause 7.4.3.3.4 - ETSI GS NFV-SOL 005 [3] v2.8.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: The resource is not modified
...Post-Conditions: none
Send Patch request for individual NS Performance Job
Check HTTP Response Status Code Is412
Check HTTP Response Body Json Schema IsProblemDetails
PATCH Individual NS Performance Job with Unprocessable Entity
[Documentation]Test ID: 5.3.4.2.8
...Test title: PATCH Individual NS Performance Job with Unprocessable Entity
...Test objective: The objective is to test that modification of an individual NS Performance job fails when the request data is syntactically correct but cannot be processed, and perform the JSON schema validation of the failed operation HTTP response
...Pre-conditions: A NS instance is instantiated. One or more NS performance jobs are set in the NFVO.
...Reference: Clause 7.4.3.3.4 - ETSI GS NFV-SOL 005 [3] v2.8.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send Patch request for individual NS Performance Job with Unprocessable Entity
Check HTTP Response Status Code Is422
Check HTTP Response Body Json Schema IsProblemDetails
Check HTTP Response Body Json Schema IsProblemDetails
Check Postcondition NS performance Threshold is Unmodified (Implicit)
PATCH Individual Threshold with Unprocessable Entity
[Documentation]Test ID: 5.3.4.5.9
...Test title: PATCH Individual Threshold with Unprocessable Entity
...Test objective: The objective is to test that modification of an individual Threshold job fails when the request data is syntactically correct but cannot be processed, and perform the JSON schema validation of the failed operation HTTP response
...Pre-conditions: A NS instance is instantiated. One or more NS performance thresholds are set in the NFVO.
...Reference: Clause 7.4.6.3.4 - ETSI GS NFV-SOL 005 [3] v2.8.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: The NS performance Threshold is not modified by the operation
Send Patch request for individual NS performance Threshold with Unprocessable Entity
Check HTTP Response Status Code Is422
Check HTTP Response Body Json Schema IsProblemDetails
@@ -130,6 +134,7 @@ Create new NS Performance Monitoring Job
Send Post Request Create new NS Performance Monitoring Job
Check HTTP Response Status Code Is201
Check HTTP Response Body Json Schema IsPmJob
Check HTTP Response Header ContainsLocation
Check Postcondition PmJob Exists
PUT all NS Performance Monitoring Jobs - Method not implemented
@@ -207,3 +212,17 @@ GET all NS Performance Monitoring Jobs with "fields" and "exclude_default" attri
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPmJobs
Check HTTP Response Body PmJobs Matches the requested selector
Create new NS Performance Monitoring Job with Unprocessable Entity
[Documentation]Test ID: 5.3.4.1.16
...Test title:Create a new NS Performance Monitoring Job with Unprocessable Entity
...Test objective: The objective is to test that the creation of a new NS performance monitoring job fails when the request data is syntactically correct but cannot be processed, and perform the JSON schema validation of the failed operation HTTP response
...Pre-conditions: A NS instance is instantiated.
...Reference: Clause 7.4.2.3.1 - ETSI GS NFV-SOL 005 [3] v2.8.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send Post Request Create new NS Performance Monitoring Job with Unprocessable Entity
Check HTTP Response Status Code Is422
Check HTTP Response Body Json Schema IsProblemDetails
@@ -137,3 +141,16 @@ GET Performance Thresholds - Bad Request Response too Big
GET all Performance Thresholds
Check HTTP Response Status Code Is400
Check HTTP Response Body Json Schema IsProblemDetails
Create new Performance Threshold with Unprocessable Entity
[Documentation]Test ID: 5.3.4.4.11
...Test title:Create new Performance Threshold with Unprocessable Entity
...Test objective: The objective is to test the that creation of a new NS performance threshold fails when the request data is syntactically correct but cannot be processed, and perform the JSON schema validation of the failed operation HTTP response
...Pre-conditions: A NS instance is instantiated.
...Reference: Clause 7.4.5.3.1 - ETSI GS NFV-SOL 005 [3] v2.8.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send Post Request Create new Performance Threshold with Unprocessable Entity
Check HTTP Response Status Code Is422
Check HTTP Response Body Json Schema IsProblemDetails