Commit f3bc98ce authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

Fixed TEST IDs mismatches in SOL002

parent f724887d
Loading
Loading
Loading
Loading
+18 −18
Original line number Original line Diff line number Diff line
@@ -46,7 +46,7 @@ Create a new Subscription - NO-DUPLICATION
    Check HTTP Response Status Code Is    303
    Check HTTP Response Status Code Is    303


GET Subscriptions
GET Subscriptions
    [Documentation]    Test ID: 6.3.4.4.5
    [Documentation]    Test ID: 6.3.4.4.4
    ...    Test title: GET Subscriptions
    ...    Test title: GET Subscriptions
    ...    Test objective: The objective is to retrieve the list of active subscriptions
    ...    Test objective: The objective is to retrieve the list of active subscriptions
    ...    Pre-conditions: 
    ...    Pre-conditions: 
@@ -59,7 +59,7 @@ GET Subscriptions
    Check HTTP Response Body Json Schema Is   FmSubscriptions 
    Check HTTP Response Body Json Schema Is   FmSubscriptions 


GET Subscription - Filter
GET Subscription - Filter
    [Documentation]    Test ID: 6.3.4.4.6
    [Documentation]    Test ID: 6.3.4.4.5
    ...    Test title: GET Subscription - Filter
    ...    Test title: GET Subscription - Filter
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter
    ...    Pre-conditions: 
    ...    Pre-conditions: 
@@ -72,7 +72,7 @@ GET Subscription - Filter
    Check HTTP Response Body Json Schema Is   FmSubscriptions 
    Check HTTP Response Body Json Schema Is   FmSubscriptions 
    
    
GET subscriptions - Bad Request Invalid attribute-based filtering parameters
GET subscriptions - Bad Request Invalid attribute-based filtering parameters
    [Documentation]    Test ID: 6.3.4.4.7
    [Documentation]    Test ID: 6.3.4.4.6
    ...    Test title: GET subscriptions - Bad Request Invalid attribute-based filtering parameters
    ...    Test title: GET subscriptions - Bad Request Invalid attribute-based filtering parameters
    ...    Test objective: The objective is to retrieve the list of active subscriptions with Invalid attribute-based filtering parameters
    ...    Test objective: The objective is to retrieve the list of active subscriptions with Invalid attribute-based filtering parameters
    ...    Pre-conditions: 
    ...    Pre-conditions: 
@@ -85,7 +85,7 @@ GET subscriptions - Bad Request Invalid attribute-based filtering parameters
    Check HTTP Response Body Json Schema Is   ProblemDetails 
    Check HTTP Response Body Json Schema Is   ProblemDetails 


GET subscriptions with "all_fields" attribute selector
GET subscriptions with "all_fields" attribute selector
    [Documentation]    Test ID: 6.3.4.4.8
    [Documentation]    Test ID: 6.3.4.4.7
    ...    Test title: GET subscriptions with "all_fields" attribute selector
    ...    Test title: GET subscriptions with "all_fields" attribute selector
    ...    Test objective: The objective is to retrieve the list of active subscriptions with attribute selector
    ...    Test objective: The objective is to retrieve the list of active subscriptions with attribute selector
    ...    Pre-conditions: 
    ...    Pre-conditions: 
@@ -98,7 +98,7 @@ GET subscriptions with "all_fields" attribute selector
    Check HTTP Response Body Json Schema Is   FmSubscriptions 
    Check HTTP Response Body Json Schema Is   FmSubscriptions 


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


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


GET subscriptions with "exclude_fields" attribute selector
GET subscriptions with "exclude_fields" attribute selector
    [Documentation]    Test ID: 6.3.4.4.11
    [Documentation]    Test ID: 6.3.4.4.10
    ...    Test title: GET subscriptions with "exclude_fields" attribute selector
    ...    Test title: GET subscriptions with "exclude_fields" attribute selector
    ...    Test objective: The objective is to retrieve the list of active subscriptions with attribute selector
    ...    Test objective: The objective is to retrieve the list of active subscriptions with attribute selector
    ...    Pre-conditions: 
    ...    Pre-conditions: 
@@ -139,7 +139,7 @@ GET subscriptions with "exclude_fields" attribute selector


        
        
PUT subscriptions - Method not implemented
PUT subscriptions - Method not implemented
    [Documentation]    Test ID: 6.3.4.4.8
    [Documentation]    Test ID: 6.3.4.4.11
    ...    Test title: PUT subscriptions - Method not implemented
    ...    Test title: PUT subscriptions - Method not implemented
    ...    Test objective: The objective is to test that the method is not implemented
    ...    Test objective: The objective is to test that the method is not implemented
    ...    Pre-conditions: 
    ...    Pre-conditions: 
@@ -151,7 +151,7 @@ PUT subscriptions - Method not implemented
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405


PATCH subscriptions - Method not implemented
PATCH subscriptions - Method not implemented
    [Documentation]    Test ID: 6.3.4.4.9
    [Documentation]    Test ID: 6.3.4.4.12
    ...    Test title: PUT subscriptions - Method not implemented
    ...    Test title: PUT subscriptions - Method not implemented
    ...    Test objective: The objective is to test that the method is not implemented
    ...    Test objective: The objective is to test that the method is not implemented
    ...    Pre-conditions: 
    ...    Pre-conditions: 
@@ -163,7 +163,7 @@ PATCH subscriptions - Method not implemented
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405


DELETE subscriptions - Method not implemented
DELETE subscriptions - Method not implemented
    [Documentation]    Test ID: 6.3.4.4.10
    [Documentation]    Test ID: 6.3.4.4.13
    ...    Test title: DELETE subscriptions - Method not implemented
    ...    Test title: DELETE subscriptions - Method not implemented
    ...    Test objective: The objective is to test that the method is not implemented
    ...    Test objective: The objective is to test that the method is not implemented
    ...    Pre-conditions: 
    ...    Pre-conditions: 
@@ -175,7 +175,7 @@ DELETE subscriptions - Method not implemented
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405
    
    
GET Subscriptions to get Paged Response
GET Subscriptions to get Paged Response
    [Documentation]    Test ID: 6.3.4.4.11
    [Documentation]    Test ID: 6.3.4.4.14
    ...    Test title: GET Subscriptions to get Paged Response
    ...    Test title: GET Subscriptions to get Paged Response
    ...    Test objective: The objective is to retrieve the list of active subscriptions to get paged response
    ...    Test objective: The objective is to retrieve the list of active subscriptions to get paged response
    ...    Pre-conditions: 
    ...    Pre-conditions: 
@@ -188,7 +188,7 @@ GET Subscriptions to get Paged Response
    Check LINK in Header
    Check LINK in Header
    
    
GET subscriptions - Bad Request Response too Big
GET subscriptions - Bad Request Response too Big
    [Documentation]    Test ID: 6.3.4.4.12
    [Documentation]    Test ID: 6.3.4.4.15
    ...    Test title: GET subscriptions - Bad Request Response too Big
    ...    Test title: GET subscriptions - Bad Request Response too Big
    ...    Test objective: The objective is to test that GET method fail retrieving list of active subscription because Response is too big, and perform the JSON schema validation of the failed operation HTTP response
    ...    Test objective: The objective is to test that GET method fail retrieving list of active subscription because Response is too big, and perform the JSON schema validation of the failed operation HTTP response
    ...    Pre-conditions: 
    ...    Pre-conditions: 
@@ -201,7 +201,7 @@ GET subscriptions - Bad Request Response too Big
    Check HTTP Response Body Json Schema Is   ProblemDetails
    Check HTTP Response Body Json Schema Is   ProblemDetails


GET Subscription with attribute-based filter "id"
GET Subscription with attribute-based filter "id"
    [Documentation]    Test ID: 6.3.4.4.13
    [Documentation]    Test ID: 6.3.4.4.16
    ...    Test title: GET Subscription with attribute-based filter "id"
    ...    Test title: GET Subscription with attribute-based filter "id"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "id"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "id"
    ...    Pre-conditions: 
    ...    Pre-conditions: 
@@ -216,7 +216,7 @@ GET Subscription with attribute-based filter "id"
    
    
    
    
Get subscriptions with filter "filter.notificationTypes"
Get subscriptions with filter "filter.notificationTypes"
    [Documentation]    Test ID: 6.3.4.4.14
    [Documentation]    Test ID: 6.3.4.4.17
    ...    Test title: GET Subscription with attribute-based filter "filter.notificationTypes"
    ...    Test title: GET Subscription with attribute-based filter "filter.notificationTypes"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.notificationTypes"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.notificationTypes"
    ...    Pre-conditions: 
    ...    Pre-conditions: 
@@ -230,7 +230,7 @@ Get subscriptions with filter "filter.notificationTypes"
    Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_notificationTypes"
    Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_notificationTypes"
    
    
Get subscriptions with filter "filter.faultyResourceTypes"
Get subscriptions with filter "filter.faultyResourceTypes"
    [Documentation]    Test ID: 6.3.4.4.15
    [Documentation]    Test ID: 6.3.4.4.18
    ...    Test title: GET Subscription with attribute-based filter "filter.faultyResourceTypes"
    ...    Test title: GET Subscription with attribute-based filter "filter.faultyResourceTypes"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.faultyResourceTypes"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.faultyResourceTypes"
    ...    Pre-conditions: 
    ...    Pre-conditions: 
@@ -244,7 +244,7 @@ Get subscriptions with filter "filter.faultyResourceTypes"
    Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_faultyResourceTypes"
    Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_faultyResourceTypes"
    
    
Get subscriptions with filter "filter.perceivedSeverities"
Get subscriptions with filter "filter.perceivedSeverities"
    [Documentation]    Test ID: 6.3.4.4.16
    [Documentation]    Test ID: 6.3.4.4.19
    ...    Test title: GET Subscription with attribute-based filter "filter.perceivedSeverities"
    ...    Test title: GET Subscription with attribute-based filter "filter.perceivedSeverities"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.perceivedSeverities"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.perceivedSeverities"
    ...    Pre-conditions: 
    ...    Pre-conditions: 
@@ -258,7 +258,7 @@ Get subscriptions with filter "filter.perceivedSeverities"
    Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_perceivedSeverities"
    Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_perceivedSeverities"
    
    
Get subscriptions with filter "filter.eventTypes"
Get subscriptions with filter "filter.eventTypes"
    [Documentation]    Test ID: 6.3.4.4.17
    [Documentation]    Test ID: 6.3.4.4.20
    ...    Test title: GET Subscription with attribute-based filter "filter.eventTypes"
    ...    Test title: GET Subscription with attribute-based filter "filter.eventTypes"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.eventTypes"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.eventTypes"
    ...    Pre-conditions: 
    ...    Pre-conditions: 
@@ -272,7 +272,7 @@ Get subscriptions with filter "filter.eventTypes"
    Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_eventTypes"
    Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_eventTypes"
    
    
Get subscriptions with filter "filter.probableCauses"
Get subscriptions with filter "filter.probableCauses"
    [Documentation]    Test ID: 6.3.4.4.18
    [Documentation]    Test ID: 6.3.4.4.21
    ...    Test title: GET Subscription with attribute-based filter "filter.probableCauses"
    ...    Test title: GET Subscription with attribute-based filter "filter.probableCauses"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.probableCauses"
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.probableCauses"
    ...    Pre-conditions: 
    ...    Pre-conditions: 
+1 −27
Original line number Original line Diff line number Diff line
@@ -71,32 +71,6 @@ POST Individual VNF Indicator Subscription - Method not implemented
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405
    Check Postcondition VNF individual subscription is not created  
    Check Postcondition VNF individual subscription is not created  


DELETE Individual VNF Indicator Subscription
    [Documentation]    Test ID: 6.3.2.5.3
    ...    Test title: Delete individual subscription to VNF performance indicators
    ...    Test objective: The objective is to test the deletion of an individual VNF performance indicator subscription.
    ...    Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNF.
    ...    Reference: Clause 8.4.6.3.5 - ETSI GS NFV-SOL 002 [2] v2.6.1
    ...    Config ID: Config_prod_VE
    ...    Applicability: The VNF supports the generation and maintenance of performance indicators
    ...    Post-Conditions: The subscription to VNF performance indicators is deleted
    Send Delete Request for Individual VNF Indicator Subscription
    Check HTTP Response Status Code Is    204
    Check Postcondition Individual VNF Indicator Subscription is Deleted

DELETE Individual VNF Indicator Subscription with invalid resource identifier
    [Documentation]    Test ID: 6.3.2.5.4
    ...    Test title: Delete individual subscription to VNF performance indicators
    ...    Test objective: The objective is to test that the deletion of an individual VNF performance indicator subscription fails when using an invalid resource identifier. The test also checks the JSON schema of the unsuccessful operation HTTP response.
    ...    Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNF.
    ...    Reference: Clause 8.4.6.3.5 - ETSI GS NFV-SOL 002 [2] v2.6.1
    ...    Config ID: Config_prod_VE
    ...    Applicability: The VNF supports the generation and maintenance of performance indicators
    ...    Post-Conditions: none   
    Send Delete Request for Individual VNF Indicator Subscription with invalid resource identifier
    Check HTTP Response Status Code Is    404
    Check HTTP Response Body Json Schema Is   ProblemDetails

*** Keywords ***
*** Keywords ***
Get Individual VNF Indicator Subscription
Get Individual VNF Indicator Subscription
    Log    Trying to get a given subscription identified by subscriptionId
    Log    Trying to get a given subscription identified by subscriptionId