Commit 15aa8b08 authored by Najam UI Hassan's avatar Najam UI Hassan Committed by Giacomo Bernini
Browse files

added new test case in NFVMANOEntity

parent e1a6043b
Loading
Loading
Loading
Loading
+19 −5
Original line number Diff line number Diff line
@@ -33,8 +33,22 @@ GET NFV-MANO entity
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   ManoEntity
    
PUT NFV-MANO entity - Method not implemented
GET NFV-MANO entity - Not Found
    [Documentation]    Test ID: 8.3.1.1.3
    ...    Test title: Get NFV-MANO entity - Not Found
    ...    Test objective: The objective is to test the retrieval of information about an NFV-MANO functional entity by reading the NFV-MANO entity resource fails when the resource is not present and perform the JSON schema validation of the failed operation HTTP response.
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
    GET NFV-MANO entity resource
     Check HTTP Response Status Code Is    404
    Check HTTP Response Body Json Schema Is   ProblemDetails

    
PUT NFV-MANO entity - Method not implemented
    [Documentation]    Test ID: 8.3.1.1.4
    ...    Test title: PUT NFV-MANO entity - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not allowed to update an NFV-MANO Entity.
    ...    Pre-conditions: none
@@ -46,7 +60,7 @@ PUT NFV-MANO entity - Method not implemented
    Check HTTP Response Status Code Is    405

PATCH NFV-MANO entity
    [Documentation]    Test ID: 8.3.1.1.4
    [Documentation]    Test ID: 8.3.1.1.5
    ...    Test title: PATCH NFV-MANO entity
    ...    Test objective: This method modifies the NFV-MANO entity resource
    ...    Pre-conditions: NFV-MANO entity resource is already created.
@@ -59,7 +73,7 @@ PATCH NFV-MANO entity
    Check HTTP Response Body Json Schema Is   ManoConfigModifications
    
PATCH NFV-MANO entity - Conflict
    [Documentation]    Test ID: 8.3.1.1.5
    [Documentation]    Test ID: 8.3.1.1.6
    ...    Test title: PATCH NFV-MANO entity - Conflict
    ...    Test objective: The objective is to test that the modification of the NFV-MANO entity resource failed due to a conflict with the state of the NFV-MANO entity resource and perform the JSON schema validation of the failed operation HTTP response.
    ...    Pre-conditions: NFV-MANO entity resource is already created.
@@ -72,7 +86,7 @@ PATCH NFV-MANO entity - Conflict
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
PATCH NFV-MANO entity - PreCondition Failed
    [Documentation]    Test ID: 8.3.1.1.6
    [Documentation]    Test ID: 8.3.1.1.7
    ...    Test title: PATCH NFV-MANO entity - PreCondition Failed
    ...    Test objective: The objective is to test that the modification of the NFV-MANO entity resource failed because precondition given in an HTTP request header is not fulfilled and perform the JSON schema validation of the failed operation HTTP response.
    ...    Pre-conditions: NFV-MANO entity resource is already created.
@@ -85,7 +99,7 @@ PATCH NFV-MANO entity - PreCondition Failed
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
DELETE NFV-MANO entity - Method not implemented
    [Documentation]    Test ID: 8.3.1.1.7
    [Documentation]    Test ID: 8.3.1.1.8
    ...    Test title: DELETE NFV-MANO entity - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not allowed to delete an NFV-MANO Entity.
    ...    Pre-conditions: none