From 15aa8b084a1c992e4560283ccd82910148c7776c Mon Sep 17 00:00:00 2001 From: uihassan Date: Thu, 3 Sep 2020 16:04:38 +0500 Subject: [PATCH] added new test case in NFVMANOEntity --- .../NFVMANOEntity.robot | 24 +++++++++++++++---- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOEntity.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOEntity.robot index edbdfe53..d3b9e2fd 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOEntity.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOEntity.robot @@ -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 -- GitLab