...Test title: POST Change current VNF Package Task
...Test objective: The objective is to test that the POST method changes the current VNF package on which the VNF instance is based.
...Pre-conditions: none
...Reference: Clause 5.4.11a.3.1 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: in response header Location shall not be null
POST Change Current VNF Package Task
Check HTTP Response Status Code Is202
Check Operation Occurrence Id
POST Change current VNF Package Task - Conflict
[Documentation]Test ID: 6.3.5.22.2
...Test title: POST Change current VNF Package Task - Conflict
...Test objective: The objective is to test that the POST method cannot change the current VNF package task when another lifecycle management operation is ongoing.
...Pre-conditions: none
...Reference: Clause 5.4.11a.3.1 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: There is another lifecycle management operation ongoing.
...Post-Conditions: none
POST Change Current VNF Package Task
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
GET Change current VNF Package Task - Method not implemented
[Documentation]Test ID: 6.3.5.22.3
...Test title: GET Change current VNF Package Task - Method not implemented
...Test objective: The objective is to test that GET method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.11a.3.2 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
GET Change Current VNF Package Task
Check HTTP Response Status Code Is405
PUT Change current VNF Package Task - Method not implemented
[Documentation]Test ID: 6.3.5.22.4
...Test title: PUT Change current VNF Package Task - Method not implemented
...Test objective: The objective is to test that PUT method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.11a.3.3 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
PUT Change Current VNF Package Task
Check HTTP Response Status Code Is405
PATCH Change current VNF Package Task - Method not implemented
[Documentation]Test ID: 6.3.5.22.5
...Test title: PATCH Change current VNF Package Task - Method not implemented
...Test objective: The objective is to test that PATCH method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.11a.3.4 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
PATCH Change Current VNF Package Task
Check HTTP Response Status Code Is405
DELETE Change current VNF Package Task - Method not implemented
[Documentation]Test ID: 6.3.5.22.6
...Test title: DELETE Change current VNF Package Task - Method not implemented
...Test objective: The objective is to test that DELETE method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.11a.3.5 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
DELETE Change Current VNF Package Task
Check HTTP Response Status Code Is405
*** Keywords ***
Check resource existence
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
...Test objective: The objective is to test that POST method requests taking a snapshot of a VNF instance.
...Pre-conditions: none
...Reference: Clause 5.4.21.3.1 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: in response header Location shall not be null
POST Create VNF Snapshot Task
Check HTTP Response Status Code Is202
Check Operation Occurrence Id
POST Create VNF Snapshot Task - NOT FOUND
[Documentation]Test ID: 6.3.5.23.2
...Test title: POST Create VNF Snapshot Task - NOT FOUND
...Test objective: The objective is to test that the POST method cannot request for a snapshot if the task is not supported for the VNF instance represented by the parent resource.
...Pre-conditions: none
...Reference: Clause 5.4.21.3.1 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: Task is not supported for the VNF instance represented by the parent resource.
...Post-Conditions: none
POST Create VNF Snapshot Task NOT SUPPORTED
Check HTTP Response Status Code Is404
Check HTTP Response Body Json Schema IsProblemDetails
POST Create VNF Snapshot Task - CONFLICT
[Documentation]Test ID: 6.3.5.23.3
...Test title: POST Create VNF Snapshot Task - CONFLICT
...Test objective: The objective is to test that the POST method cannot request for a snapshot when the VNF instance is in NOT_INSTANTIATED state.
...Pre-conditions: none
...Reference: Clause 5.4.21.3.1 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: VNF instance is in NOT_INSTANTIATED state.
...Post-Conditions: none
POST Create VNF Snapshot Task VNF_NOT_INSTANTIATED
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
POST Create VNF Snapshot Task - UNPROCESSIBLE ENTITY
[Documentation]Test ID: 6.3.5.23.4
...Test title: POST Create VNF Snapshot Task - UNPROCESSIBLE ENTITY
...Test objective: The objective is to test that the POST method cannot request for a snapshot when the provided identifier of the target "Individual VNF snapshot" resource for the VNF snapshot is invalid.
...Pre-conditions: none
...Reference: Clause 5.4.21.3.1 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: The identifier of the target "Individual VNF snapshot" resource for the VNF snapshot is invalid.
...Post-Conditions: none
POST Create VNF Snapshot Task INVALID IDENTIFIER
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
GET Create VNF Snapshot Task - Method not implemented
[Documentation]Test ID: 6.3.5.23.5
...Test title: GET Create VNF Snapshot Task - Method not implemented
...Test objective: The objective is to test that GET method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.21.3.2 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
GET Create VNF Snapshot Task
Check HTTP Response Status Code Is405
PUT Create VNF Snapshot Task - Method not implemented
[Documentation]Test ID: 6.3.5.23.6
...Test title: PUT Create VNF Snapshot Task - Method not implemented
...Test objective: The objective is to test that PUT method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.21.3.3 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
PUT Create VNF Snapshot Task
Check HTTP Response Status Code Is405
PATCH Create VNF Snapshot Task - Method not implemented
...Test objective: The objective is to test that POST method requests reverting a VNF/VNFC instance to a VNF/VNFC snapshot.
...Pre-conditions: none
...Reference: Clause 5.4.22.3.1 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: in response header Location shall not be null
POST Revert to VNF Snapshot Task
Check HTTP Response Status Code Is202
Check Operation Occurrence Id
POST Revert to VNF Snapshot Task - NOT FOUND
[Documentation]Test ID: 6.3.5.24.2
...Test title: POST Revert to VNF Snapshot Task - NOT FOUND
...Test objective: The objective is to test that the POST method cannot request reverting to a snapshot if the task is not supported for the VNF instance represented by the parent resource.
...Pre-conditions: none
...Reference: Clause 5.4.22.3.1 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: Task is not supported for the VNF instance represented by the parent resource.
...Post-Conditions: none
POST Revert to VNF Snapshot Task NOT SUPPORTED
Check HTTP Response Status Code Is404
Check HTTP Response Body Json Schema IsProblemDetails
POST Revert to VNF Snapshot Task - CONFLICT
[Documentation]Test ID: 6.3.5.24.3
...Test title: POST Revert to VNF Snapshot Task - CONFLICT
...Test objective: The objective is to test that the POST method cannot request reverting to a snapshot when the VNF instance is in NOT_INSTANTIATED state.
...Pre-conditions: none
...Reference: Clause 5.4.22.3.1 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: VNF instance is in NOT_INSTANTIATED state.
...Post-Conditions: none
POST Revert to VNF Snapshot Task VNF_NOT_INSTANTIATED
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
GET Revert to VNF Snapshot Task - Method not implemented
[Documentation]Test ID: 6.3.5.24.4
...Test title: GET Revert to VNF Snapshot Task - Method not implemented
...Test objective: The objective is to test that GET method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.22.3.2 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
GET Revert to VNF Snapshot Task
Check HTTP Response Status Code Is405
PUT Revert to VNF Snapshot Task - Method not implemented
[Documentation]Test ID: 6.3.5.24.5
...Test title: PUT Revert to VNF Snapshot Task - Method not implemented
...Test objective: The objective is to test that PUT method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.22.3.3 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
PUT Revert to VNF Snapshot Task
Check HTTP Response Status Code Is405
PATCH Revert to VNF Snapshot Task - Method not implemented
[Documentation]Test ID: 6.3.5.24.6
...Test title: PATCH Revert to VNF Snapshot Task - Method not implemented
...Test objective: The objective is to test that PATCH method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.22.3.4 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
PATCH Revert to VNF Snapshot Task
Check HTTP Response Status Code Is405
DELETE Revert to VNF Snapshot Task - Method not implemented
[Documentation]Test ID: 6.3.5.24.7
...Test title: DELETE Revert to sVNF Snapshot Task - Method not implemented
...Test objective: The objective is to test that DELETE method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.22.3.5 - ETSI GS NFV-SOL 002 [2] v3.3.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
DELETE Revert to VNF Snapshot Task
Check HTTP Response Status Code Is405
*** Keywords ***
Check resource existence
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}