Commit 8f24878b authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

updated SOL011 test ids

parent ceb79763
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ Library JSONSchemaLibrary schemas/

*** Test Cases ***
POST API Version - Method not implemented
    [Documentation]    Test ID: 9.3.4.5.1
    [Documentation]    Test ID: 9.3.2.5.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
@@ -21,7 +21,7 @@ POST API Version - Method not implemented
	Check HTTP Response Status Code Is    405
    
GET API Version
    [Documentation]    Test ID: 9.3.4.5.2
    [Documentation]    Test ID: 9.3.2.5.2
    ...    Test title: GET API Version
    ...    Test objective: The objective is to test that GET method successfully return ApiVersionInformation
    ...    Pre-conditions: none
@@ -34,7 +34,7 @@ GET API Version
	Check HTTP Response Body Json Schema Is    ApiVersionInformation

PUT API Version - Method not implemented
    [Documentation]    Test ID: 9.3.4.5.3
    [Documentation]    Test ID: 9.3.2.5.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
@@ -46,7 +46,7 @@ PUT API Version - Method not implemented
	Check HTTP Response Status Code Is    405

PATCH API Version - Method not implemented
    [Documentation]    Test ID: 9.3.4.5.4
    [Documentation]    Test ID: 9.3.2.5.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
@@ -58,7 +58,7 @@ PATCH API Version - Method not implemented
	Check HTTP Response Status Code Is    405
    
DELETE API Version - Method not implemented
    [Documentation]    Test ID: 9.3.4.5.5
    [Documentation]    Test ID: 9.3.2.5.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
@@ -70,7 +70,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: 9.3.4.5.6
    [Documentation]    Test ID: 9.3.2.5.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
@@ -82,7 +82,7 @@ POST API Version with apiMajorVerion - Method not implemented
	Check HTTP Response Status Code Is    405
    
GET API Version with apiMajorVerion
    [Documentation]    Test ID: 9.3.4.5.7
    [Documentation]    Test ID: 9.3.2.5.7
    ...    Test title: GET API Version with apiMajorVerion
    ...    Test objective: The objective is to test that GET method successfully return ApiVersionInformation
    ...    Pre-conditions: none
@@ -95,7 +95,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: 9.3.4.5.8
    [Documentation]    Test ID: 9.3.2.5.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
@@ -107,7 +107,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: 9.3.4.5.9
    [Documentation]    Test ID: 9.3.2.5.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
@@ -119,7 +119,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: 9.3.4.5.10
    [Documentation]    Test ID: 9.3.2.5.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
@@ -8,7 +8,7 @@ Library JSONSchemaLibrary schemas/

*** Test Cases ***
POST Individual Subscription - Method not implemented
    [Documentation]    Test ID: 9.3.4.2.1
    [Documentation]    Test ID: 9.3.2.2.1
    ...    Test title: POST Individual Subscription - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented
    ...    Pre-conditions: none
@@ -20,7 +20,7 @@ POST Individual Subscription - Method not implemented
    Check HTTP Response Status Code Is    405

GET Information about an individual subscription - Successful
     [Documentation]    Test ID: 9.3.4.2.2
     [Documentation]    Test ID: 9.3.2.2.2
    ...    Test title: GET Information about an individual subscription - Successful
    ...    Test objective: The objective is to test the retrieval of NS instance usage notification subscription and perform a JSON schema validation of the returned subscription data structure
    ...    Pre-conditions: An NS instance is instantiated. At least one NS instance usage notification subscription is available in the NFVO.
@@ -33,7 +33,7 @@ GET Information about an individual subscription - Successful
    Check HTTP Response Body Json Schema Is   subscription

PUT an individual subscription - Method not implemented
     [Documentation]    Test ID: 9.3.4.2.3
     [Documentation]    Test ID: 9.3.2.2.3
    ...    Test title: PUT an individual subscription - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
@@ -45,7 +45,7 @@ PUT an individual subscription - Method not implemented
    Check HTTP Response Status Code Is    405

PATCH an individual subscription - Method not implemented
     [Documentation]    Test ID: 9.3.4.2.4
     [Documentation]    Test ID: 9.3.2.2.4
    ...    Test title: PATCH an individual subscription - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
@@ -57,7 +57,7 @@ PATCH an individual subscription - Method not implemented
    Check HTTP Response Status Code Is    405
    
DELETE an individual subscription
     [Documentation]    Test ID: 9.3.4.2.5
     [Documentation]    Test ID: 9.3.2.2.5
    ...    Test title: DELETE an individual subscription
    ...    Test objective: The objective is to test that DELETE method deletes an individual subscription
    ...    Pre-conditions: At least one instance usage notification subscription is available in the NFVO
@@ -70,7 +70,7 @@ DELETE an individual subscription
    Check Postcondition Individual Subscription is Deleted
    
GET Information about an individual subscription - NOT FOUND
     [Documentation]    Test ID: 9.3.4.2.6
     [Documentation]    Test ID: 9.3.2.2.6
    ...    Test title: GET Information about an individual subscription - NOT FOUND
    ...    Test objective: The objective is to test that the retrieval of individual NS instance usage notification subscription fails when using an invalid resource identifier.
    ...    Pre-conditions: An NS instance is instantiated. At least one NS instance usage notification subscription is available in the NFVO.
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ Suite Setup Check resource existence and get CallbackUri

*** Test Cases ***
NS Instance Usage Notification
    [Documentation]    Test ID: 9.3.4.4.1
    [Documentation]    Test ID: 9.3.2.4.1
    ...    Test title: NS Instance Usage Notification
    ...    Test objective: The objective is to test that NS Instance Usage Notification is delivered with success to the notification consumer
    ...    Pre-conditions: A subscription for instance usage notification is available in the NFVO.
+2 −2
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ Library Collections

*** Test Cases ***
NS Instance Usage START Notification
    [Documentation]    Test ID: 9.3.4.3.1
    [Documentation]    Test ID: 9.3.2.3.1
    ...    Test title: NS Instance Usage START Notification
    ...    Test objective: The objective is to test the dispatch of NS Instance Usage Start Notification when the usage of an NS instance is started, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system.
    ...    Pre-conditions: A subscription for NS instance usage notification is available in the NFVO.
@@ -23,7 +23,7 @@ NS Instance Usage START Notification
    Check NS Instance Usage Start Notification Http POST Request Body notificationStatus attribute Is    START

NS Instance Usage END Notification
    [Documentation]    Test ID: 9.3.4.3.2
    [Documentation]    Test ID: 9.3.2.3.2
    ...    Test title: NS Instance Usage END Notification
    ...    Test objective: The objective is to test the dispatch of NS Instance Usage End Notification when the usage of an NS instance is ended, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system.
    ...    Pre-conditions: A subscription for NS instance usage notification is available in the NFVO.
+16 −16
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ Library JSONSchemaLibrary schemas/

*** Test Cases ***
POST Create a new subscription
    [Documentation]    Test ID: 9.3.4.1.1
    [Documentation]    Test ID: 9.3.2.1.1
    ...    Test title: POST Create a new subscription
    ...    Test objective: The objective is to test that POST method creates a subscription
    ...    Pre-conditions: none
@@ -24,7 +24,7 @@ POST Create a new subscription
    Check Postcondition Subscription Is Set 

POST Create a new Subscription - DUPLICATION
    [Documentation]    Test ID: 9.3.4.1.2
    [Documentation]    Test ID: 9.3.2.1.2
    ...    Test title: POST Create a new subscription - DUPLICATION
    ...    Test objective: The objective is to test that POST method creates a duplicate subscription 
    ...    Pre-conditions: A subscription shall already exist 
@@ -40,7 +40,7 @@ POST Create a new Subscription - DUPLICATION
    Check Postcondition Subscription Resource Returned in Location Header Is Available
    
POST Create a new Subscription - NO-DUPLICATION
    [Documentation]    Test ID: 9.3.4.1.3
    [Documentation]    Test ID: 9.3.2.1.3
    ...    Test title: POST Create a new subscription - NO-DUPLICATION
    ...    Test objective: The objective is to test that POST method cannot create a duplicate subscription 
    ...    Pre-conditions: A subscription shall already exist
@@ -55,7 +55,7 @@ POST Create a new Subscription - NO-DUPLICATION
    Check Postcondition Subscription Is Set
    
GET Subscriptions
    [Documentation]    Test ID: 9.3.4.1.4
    [Documentation]    Test ID: 9.3.2.1.4
    ...    Test title: GET Subscriptions
    ...    Test objective: The objective is to test that GET method retrieves the list of existing subscriptions
    ...    Pre-conditions: none
@@ -68,7 +68,7 @@ GET Subscriptions
    Check HTTP Response Body Json Schema Is  subscriptions

GET Subscription - Filter
    [Documentation]    Test ID: 9.3.4.1.5
    [Documentation]    Test ID: 9.3.2.1.5
    ...    Test title: GET Subscription - Filter
    ...    Test objective: The objective is GET the list of active subscriptions using a filter
    ...    Pre-conditions: none
@@ -81,7 +81,7 @@ GET Subscription - Filter
    Check HTTP Response Body Json Schema Is  subscriptions
    
GET subscriptions - Bad Request Invalid attribute-based filtering parameters
    [Documentation]    Test ID: 9.3.4.1.6
    [Documentation]    Test ID: 9.3.2.1.6
    ...    Test title: GET subscriptions - Bad Request Invalid attribute-based filtering parameters
    ...    Test objective: The objective is GET the list of active subscriptions using an invalid filter
    ...    Pre-conditions: none
@@ -94,7 +94,7 @@ GET subscriptions - Bad Request Invalid attribute-based filtering parameters
    Check HTTP Response Body Json Schema Is    ProblemDetails

GET subscriptions - Bad Request Response too Big
    [Documentation]    Test ID: 9.3.4.1.7
    [Documentation]    Test ID: 9.3.2.1.7
    ...    Test title: GET subscriptions - Bad Request Response too Big
    ...    Test objective: The objective is test that the retrieval of active subscriptions list fails because response is too big, and perform the JSON schema validation of the failed operation HTTP response.
    ...    Pre-conditions: none
@@ -107,7 +107,7 @@ GET subscriptions - Bad Request Response too Big
    Check HTTP Response Body Json Schema Is    ProblemDetails
    
GET subscriptions with "all_fields" attribute selector
    [Documentation]    Test ID: 9.3.4.1.8
    [Documentation]    Test ID: 9.3.2.1.8
    ...    Test title: GET subscriptions with "all_fields" attribute selector
    ...    Test objective: The objective is to retrieve the list of active subscriptions with "all_fields" attribute selector
    ...    Pre-conditions: none
@@ -120,7 +120,7 @@ GET subscriptions with "all_fields" attribute selector
    Check HTTP Response Body Json Schema Is   subscriptions 

GET subscriptions with "exclude_default" attribute selector
    [Documentation]    Test ID: 9.3.4.1.9
    [Documentation]    Test ID: 9.3.2.1.9
    ...    Test title: GET subscriptions with "exclude_default" attribute selector
    ...    Test objective: The objective is to retrieve the list of active subscriptions with "exclude_default"s attribute selector
    ...    Pre-conditions: none
@@ -133,7 +133,7 @@ GET subscriptions with "exclude_default" attribute selector
    Check HTTP Response Body Json Schema Is   subscriptions

GET subscriptions with "fields" attribute selector
    [Documentation]    Test ID: 9.3.4.1.10
    [Documentation]    Test ID: 9.3.2.1.10
    ...    Test title: GET subscriptions with "fields" attribute selector
    ...    Test objective: The objective is to retrieve the list of active subscriptions with "fields" attribute selector
    ...    Pre-conditions: none
@@ -146,7 +146,7 @@ GET subscriptions with "fields" attribute selector
    Check HTTP Response Body Json Schema Is   subscriptions

GET subscriptions with "exclude_fields" attribute selector
    [Documentation]    Test ID: 9.3.4.1.11
    [Documentation]    Test ID: 9.3.2.1.11
    ...    Test title: GET subscriptions with "exclude_fields" attribute selector
    ...    Test objective: The objective is to retrieve the list of active subscriptions with "exclude_fields" attribute selector
    ...    Pre-conditions: none
@@ -159,7 +159,7 @@ GET subscriptions with "exclude_fields" attribute selector
    Check HTTP Response Body Json Schema Is   subscriptions  
        
GET Subscriptions as Paged Response
    [Documentation]    Test ID: 9.3.4.1.12
    [Documentation]    Test ID: 9.3.2.1.12
    ...    Test title: GET Subscriptions as Paged Response
    ...    Test objective: The objective is to test that GET method  retrieve the list of existing subscriptions as paged response.
    ...    Pre-conditions: none
@@ -172,7 +172,7 @@ GET Subscriptions as Paged Response
    Check HTTP Response Header Contains Link
        
PUT subscriptions - Method not implemented
     [Documentation]    Test ID: 9.3.4.1.13
     [Documentation]    Test ID: 9.3.2.1.13
    ...    Test title: PUT subscriptions - Method not implemented
    ...    Test objective: The objective is to test that PUT method cannot modify a NS instance usage subscription
    ...    Pre-conditions: none
@@ -184,7 +184,7 @@ PUT subscriptions - Method not implemented
    Check HTTP Response Status Code Is    405

PATCH subscriptions - Method not implemented
    [Documentation]    Test ID: 9.3.4.1.14
    [Documentation]    Test ID: 9.3.2.1.14
    ...    Test title: PATCH subscriptions - Method not implemented
    ...    Test objective: The objective is to test that PUT method cannot modify a NS instance usage subscription
    ...    Pre-conditions: none
@@ -196,7 +196,7 @@ PATCH subscriptions - Method not implemented
    Check HTTP Response Status Code Is    405

DELETE subscriptions - Method not implemented
    [Documentation]    Test ID: 9.3.4.1.15
    [Documentation]    Test ID: 9.3.2.1.15
    ...    Test title: DELETE subscriptions - Method not implemented
    ...    Test objective: The objective is to test that DELETE method cannot delete a NS instance usage subscription
    ...    Pre-conditions: none
@@ -209,7 +209,7 @@ DELETE subscriptions - Method not implemented
    Check Postcondition Subscriptions Exist
    
GET subscriptions with "exclude_default" and "fields" attribute selector
    [Documentation]    Test ID: 9.3.4.1.16
    [Documentation]    Test ID: 9.3.2.1.16
    ...    Test title: GET subscriptions with "exclude_default" and "fields" attribute selector
    ...    Test objective: The objective is to retrieve the list of active subscriptions with "exclude_default" and "fields" attribute selector
    ...    Pre-conditions: 
Loading