Commit 57d99aad authored by Hammad Zafar's avatar Hammad Zafar Committed by Giacomo Bernini
Browse files

corrected Test IDs and added minor bug fixes

parent 1ad824c7
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ Resource VnfSnapshotPackageManagementKeywords.robot

*** Test Cases ***
POST Access Configuration for External Artifacts - Method not implemented
    [Documentation]    Test ID: 5.3.6.9.1
    [Documentation]    Test ID: 5.3.7.9.1
    ...    Test title: POST Access Configuration for External Artifacts - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented
    ...    Pre-conditions: Individual VNF Snapshot Package resource have been created.
@@ -15,7 +15,7 @@ POST Access Configuration for External Artifacts - Method not implemented
    Check HTTP Response Status Code Is    405
    
GET Access Configuration for External Artifacts
    [Documentation]    Test ID: 5.3.6.9.2
    [Documentation]    Test ID: 5.3.7.9.2
    ...    Test title: GET Access Configuration for External Artifacts
    ...    Test objective: The objective is to test that GET method reads the access configuration information that is used by the NFVO to get the content of external VNF snapshot package artifacts.
    ...    Pre-conditions: Individual VNF Snapshot Package resource have been created.
@@ -28,7 +28,7 @@ GET Access Configuration for External Artifacts
    Check HTTP Response Body Json Schema Is   VnfSnapshotPkgExtArtifactsAccessInfo
    
PUT Access Configuration for External Artifacts
    [Documentation]    Test ID: 5.3.6.9.3
    [Documentation]    Test ID: 5.3.7.9.3
    ...    Test title: PUT Access Configuration for External Artifacts
    ...    Test objective: The objective is to test that PUT method provides the access configuration information for the NFVO to download the content of external VNF package artifacts.
    ...    Pre-conditions: Individual VNF Snapshot Package resource have been created.
@@ -41,7 +41,7 @@ PUT Access Configuration for External Artifacts
    Check HTTP Response Body Json Schema Is   VnfSnapshotPkgExtArtifactsAccessInfo

PUT Access Configuration for External Artifacts - Conflict
    [Documentation]    Test ID: 5.3.6.9.4
    [Documentation]    Test ID: 5.3.7.9.4
    ...    Test title: PUT Access Configuration for External Artifacts - Conflict
    ...    Test objective: The objective is to test that PUT method cannot provide the access configuration information to the NFVO when the VNF Snapshot Package resource is not in CREATED or ERROR state.
    ...    Pre-conditions: Individual VNF Snapshot Package resource have been created.
@@ -54,7 +54,7 @@ PUT Access Configuration for External Artifacts - Conflict
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
PATCH Access Configuration for External Artifacts - Method Not implemented
    [Documentation]    Test ID: 5.3.6.9.5
    [Documentation]    Test ID: 5.3.7.9.5
    ...    Test title: PATCH Access Configuration for External Artifacts - Method Not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
@@ -66,7 +66,7 @@ PATCH Access Configuration for External Artifacts - Method Not implemented
    Check HTTP Response Status Code Is    405

DELETE Access Configuration for External Artifacts - Method Not implemented 
    [Documentation]    Test ID: 5.3.6.9.6
    [Documentation]    Test ID: 5.3.7.9.6
    ...    Test title: DELETE Access Configuration for External Artifacts - Method Not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Pre-conditions: none
+10 −10
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ Resource VnfSnapshotPackageManagementKeywords.robot

*** Test Cases ***
POST API Version - Method not implemented
    [Documentation]    Test ID: 5.3.6.1.1
    [Documentation]    Test ID: 5.3.7.1.1
    ...    Test title: POST API version - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented
    ...    Pre-conditions: none
@@ -15,7 +15,7 @@ POST API Version - Method not implemented
	Check HTTP Response Status Code Is    405
    
GET API Version
    [Documentation]    Test ID: 5.3.6.1.2
    [Documentation]    Test ID: 5.3.7.1.2
    ...    Test title: GET API Version
    ...    Test objective: The objective is to test that GET method successfully return ApiVersionInformation
    ...    Pre-conditions: none
@@ -28,7 +28,7 @@ GET API Version
	Check HTTP Response Body Json Schema Is    ApiVersionInformation

PUT API Version - Method not implemented
    [Documentation]    Test ID: 5.3.6.1.3
    [Documentation]    Test ID: 5.3.7.1.3
    ...    Test title: PUT API Version - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
@@ -40,7 +40,7 @@ PUT API Version - Method not implemented
	Check HTTP Response Status Code Is    405

PATCH API Version - Method not implemented
    [Documentation]    Test ID: 5.3.6.1.4
    [Documentation]    Test ID: 5.3.7.1.4
    ...    Test title: PATCH API Version - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
@@ -52,7 +52,7 @@ PATCH API Version - Method not implemented
	Check HTTP Response Status Code Is    405
    
DELETE API Version - Method not implemented
    [Documentation]    Test ID: 5.3.6.1.5
    [Documentation]    Test ID: 5.3.7.1.5
    ...    Test title: DELETE API Version - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Pre-conditions: none
@@ -64,7 +64,7 @@ DELETE API Version - Method not implemented
	Check HTTP Response Status Code Is    405
	
POST API Version with apiMajorVerion - Method not implemented
    [Documentation]    Test ID: 5.3.6.1.6
    [Documentation]    Test ID: 5.3.7.1.6
    ...    Test title: POST API version with apiMajorVerion - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented
    ...    Pre-conditions: none
@@ -76,7 +76,7 @@ POST API Version with apiMajorVerion - Method not implemented
	Check HTTP Response Status Code Is    405
    
GET API Version with apiMajorVerion
    [Documentation]    Test ID: 5.3.6.1.7
    [Documentation]    Test ID: 5.3.7.1.7
    ...    Test title: GET API Version with apiMajorVerion
    ...    Test objective: The objective is to test that GET method successfully return ApiVersionInformation
    ...    Pre-conditions: none
@@ -89,7 +89,7 @@ GET API Version with apiMajorVerion
	Check HTTP Response Body Json Schema Is    ApiVersionInformation

PUT API Version with apiMajorVerion - Method not implemented
    [Documentation]    Test ID: 5.3.6.1.8
    [Documentation]    Test ID: 5.3.7.1.8
    ...    Test title: PUT API Version with apiMajorVerion - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
@@ -101,7 +101,7 @@ PUT API Version with apiMajorVerion - Method not implemented
	Check HTTP Response Status Code Is    405

PATCH API Version with apiMajorVerion - Method not implemented
    [Documentation]    Test ID: 5.3.6.1.9
    [Documentation]    Test ID: 5.3.7.1.9
    ...    Test title: PATCH API Version with apiMajorVerion - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
@@ -113,7 +113,7 @@ PATCH API Version with apiMajorVerion - Method not implemented
	Check HTTP Response Status Code Is    405
    
DELETE API Version with apiMajorVerion - Method not implemented
    [Documentation]    Test ID: 5.3.6.1.10
    [Documentation]    Test ID: 5.3.7.1.10
    ...    Test title: DELETE API Version with apiMajorVerion - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Pre-conditions: none
+6 −6
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ Resource VnfSnapshotPackageManagementKeywords.robot

*** Test Cases ***
POST Build VNF Snapshot Package Content Task
    [Documentation]    Test ID: 5.3.6.6.1
    [Documentation]    Test ID: 5.3.7.6.1
    ...    Test title: POST Build VNF Snapshot Package Content Task
    ...    Test objective: The objective is to test that POST method provides the information for the NFVO to start building the content of a VNF snapshot package.
    ...    Pre-conditions: none
@@ -15,7 +15,7 @@ POST Build VNF Snapshot Package Content Task
    Check HTTP Response Status Code Is    202 

POST Build VNF Snapshot Package Content Task - Conflict
    [Documentation]    Test ID: 5.3.6.6.2
    [Documentation]    Test ID: 5.3.7.6.2
    ...    Test title: POST Build VNF Snapshot Package Content Task - Conflict
    ...    Test objective: The objective is to test that a correct error code is returned when the POST method tries to intiate building of VNF Snapshot Package and the state of the VNF snapshot package resource is other than "CREATED".
    ...    Pre-conditions: none
@@ -28,7 +28,7 @@ POST Build VNF Snapshot Package Content Task - Conflict
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
GET Build VNF Snapshot Package Content Task - Method Not implemented
    [Documentation]    Test ID: 5.3.6.6.3
    [Documentation]    Test ID: 5.3.7.6.3
    ...    Test title: GET Build VNF Snapshot Package Content Task - Method Not implemented
    ...    Test objective: The objective is to test that GET method is not implemented
    ...    Pre-conditions: none
@@ -40,7 +40,7 @@ GET Build VNF Snapshot Package Content Task - Method Not implemented
    Check HTTP Response Status Code Is    405

PUT Build VNF Snapshot Package Content Task - Method Not implemented
    [Documentation]    Test ID: 5.3.6.6.4
    [Documentation]    Test ID: 5.3.7.6.4
    ...    Test title: PUT Build VNF Snapshot Package Content Task - Method Not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
@@ -52,7 +52,7 @@ PUT Build VNF Snapshot Package Content Task - Method Not implemented
    Check HTTP Response Status Code Is    405
    
PATCH Build VNF Snapshot Package Content Task - Method Not implemented
    [Documentation]    Test ID: 5.3.6.6.5
    [Documentation]    Test ID: 5.3.7.6.5
    ...    Test title: PATCH Build VNF Snapshot Package Content Task - Method Not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
@@ -64,7 +64,7 @@ PATCH Build VNF Snapshot Package Content Task - Method Not implemented
    Check HTTP Response Status Code Is    405

DELETE Build VNF Snapshot Package Content Task - Method Not implemented 
    [Documentation]    Test ID: 5.3.6.6.6
    [Documentation]    Test ID: 5.3.7.6.6
    ...    Test title: DELETE Build VNF Snapshot Package Content Task - Method Not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Pre-conditions: none
+6 −6
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ Resource VnfSnapshotPackageManagementKeywords.robot

*** Test Cases ***
POST Cancel VNF Snapshot Package Content Task
    [Documentation]    Test ID: 5.3.6.8.1
    [Documentation]    Test ID: 5.3.7.8.1
    ...    Test title: POST Cancel VNF Snapshot Package Content Task
    ...    Test objective: The objective is to test that  POST method provides the information for the NFVO to cancel the ongoing operation related to the content of a VNF snapshot package.
    ...    Pre-conditions: none
@@ -15,7 +15,7 @@ POST Cancel VNF Snapshot Package Content Task
    Check HTTP Response Status Code Is    202 

POST Cancel VNF Snapshot Package Content Task - Conflict
    [Documentation]    Test ID: 5.3.6.8.2
    [Documentation]    Test ID: 5.3.7.8.2
    ...    Test title: POST Cancel VNF Snapshot Package Content Task - Conflict
    ...    Test objective: The objective is to test that a correct error code is returned when the POST method tries to cancel a VNF Snapshot Package task and the state of the VNF snapshot package resource is other than "UPLOADING", "BUILDING", "PROCESSING" or "EXTRACTING".
    ...    Pre-conditions: none
@@ -28,7 +28,7 @@ POST Cancel VNF Snapshot Package Content Task - Conflict
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
GET Cancel VNF Snapshot Package Content Task - Method Not implemented
    [Documentation]    Test ID: 5.3.6.8.3
    [Documentation]    Test ID: 5.3.7.8.3
    ...    Test title: GET Cancel VNF Snapshot Package Content Task - Method Not implemented
    ...    Test objective: The objective is to test that GET method is not implemented
    ...    Pre-conditions: none
@@ -40,7 +40,7 @@ GET Cancel VNF Snapshot Package Content Task - Method Not implemented
    Check HTTP Response Status Code Is    405

PUT Cancel VNF Snapshot Package Content Task - Method Not implemented
    [Documentation]    Test ID: 5.3.6.8.4
    [Documentation]    Test ID: 5.3.7.8.4
    ...    Test title: PUT Cancel VNF Snapshot Package Content Task - Method Not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
@@ -52,7 +52,7 @@ PUT Cancel VNF Snapshot Package Content Task - Method Not implemented
    Check HTTP Response Status Code Is    405
    
PATCH Cancel VNF Snapshot Package Content Task - Method Not implemented
    [Documentation]    Test ID: 5.3.6.8.5
    [Documentation]    Test ID: 5.3.7.8.5
    ...    Test title: PATCH Cancel VNF Snapshot Package Content Task - Method Not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
@@ -64,7 +64,7 @@ PATCH Cancel VNF Snapshot Package Content Task - Method Not implemented
    Check HTTP Response Status Code Is    405

DELETE Cancel VNF Snapshot Package Content Task - Method Not implemented 
    [Documentation]    Test ID: 5.3.6.8.6
    [Documentation]    Test ID: 5.3.7.8.6
    ...    Test title: DELETE Cancel VNF Snapshot Package Content Task - Method Not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Pre-conditions: none
+7 −7
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ Resource VnfSnapshotPackageManagementKeywords.robot

*** Test Cases ***
POST Extract VNF Snapshot Package Content Task
    [Documentation]    Test ID: 5.3.6.7.1
    [Documentation]    Test ID: 5.3.7.7.1
    ...    Test title: POST Extract VNF Snapshot Package Content Task
    ...    Test objective: The objective is to test that POST method provides the information for the NFVO to start extracting the content of a VNF snapshot package.
    ...    Pre-conditions: none
@@ -15,7 +15,7 @@ POST Extract VNF Snapshot Package Content Task
    Check HTTP Response Status Code Is    202 

POST Extract VNF Snapshot Package Content Task - Conflict State
    [Documentation]    Test ID: 5.3.6.7.2
    [Documentation]    Test ID: 5.3.7.7.2
    ...    Test title: POST Extract VNF Snapshot Package Content Task - Conflict
    ...    Test objective: The objective is to test that a correct error code is returned when the POST method tries to intiate extraction of VNF Snapshot Package and the state of the VNF snapshot package resource is other than "AVAILABLE".
    ...    Pre-conditions: none
@@ -28,7 +28,7 @@ POST Extract VNF Snapshot Package Content Task - Conflict State
    Check HTTP Response Body Json Schema Is   ProblemDetails

POST Extract VNF Snapshot Package Content Task - Invalid VnfInstanceId
    [Documentation]    Test ID: 5.3.6.7.3
    [Documentation]    Test ID: 5.3.7.7.3
    ...    Test title: POST Extract VNF Snapshot Package Content Task - Conflict
    ...    Test objective: The objective is to test that a correct error code is returned when the POST method tries to intiate extraction of VNF Snapshot Package using an invalid VnfInstanceId in the request body.
    ...    Pre-conditions: none
@@ -41,7 +41,7 @@ POST Extract VNF Snapshot Package Content Task - Invalid VnfInstanceId
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
GET Extract VNF Snapshot Package Content Task - Method Not implemented
    [Documentation]    Test ID: 5.3.6.7.4
    [Documentation]    Test ID: 5.3.7.7.4
    ...    Test title: GET Extract VNF Snapshot Package Content Task - Method Not implemented
    ...    Test objective: The objective is to test that GET method is not implemented
    ...    Pre-conditions: none
@@ -53,7 +53,7 @@ GET Extract VNF Snapshot Package Content Task - Method Not implemented
    Check HTTP Response Status Code Is    405

PUT Extract VNF Snapshot Package Content Task - Method Not implemented
    [Documentation]    Test ID: 5.3.6.7.5
    [Documentation]    Test ID: 5.3.7.7.5
    ...    Test title: PUT Extract VNF Snapshot Package Content Task - Method Not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
@@ -65,7 +65,7 @@ PUT Extract VNF Snapshot Package Content Task - Method Not implemented
    Check HTTP Response Status Code Is    405
    
PATCH Extract VNF Snapshot Package Content Task - Method Not implemented
    [Documentation]    Test ID: 5.3.6.7.6
    [Documentation]    Test ID: 5.3.7.7.6
    ...    Test title: PATCH Extract VNF Snapshot Package Content Task - Method Not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
@@ -77,7 +77,7 @@ PATCH Extract VNF Snapshot Package Content Task - Method Not implemented
    Check HTTP Response Status Code Is    405

DELETE Extract VNF Snapshot Package Content Task - Method Not implemented 
    [Documentation]    Test ID: 5.3.6.7.7
    [Documentation]    Test ID: 5.3.7.7.7
    ...    Test title: DELETE Extract VNF Snapshot Package Content Task - Method Not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Pre-conditions: none
Loading