Commit 65e7d865 authored by Najam UI Hassan's avatar Najam UI Hassan
Browse files

new test cases added for Subscriptions

parent e0c1e808
Loading
Loading
Loading
Loading
+40 −1
Original line number Diff line number Diff line
@@ -173,3 +173,42 @@ DELETE subscriptions - Method not implemented
	Check HTTP Response Status Code Is    405
	Check Subscription resource exist
    
POST Create a new Subscription - Unprocessable Entity
    [Documentation]    Test ID: 6.3.5.17.14
    ...    Test title: POST Create a new Subscription - Unprocessable Entity
    ...    Test objective: The objective is to test that content type of the payload body is supported and the payload body of a request contains syntactically correct data but the data cannot be processed.
    ...    re-conditions: none
    ...    Reference: Clause 5.4.18.3.1 - ETSI GS NFV-SOL 002 [2] v2.6.1
    ...    Config ID: Config_prod_VE
    ...    Applicability: none
    ...    Post-Conditions: none
    Post Create subscription
    Check HTTP Response Status Code Is    422
    Check HTTP Response Body Json Schema Is  ProblemDetails
    
GET information about multiple subscriptions to get Paged Response
    [Documentation]    Test ID: 6.3.5.17.15
    ...    Test title: GET information about multiple subscriptions to get Paged Response
    ...    Test objective: The objective is to retrieve information about the subscriptions to get paged response
    ...    Pre-conditions: 
    ...    Reference: Clause 5.4.18.3.2 - ETSI GS NFV-SOL 002 [2] v2.6.1
    ...    Config ID: Config_prod_VE
    ...    Applicability: 
    ...    Post-Conditions:  
    Get subscriptions
    Check HTTP Response Status Code Is    200
    Check LINK in Header 
    
GET information about multiple subscriptions for Bad Request Response too big
    [Documentation]    Test ID: 6.3.5.17.16
    ...    Test title: GET information about multiple subscriptions for Bad Request Response too big
    ...    Test objective: The objective is to test that GET method fail retrieving status information about subscriptions when Response is too big, and perform the JSON schema validation of the failed operation HTTP response
    ...    Pre-conditions: 
    ...    Reference: Clause 5.4.18.3.2 - ETSI GS NFV-SOL 002 [2] v2.6.1
    ...    Config ID: Config_prod_VE
    ...    Applicability: 
    ...    Post-Conditions: 
    Get subscriptions
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is    ProblemDetails