Commit f7517bd8 authored by Najam UI Hassan's avatar Najam UI Hassan
Browse files

new testcases and minor bugs fix added

parent 3ffe4abd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ NS Instance Creation
    Check HTTP Response Status Code Is    201
    Check HTTP Response Header Contains    Location
    Check HTTP Response Body Json Schema Is    NsInstance
    Check resource not_instantiated    1
    Check resource not_instantiated
    
NS Instance Creation with DISABLED Network Service Descriptor
    [Documentation]    Test ID: 5.3.2.18.2
+1 −1
Original line number Diff line number Diff line
@@ -1137,6 +1137,6 @@ PUT notification
    Log  Cleaning the endpoint
    Clear Requests  ${callback_endpoint}         
        
Check LINK in Header
Check HTTP Response Header Contains Location
    ${linkURL}=    Get Value From Json    ${response['headers']}    $..Link
    Should Not Be Empty    ${linkURL}
+16 −5
Original line number Diff line number Diff line
@@ -21,7 +21,6 @@ POST Create a new subscription
    Check HTTP Response Header Contains    Location
    Check HTTP Response Body Json Schema Is    subscription
    

POST Create a new Subscription - DUPLICATION
    [Documentation]    Test ID: 5.3.2.15.2
    ...    Test title: POST Create a new subscription - DUPLICATION
@@ -172,7 +171,7 @@ DELETE subscriptions - Method not implemented
    ...    Reference: Clause 6.4.16.3.5 - ETSI GS NFV-SOL 005 [3] v2.7.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: Subscription is not deleted
    ...    Post-Conditions: none
    DELETE subscriptions
    Check HTTP Response Status Code Is    405
    
@@ -187,7 +186,7 @@ GET Subscriptions as Paged Response
    ...    Post-Conditions: none    
    GET Subscriptions
    Check HTTP Response Status Code Is  200
    Check LINK in Header
    Check HTTP Response Header Contains Location
    
GET subscriptions - Bad Request Response too Big
    [Documentation]    Test ID: 5.3.2.15.15
@@ -201,3 +200,15 @@ GET subscriptions - Bad Request Response too Big
    GET Subscriptions
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is    ProblemDetails
    
POST Create a new subscription - Unprocessable Entity
    [Documentation]    Test ID: 5.3.2.15.16
    ...    Test title: POST Create a new subscription - Unprocessable Entity
    ...    Test objective: The objective is to test the creation of a new lifecycle management subscription fials when 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
    ...    Pre-conditions: none
    ...    Reference: Clause 6.4.16.3.1 - ETSI GS NFV-SOL 005 [3] v2.7.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none     
    POST subscriptions
    Check HTTP Response Status Code Is    422
 No newline at end of file