Commit 4fa6af55 authored by Hammad Zafar's avatar Hammad Zafar Committed by Giacomo Bernini
Browse files

added new resources

parent d1024d3a
Loading
Loading
Loading
Loading
+117 −0
Original line number Original line Diff line number Diff line
*** Settings ***
Resource    VnfLcmMntOperationKeywords.robot 

*** Test Cases ***
POST Individual VNF Snapshot - Method not implemented
    [Documentation]    Test ID: 7.3.1.41.1
    ...    Test title: POST Individual VNF Snapshot - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 5.4.24.3.1 - ETSI GS NFV-SOL 003 [1] v3.3.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none
    POST individual VNF Snapshot
    Check HTTP Response Status Code Is    405
    
GET Information about an individual VNF Snapshot - SUCCESSFUL
    [Documentation]    Test ID: 7.3.1.41.2
    ...    Test title: GET Information about an individual VNF Snapshot - SUCCESSFUL
    ...    Test objective: The objective is to GET information about an individual VNF Snapshot
    ...    Pre-conditions: none
    ...    Reference: Clause 5.4.24.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none
    GET individual VNF Snapshot
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    VnfSnapshotInfo
        
GET Information about an individual VNF Snapshot - NOT FOUND
     [Documentation]    Test ID: 7.3.1.41.3
    ...    Test title: GET Information about an individual VNF Snapshot - NOT FOUND
    ...    Test objective: The objective is to test that the retrieval of individual VNF Snapshot fails when using an invalid resource identifier.
    ...    Pre-conditions: At least one individual VNF Snapshot is available in the NFV-MANO.
    ...    Reference: Clause 5.4.24.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
    GET Individual VNF Snapshot with Invalid URI
    Check HTTP Response Status Code Is    404
    Check HTTP Response Body Json Schema Is   ProblemDetails

PUT Individual VNF Snapshot - Method not implemented 
     [Documentation]    Test ID: 7.3.1.41.4
    ...    Test title: PUT Individual VNF Snapshot - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
    ...    Reference: Clause 5.4.24.3.3 - ETSI GS NFV-SOL 003 [1] v3.3.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: VNF Snapshot not modified
    PUT individual VNF Snapshot
    Check HTTP Response Status Code Is    405

PATCH Individual VNF Snapshot - Success
    [Documentation]    Test ID: 7.3.1.41.5
    ...    Test title: PATCH Individual VNF Snapshot - Success
    ...    Test objective: The objective is to test that PATCH method successfully modifies an individual VNF Snapshot resource
    ...    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 modified
    PATCH individual VNF Snapshot
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    VnfSnapshotInfoModifications

PATCH Individual VNF Snapshot - Conflict
    [Documentation]    Test ID: 7.3.1.41.6
    ...    Test title: PATCH Individual VNF Snapshot - Success
    ...    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 Is    409 
    Check HTTP Response Body Json Schema Is   ProblemDetails

PATCH Individual VNF Snapshot - Precondition Failed
    [Documentation]    Test ID: 7.3.1.41.7
    ...    Test title: PATCH Individual VNF Snapshot - Precondition Failed
    ...    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 Is    412
    Check HTTP Response Body Json Schema Is   ProblemDetails

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
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: VNF Snapshot deleted
    DELETE individual VNF Snapshot
    Check HTTP Response Status Code Is    204

DELETE Individual VNF Snapshot - Conflict
     [Documentation]    Test ID: 7.3.1.41.9
    ...    Test title: DELETE Individual VNF Snapshot Conflict
    ...    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 Is    409
    Check HTTP Response Body Json Schema Is    ProblemDetails
 No newline at end of file
+7 −7
Original line number Original line Diff line number Diff line
@@ -9,7 +9,7 @@ Suite Setup Check resource existence


*** Test Cases ***
*** Test Cases ***
POST Revert to VNF Snapshot Task 
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 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.
    ...    Test objective: The objective is to test that POST method requests reverting a VNF/VNFC instance to a VNF/VNFC snapshot.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
@@ -22,7 +22,7 @@ POST Revert to VNF Snapshot Task
    Check HTTP Location Header Contains URI of Created Resource
    Check HTTP Location Header Contains URI of Created Resource


POST Revert to VNF Snapshot Task - NOT FOUND
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 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. 
    ...    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
    ...    Pre-conditions: none
@@ -35,7 +35,7 @@ POST Revert to VNF Snapshot Task - NOT FOUND
    Check HTTP Response Body Json Schema Is    ProblemDetails 
    Check HTTP Response Body Json Schema Is    ProblemDetails 


POST Revert to VNF Snapshot Task - CONFLICT
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 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. 
    ...    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
    ...    Pre-conditions: none
@@ -48,7 +48,7 @@ POST Revert to VNF Snapshot Task - CONFLICT
    Check HTTP Response Body Json Schema Is    ProblemDetails 
    Check HTTP Response Body Json Schema Is    ProblemDetails 


GET Revert to VNF Snapshot Task - Method not implemented
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 title: GET Revert to VNF Snapshot Task - Method not implemented
    ...    Test objective: The objective is to test that GET method is not implemented
    ...    Test objective: The objective is to test that GET method is not implemented
    ...    Pre-conditions: none
    ...    Pre-conditions: none
@@ -60,7 +60,7 @@ GET Revert to VNF Snapshot Task - Method not implemented
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405


PUT Revert to VNF Snapshot Task - Method not implemented
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 title: PUT Revert to VNF Snapshot Task - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
    ...    Pre-conditions: none
@@ -72,7 +72,7 @@ PUT Revert to VNF Snapshot Task - Method not implemented
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405


PATCH Revert to VNF Snapshot Task - Method not implemented
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 title: PATCH Revert to VNF Snapshot Task - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
    ...    Pre-conditions: none
@@ -84,7 +84,7 @@ PATCH Revert to VNF Snapshot Task - Method not implemented
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405
    
    
DELETE Revert to VNF Snapshot Task - Method not implemented
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 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 test that DELETE method is not implemented
    ...    Pre-conditions: none
    ...    Pre-conditions: none
+14 −14
Original line number Original line Diff line number Diff line
@@ -3,7 +3,7 @@ Resource VnfLcmMntOperationKeywords.robot


*** Test Cases ***
*** Test Cases ***
POST Create a new VNF Snapshot
POST Create a new VNF Snapshot
    [Documentation]    Test ID: 7.3.1.38.1
    [Documentation]    Test ID: 7.3.1.40.1
    ...    Test title: POST Create a new VNF Snapshot
    ...    Test title: POST Create a new VNF Snapshot
    ...    Test objective: The objective is to create a new VNF snapshot
    ...    Test objective: The objective is to create a new VNF snapshot
    ...    Pre-conditions: none
    ...    Pre-conditions: none
@@ -17,7 +17,7 @@ POST Create a new VNF Snapshot
    Check HTTP Location Header Contains URI of Created Resource
    Check HTTP Location Header Contains URI of Created Resource


GET information about multiple VNF Snapshots  
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 title: GET information about multiple VNF Snapshots
    ...    Test objective: The objective is to get information about multiples VNF snapshots
    ...    Test objective: The objective is to get information about multiples VNF snapshots
    ...    Pre-conditions: none
    ...    Pre-conditions: none
@@ -30,7 +30,7 @@ GET information about multiple VNF Snapshots
    Check HTTP Response Body Json Schema Is    VnfSnapshotsInfo
    Check HTTP Response Body Json Schema Is    VnfSnapshotsInfo
    
    
GET information about multiple VNF Snapshots Bad Request Invalid attribute-based filtering parameters
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 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
    ...    Test objective: The objective is to get information about multiples VNF Snapshots with Invalid attribute-based filtering parameters
    ...    Pre-conditions: none
    ...    Pre-conditions: none
@@ -43,7 +43,7 @@ GET information about multiple VNF Snapshots Bad Request Invalid attribute-based
    Check HTTP Response Body Json Schema Is   ProblemDetails
    Check HTTP Response Body Json Schema Is   ProblemDetails


GET information about multiple VNF Snapshots Bad Request Invalid attribute selector
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 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
    ...    Test objective: The objective is to get information about multiples VNF Snapshots with Invalid attribute-based filtering parameters
    ...    Pre-conditions: none
    ...    Pre-conditions: none
@@ -56,7 +56,7 @@ GET information about multiple VNF Snapshots Bad Request Invalid attribute selec
    Check HTTP Response Body Json Schema Is   ProblemDetails
    Check HTTP Response Body Json Schema Is   ProblemDetails


GET information about multiple VNF Snapshots with "all_fields" attribute selector
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 title: GET information about multiple VNF Snapshots with "all_fields" attribute selector
    ...    Test objective: The objective is to query information about multiple VNF Snapshots
    ...    Test objective: The objective is to query information about multiple VNF Snapshots
    ...    Pre-conditions:  none
    ...    Pre-conditions:  none
@@ -69,7 +69,7 @@ GET information about multiple VNF Snapshots with "all_fields" attribute selecto
    Check HTTP Response Body Json Schema Is    VnfSnapshotsInfo
    Check HTTP Response Body Json Schema Is    VnfSnapshotsInfo


GET information about multiple VNF Snapshots with "exclude_default" attribute selector
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 title: GET information about multiple VNF Snapshots with "exclude_default" attribute selector
    ...    Test objective: The objective is to query information about multiple VNF Snapshots
    ...    Test objective: The objective is to query information about multiple VNF Snapshots
    ...    Pre-conditions:  none
    ...    Pre-conditions:  none
@@ -82,7 +82,7 @@ GET information about multiple VNF Snapshots with "exclude_default" attribute se
    Check HTTP Response Body Json Schema Is    VnfSnapshotsInfo
    Check HTTP Response Body Json Schema Is    VnfSnapshotsInfo
    
    
GET information about multiple VNF Snapshots with "fields" attribute selector
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 title: GET information about multiple VNF Snapshots with "fields" attribute selector
    ...    Test objective: The objective is to query information about multiple VNF Snapshots
    ...    Test objective: The objective is to query information about multiple VNF Snapshots
    ...    Pre-conditions:  none
    ...    Pre-conditions:  none
@@ -95,7 +95,7 @@ GET information about multiple VNF Snapshots with "fields" attribute selector
    Check HTTP Response Body Json Schema Is    VnfSnapshotsInfo
    Check HTTP Response Body Json Schema Is    VnfSnapshotsInfo


GET information about multiple VNF Snapshots with "exclude_default" and "fields" attribute selector
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 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
    ...    Test objective: The objective is to query information about multiple VNF Snapshots
    ...    Pre-conditions:  none
    ...    Pre-conditions:  none
@@ -108,7 +108,7 @@ GET information about multiple VNF Snapshots with "exclude_default" and "fields"
    Check HTTP Response Body Json Schema Is    VnfSnapshotsInfo
    Check HTTP Response Body Json Schema Is    VnfSnapshotsInfo
    
    
GET information about multiple VNF Snapshots with "exclude_fields" attribute selector
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 title: GET information about multiple VNF Snapshots with "exclude_fields" attribute selector
    ...    Test objective: The objective is to query information about multiple VNF Snapshots
    ...    Test objective: The objective is to query information about multiple VNF Snapshots
    ...    Pre-conditions:  none
    ...    Pre-conditions:  none
@@ -121,7 +121,7 @@ GET information about multiple VNF Snapshots with "exclude_fields" attribute sel
    Check HTTP Response Body Json Schema Is    VnfSnapshotsInfo  
    Check HTTP Response Body Json Schema Is    VnfSnapshotsInfo  
    
    
GET VNF Snapshots - Bad Request Response too Big
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 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.
    ...    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
    ...    Pre-conditions: none
@@ -134,7 +134,7 @@ GET VNF Snapshots - Bad Request Response too Big
    Check HTTP Response Body Json Schema Is    ProblemDetails
    Check HTTP Response Body Json Schema Is    ProblemDetails


GET VNF Snapshots as Paged Response
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 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.
    ...    Test objective: The objective is to test that GET method retrieves the list of existing VNF Snapshots as paged response.
    ...    Pre-conditions: none
    ...    Pre-conditions: none
@@ -147,7 +147,7 @@ GET VNF Snapshots as Paged Response
    Check HTTP Response Header Contains Link
    Check HTTP Response Header Contains Link
        
        
PUT VNF Snapshots - Method not implemented
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 title: PUT VNF Snapshots - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions:  none
    ...    Pre-conditions:  none
@@ -159,7 +159,7 @@ PUT VNF Snapshots - Method not implemented
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405


PATCH VNF Snapshots - Method not implemented
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 title: PATCH VNF Snapshots - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none 
    ...    Pre-conditions: none 
@@ -171,7 +171,7 @@ PATCH VNF Snapshots - Method not implemented
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405


DELETE VNF Snapshots - Method not implemented
DELETE VNF Snapshots - Method not implemented
    [Documentation]    Test ID: 7.3.1.38.14
    [Documentation]    Test ID: 7.3.1.40.14
    ...    Test title: DELETE VNF Snapshots - Method not implemented
    ...    Test title: DELETE VNF Snapshots - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Pre-conditions: none 
    ...    Pre-conditions: none 
+115 −0
Original line number Original line Diff line number Diff line
*** Settings ***
Resource    VnfLcmMntOperationKeywords.robot 

*** Test Cases ***
POST VNF State Snapshot - Method not implemented
    [Documentation]    Test ID: 7.3.1.42.1
    ...    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 Is    405
    
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 Is    200
    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 Is    206
    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 Is    200
    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 Is    416

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 Is    409
    
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 Is    405

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 Is    405

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
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none
    DELETE VNF State Snapshot
    Check HTTP Response Status Code Is    405
 No newline at end of file
+163 −1

File changed.

Preview size limit exceeded, changes collapsed.

Loading