Send Patch request for individual VNF Performance Job
Check HTTP Response Status Code Is412
Check HTTP Response Body Json Schema IsProblemDetails
Check Postcondition VNF Performance Job is Unmodified (Implicit)
Check Postcondition VNF Performance Job is Unmodified (Implicit)
PATCH Individual VNF Performance Job with Unprocessable Entity
[Documentation]Test ID: 7.3.4.2.9
...Test title: PATCH Individual VNF Performance Job with Unprocessable Entity
...Test objective: The objective is to test that PATCH method to modify individual performace management 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 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] v2.8.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
Check HTTP Response Body Json Schema IsProblemDetails
Check Postcondition VNF Performance Threshold is Unmodified (Implicit)
PATCH Individual Threshold with Unprocessable Entity
[Documentation]Test ID: 7.3.4.5.9
...Test title: PATCH Individual Threshold with Unprocessable Entity
...Test objective: The objective is to test that PATCH method to modify an Individual threshold resource 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 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] v2.8.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
@@ -207,8 +210,26 @@ GET all VNF Performance Monitoring Jobs with fields and exclude_default attribut
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPmJobs
Check HTTP Response Body PmJobs Matches the requested fields selector
Create new VNF Performance Monitoring Job with Unprocessable Entity
[Documentation]Test ID: 7.3.4.1.16
...Test title:Create a new VNF Performance Monitoring Job with Unprocessable Entity
...Test objective: The objective is to test that the creation of a new VNF 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 VNF instance is instantiated.
...Reference: Clause 6.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.8.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Send Post Request Create new VNF Performance Monitoring Job with Unprocessable Entity
Check HTTP Response Status Code Is422
Check HTTP Response Body Json Schema IsProblemDetails
@@ -136,7 +140,26 @@ 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: 7.3.4.4.11
...Test title:Create new Performance Threshold with Unprocessable Entity
...Test objective: The objective is to test that the creation of a new VNF 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 VNF instance is instantiated.
...Reference: Clause 6.4.5.3.1 - ETSI GS NFV-SOL 003 [1] v2.8.1
...Config ID: Config_prod_VNFM
...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
"description":"This notification informs the receiver that performance information is available. The timing of sending this notification is determined by the capability of the producing entity to evaluate the threshold crossing condition. The notification shall be triggered by the VNFM when new performance information collected by a PM job is available.\n",
"type":"object",
"required":[
"id",
"notificationType",
"subscriptionId",
"timeStamp",
"objectInstanceId",
"_links"
],
"properties":{
"id":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"notificationType":{
"description":"Discriminator for the different notification types. Shall be set to \"PerformanceInformationAvailableNotification\" for this notification type.\n",
"type":"string",
"enum":[
"PerformanceInformationAvailableNotification"
]
},
"subscriptionId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"timeStamp":{
"description":"Date-time stamp. Representation: String formatted according to IETF RFC 3339.\n",
"type":"string",
"format":"date-time"
},
"objectInstanceId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"_links":{
"description":"Links to resources related to this notification.\n",
"type":"object",
"required":[
"subscription",
"pmJob",
"performanceReport"
],
"properties":{
"subscription":{
"description":"This type represents a link to a resource.\n",
"type":"object",
"required":[
"href"
],
"properties":{
"href":{
"description":"URI of the referenced resource.\n",
"type":"string",
"format":"url"
}
}
},
"objectInstance":{
"description":"This type represents a link to a resource.\n",
"type":"object",
"required":[
"href"
],
"properties":{
"href":{
"description":"URI of the referenced resource.\n",
"type":"string",
"format":"url"
}
}
},
"pmJob":{
"description":"This type represents a link to a resource.\n",
"type":"object",
"required":[
"href"
],
"properties":{
"href":{
"description":"URI of the referenced resource.\n",
"type":"string",
"format":"url"
}
}
},
"performanceReport":{
"description":"This type represents a link to a resource.\n",
"type":"object",
"required":[
"href"
],
"properties":{
"href":{
"description":"URI of the referenced resource.\n",
"type":"string",
"format":"url"
}
}
}
}
}
}
}
\ No newline at end of file
"description":"This notification informs the receiver that performance information is available. The notification shall be triggered by the VNFM when new performance information collected by a PM job is available. The periodicity of triggering this notification is influenced by the \"reportingPeriod\" attribute in the \"PmJobCriteria\" data structure.\n",
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"notificationType":{
"description":"Discriminator for the different notification types. Shall be set to \"PerformanceInformationAvailableNotification\" for this notification type.\n",
"description":"Date-time stamp. Representation: String formatted according to IETF RFC 3339.\n",
"type":"string",
"format":"date-time"
},
"pmJobId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"objectType":{
"description":"Type of the measured object. The applicable measured object type for a measurement is defined in clause 7.2 of ETSI GS NFV-IFA 027.\n",
"type":"string"
},
"objectInstanceId":{
"description":"An identifier with the intention of being globally unique.\n",
"type":"string"
},
"subObjectInstanceIds":{
"description":"Identifiers of the sub-object instances of the measured object instance for which the measurements have been taken. Shall be present if the related PM job has been set up to measure only a subset of all sub-object instances of the measured object instance and a sub-object is defined in clause 6.2 of ETSI GS NFV-IFA 027 for the related measured object type.\nShall be absent otherwise.\n",
"type":"array",
"items":{
"description":"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
"type":"string"
}
},
"_links":{
"description":"Links to resources related to this notification.\n",
"type":"object",
"required":["pmJob","performanceReport"],
"properties":{
"objectInstance":{
"description":"This type represents a link to a resource in a notification, using an absolute or relative URI.\n",
"type":"object",
"required":["href"],
"properties":{
"href":{
"description":"String formatted according to IETF RFC 3986.\n",
"type":"string"
}
}
},
"pmJob":{
"description":"This type represents a link to a resource in a notification, using an absolute or relative URI.\n",
"type":"object",
"required":["href"],
"properties":{
"href":{
"description":"String formatted according to IETF RFC 3986.\n",
"type":"string"
}
}
},
"performanceReport":{
"description":"This type represents a link to a resource in a notification, using an absolute or relative URI.\n",
"type":"object",
"required":["href"],
"properties":{
"href":{
"description":"String formatted according to IETF RFC 3986.\n",