...Test objective: The objective is to test that PATCH method cannot modify an individual VNF Snapshot resource due to the fact that another modification is ongoing.
...Pre-conditions: none
...Reference: Clause 5.4.24.3.4 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: The Individual VNF Snapshot resource is currently being modified due to an underlying VNF snapshot operation.
...Post-Conditions: none
PATCH individual VNF Snapshot
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
...Test objective: The objective is to that the modification of individual VNF Snapshot fails because precondition given in an HTTP request header is not fulfilled due to an ETag mismatch.
...Pre-conditions: none
...Reference: Clause 5.4.24.3.4 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: VNF snapshot is not modified
PATCH individual VNF Snapshot - ETag Mismatch
Check HTTP Response Status Code Is412
Check HTTP Response Body Json Schema IsProblemDetails
DELETE Individual VNF Snapshot
[Documentation]Test ID: 7.3.1.41.8
...Test title: DELETE Individual VNF Snapshot
...Test objective: The objective is to delete a VNF Snapshot
...Pre-conditions: none
...Reference: Clause 5.4.24.3.5 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Test objective: The objective is to verify that The operation cannot be executed currently, due to a conflict with the state of the VNF Snapshot resource.
...Pre-conditions: none
...Reference: Clause 5.4.24.3.5 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: VNF snapshot is in use by some operation such as reverting a VNF instance to a VNF snapshot or creating a VNF snapshot package.
...Post-Conditions: none
DELETE individual VNF Snapshot - CONFLICT
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
@@ -9,7 +9,7 @@ Suite Setup Check resource existence
*** Test Cases ***
POST Revert to VNF Snapshot Task
[Documentation]Test ID: 7.3.1.38.1
[Documentation]Test ID: 7.3.1.39.1
...Test title: POST Revert to VNF Snapshot Task
...Test objective: The objective is to test that POST method requests reverting a VNF/VNFC instance to a VNF/VNFC snapshot.
...Pre-conditions: none
@@ -22,7 +22,7 @@ POST Revert to VNF Snapshot Task
Check HTTP Location Header Contains URI of Created Resource
POST Revert to VNF Snapshot Task - NOT FOUND
[Documentation]Test ID: 7.3.1.38.2
[Documentation]Test ID: 7.3.1.39.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
@@ -35,7 +35,7 @@ POST Revert to VNF Snapshot Task - NOT FOUND
Check HTTP Response Body Json Schema IsProblemDetails
POST Revert to VNF Snapshot Task - CONFLICT
[Documentation]Test ID: 7.3.1.38.3
[Documentation]Test ID: 7.3.1.39.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
@@ -48,7 +48,7 @@ POST Revert to VNF Snapshot Task - CONFLICT
Check HTTP Response Body Json Schema IsProblemDetails
GET Revert to VNF Snapshot Task - Method not implemented
[Documentation]Test ID: 7.3.1.38.4
[Documentation]Test ID: 7.3.1.39.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
@@ -60,7 +60,7 @@ GET Revert to VNF Snapshot Task - Method not implemented
Check HTTP Response Status Code Is405
PUT Revert to VNF Snapshot Task - Method not implemented
[Documentation]Test ID: 7.3.1.38.5
[Documentation]Test ID: 7.3.1.39.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
@@ -72,7 +72,7 @@ PUT Revert to VNF Snapshot Task - Method not implemented
Check HTTP Response Status Code Is405
PATCH Revert to VNF Snapshot Task - Method not implemented
[Documentation]Test ID: 7.3.1.38.6
[Documentation]Test ID: 7.3.1.39.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
@@ -84,7 +84,7 @@ PATCH Revert to VNF Snapshot Task - Method not implemented
Check HTTP Response Status Code Is405
DELETE Revert to VNF Snapshot Task - Method not implemented
[Documentation]Test ID: 7.3.1.38.7
[Documentation]Test ID: 7.3.1.39.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
...Test objective: The objective is to create a new VNF snapshot
...Pre-conditions: none
@@ -17,7 +17,7 @@ POST Create a new VNF Snapshot
Check HTTP Location Header Contains URI of Created Resource
GET information about multiple VNF Snapshots
[Documentation]Test ID: 7.3.1.38.2
[Documentation]Test ID: 7.3.1.40.2
...Test title: GET information about multiple VNF Snapshots
...Test objective: The objective is to get information about multiples VNF snapshots
...Pre-conditions: none
@@ -30,7 +30,7 @@ GET information about multiple VNF Snapshots
Check HTTP Response Body Json Schema IsVnfSnapshotsInfo
GET information about multiple VNF Snapshots Bad Request Invalid attribute-based filtering parameters
[Documentation]Test ID: 7.3.1.38.3
[Documentation]Test ID: 7.3.1.40.3
...Test title: GET information about multiple VNF Snapshots Bad Request Invalid attribute-based filtering parameters
...Test objective: The objective is to get information about multiples VNF Snapshots with Invalid attribute-based filtering parameters
...Pre-conditions: none
@@ -43,7 +43,7 @@ GET information about multiple VNF Snapshots Bad Request Invalid attribute-based
Check HTTP Response Body Json Schema IsProblemDetails
GET information about multiple VNF Snapshots Bad Request Invalid attribute selector
[Documentation]Test ID: 7.3.1.38.4
[Documentation]Test ID: 7.3.1.40.4
...Test title: GET information about multiple VNF Snapshots Bad Request Invalid attribute selector
...Test objective: The objective is to get information about multiples VNF Snapshots with Invalid attribute-based filtering parameters
...Pre-conditions: none
@@ -56,7 +56,7 @@ GET information about multiple VNF Snapshots Bad Request Invalid attribute selec
Check HTTP Response Body Json Schema IsProblemDetails
GET information about multiple VNF Snapshots with "all_fields" attribute selector
[Documentation]Test ID: 7.3.1.38.5
[Documentation]Test ID: 7.3.1.40.5
...Test title: GET information about multiple VNF Snapshots with "all_fields" attribute selector
...Test objective: The objective is to query information about multiple VNF Snapshots
...Pre-conditions:none
@@ -69,7 +69,7 @@ GET information about multiple VNF Snapshots with "all_fields" attribute selecto
Check HTTP Response Body Json Schema IsVnfSnapshotsInfo
GET information about multiple VNF Snapshots with "exclude_default" attribute selector
[Documentation]Test ID: 7.3.1.38.6
[Documentation]Test ID: 7.3.1.40.6
...Test title: GET information about multiple VNF Snapshots with "exclude_default" attribute selector
...Test objective: The objective is to query information about multiple VNF Snapshots
...Pre-conditions:none
@@ -82,7 +82,7 @@ GET information about multiple VNF Snapshots with "exclude_default" attribute se
Check HTTP Response Body Json Schema IsVnfSnapshotsInfo
GET information about multiple VNF Snapshots with "fields" attribute selector
[Documentation]Test ID: 7.3.1.38.7
[Documentation]Test ID: 7.3.1.40.7
...Test title: GET information about multiple VNF Snapshots with "fields" attribute selector
...Test objective: The objective is to query information about multiple VNF Snapshots
...Pre-conditions:none
@@ -95,7 +95,7 @@ GET information about multiple VNF Snapshots with "fields" attribute selector
Check HTTP Response Body Json Schema IsVnfSnapshotsInfo
GET information about multiple VNF Snapshots with "exclude_default" and "fields" attribute selector
[Documentation]Test ID: 7.3.1.38.8
[Documentation]Test ID: 7.3.1.40.8
...Test title: GET information about multiple VNF Snapshots with "exclude_default" and "fields" attribute selector
...Test objective: The objective is to query information about multiple VNF Snapshots
...Pre-conditions:none
@@ -108,7 +108,7 @@ GET information about multiple VNF Snapshots with "exclude_default" and "fields"
Check HTTP Response Body Json Schema IsVnfSnapshotsInfo
GET information about multiple VNF Snapshots with "exclude_fields" attribute selector
[Documentation]Test ID: 7.3.1.38.9
[Documentation]Test ID: 7.3.1.40.9
...Test title: GET information about multiple VNF Snapshots with "exclude_fields" attribute selector
...Test objective: The objective is to query information about multiple VNF Snapshots
...Pre-conditions:none
@@ -121,7 +121,7 @@ GET information about multiple VNF Snapshots with "exclude_fields" attribute sel
Check HTTP Response Body Json Schema IsVnfSnapshotsInfo
GET VNF Snapshots - Bad Request Response too Big
[Documentation]Test ID: 7.3.1.38.10
[Documentation]Test ID: 7.3.1.40.10
...Test title: GET VNF Snapshots - Bad Request Response too Big
...Test objective: The objective is test that the retrieval of existing VNF Snapshots list fails because response is too big, and perform the JSON schema validation of the failed operation HTTP response.
...Pre-conditions: none
@@ -134,7 +134,7 @@ GET VNF Snapshots - Bad Request Response too Big
Check HTTP Response Body Json Schema IsProblemDetails
GET VNF Snapshots as Paged Response
[Documentation]Test ID: 7.3.1.38.11
[Documentation]Test ID: 7.3.1.40.11
...Test title: GET VNF Snapshots as Paged Response
...Test objective: The objective is to test that GET method retrieves the list of existing VNF Snapshots as paged response.
...Pre-conditions: none
@@ -147,7 +147,7 @@ GET VNF Snapshots as Paged Response
Check HTTP Response Header Contains Link
PUT VNF Snapshots - Method not implemented
[Documentation]Test ID: 7.3.1.38.12
[Documentation]Test ID: 7.3.1.40.12
...Test title: PUT VNF Snapshots - Method not implemented
...Test objective: The objective is to test that PUT method is not implemented
...Pre-conditions:none
@@ -159,7 +159,7 @@ PUT VNF Snapshots - Method not implemented
Check HTTP Response Status Code Is405
PATCH VNF Snapshots - Method not implemented
[Documentation]Test ID: 7.3.1.38.13
[Documentation]Test ID: 7.3.1.40.13
...Test title: PATCH VNF Snapshots - Method not implemented
...Test objective: The objective is to test that PATCH method is not implemented
...Test title: POST VNF State Snapshot - Method not implemented
...Test objective: The objective is to test that POST method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.25.3.1 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
POST VNF State Snapshot
Check HTTP Response Status Code Is405
GET VNF State Snapshot - Complete File
[Documentation]Test ID: 7.3.1.42.2
...Test title: GET Information about an individual VNF State Snapshot - Complete File
...Test objective: The objective is to fetch the whole content of a VNF State Snapshot using GET method.
...Pre-conditions: none
...Reference: Clause 5.4.25.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
GET VNF State Snapshot - Complete
Check HTTP Response Status Code Is200
Check HTTP Content-Type Header Is Set
GET VNF State Snapshot - Partial Content
[Documentation]Test ID: 7.3.1.42.3
...Test title: GET VNF State Snapshot - Partial Content
...Test objective: The objective is to fetch partial content of a VNF State Snapshot by sending a range request using GET method.
...Pre-conditions: none
...Reference: Clause 5.4.25.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: VNFM supports range requests
...Post-Conditions: none
GET VNF State Snapshot - Range Request
Check HTTP Response Status Code Is206
Check HTTP Content-Type Header Is Set
Check HTTP Content-Range Header Is Set
GET VNF State Snapshot - Range Request Not Supported
[Documentation]Test ID: 7.3.1.42.4
...Test title: GET VNF State Snapshot - Range Request Not Supported
...Test objective: The objective is to test that the whole content of a VNF State Snapshot is delivered even with a range request when VNFM does not support range requests.
...Pre-conditions: none
...Reference: Clause 5.4.25.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: VNFM does not support range requests
...Post-Conditions: none
GET VNF State Snapshot - Range Request
Check HTTP Response Status Code Is200
Check HTTP Content-Type Header Is Set
GET VNF State Snapshot - Range Not Satisfiable
[Documentation]Test ID: 7.3.1.42.5
...Test title: GET VNF State Snapshot - Range Not Satisfiable
...Test objective: The objective is to test that an error is returned when the byte range passed in the "Range" header does not match any available byte range in the VNF State Snapshot package file.
...Pre-conditions: none
...Reference: Clause 5.4.25.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: VNFM supports range requests
...Post-Conditions: none
GET VNF State Snapshot - Invalid Range
Check HTTP Response Status Code Is416
GET VNF State Snapshot - Conflict
[Documentation]Test ID: 7.3.1.42.6
...Test title: GET VNF State Snapshot - Conflict
...Test objective: The objective is to test that an error is returned when there is a conflict with the state of the VNF snapshot resource.
...Pre-conditions: none
...Reference: Clause 5.4.25.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: Typically, this is due to the fact that the VNF snapshot creation process is not completed.
...Post-Conditions: none
GET VNF State Snapshot - Conflict in State
Check HTTP Response Status Code Is409
PUT VNF State Snapshot - Method not implemented
[Documentation]Test ID: 7.3.1.42.7
...Test title: PUT VNF State Snapshot - Method not implemented
...Test objective: The objective is to test that PUT method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.25.3.3 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: VNF State Snapshot Package not modified
PUT VNF State Snapshot
Check HTTP Response Status Code Is405
PATCH VNF State Snapshot - Method Not implemented
[Documentation]Test ID: 7.3.1.42.8
...Test title: PATCH VNF State Snapshot
...Test objective: The objective is to test that PATCH method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.25.3.4 - ETSI GS NFV-SOL 003 [1] v3.3.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
PATCH VNF State Snapshot
Check HTTP Response Status Code Is405
DELETE VNF State Snapshot - Method Not implemented
[Documentation]Test ID: 7.3.1.42.9
...Test title: DELETE VNF State Snapshot - Method Not implemented
...Test objective: The objective is to test that DELETE method is not implemented
...Pre-conditions: none
...Reference: Clause 5.4.25.3.5 - ETSI GS NFV-SOL 003 [1] v3.3.1