...Error: The API producer did not find a current representation for the target resource or is not willing to disclose that one exists.
...Specifically in case of this task resource, the response code 404 shall also returned if the task is not supported for the VNF instance represented by the parent resource, which means that the task resource consequently does not exist.
...In this case, the response body shall be present, and shall contain a ProblemDetails structure, in which the �detail� attribute shall convey more information about the error.
[Setup]Check heal not supported
LogTrying to heal a VNF instance, not exist
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
...Test title: GET Individual VNF Package Subscription
...Test objective: The objective is to test the retrieval of individual VNF package subscription and perform a JSON schema and content validation of the returned subscription data structure
...Pre-conditions: At least one VNF package subscription is available in the NFVO.
...Reference:section 10.4.8.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Get Individual VNF Package Subscription
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPkgmSubscription
Check HTTP Response Body Subscription Identifier matches the requested Subscription
GET Subscription - Negative (Not Found)
LogTrying to perform a request on a subscriptionID which doesn't exist
Set Headers{"Accept": "${ACCEPT_JSON}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
GET Individual VNF Package Subscription with invalid resource identifier
[Documentation]Test ID: 7.3.3.7.2
...Test title: GET Individual VNF Package Subscription with invalid resource identifier
...Test objective: The objective is to test that the retrieval of an individual VNF package subscription fails when using an invalid resource identifier
...Pre-conditions: At least one VNF package subscription is available in the NFVO.
...Reference:section 10.4.8.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
GET individual VNF Package Subscription with invalid resource identifier
Check HTTP Response Status Code Is404
DELETE Subscription
LogTrying to perform a DELETE on a subscriptionId
Set Headers{"Accept": "${ACCEPT_JSON}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
...Test objective: The objective is to test that the deletion of an individual VNF package subscription fails when using an invalid resource identifier
...Pre-conditions: At least one VNF package subscription is available in the NFVO.
...Reference:section 10.4.8.3.5 - SOL003 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send Delete request for individual VNF Package Subscription with invalid resource identifier
Check HTTP Response Status Code Is404
DELETE Subscription - Negative (Not Found)
LogTrying to perform a DELETE on a subscriptionId which doesn't exist
Set Headers{"Accept": "${ACCEPT_JSON}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}