From 0ec571627c324f442e5e1521f731178566718ea4 Mon Sep 17 00:00:00 2001 From: uihassan Date: Fri, 16 Oct 2020 15:07:55 +0500 Subject: [PATCH] minor bugs fixed --- SOL005/NSDManagement-API/NSD.robot | 18 ++++++++---------- .../NSDManagement-API/NSDArchiveContent.robot | 11 +++++------ .../NSDManagementKeywords.robot | 3 --- 3 files changed, 13 insertions(+), 19 deletions(-) diff --git a/SOL005/NSDManagement-API/NSD.robot b/SOL005/NSDManagement-API/NSD.robot index 2757b487..e71c8d90 100644 --- a/SOL005/NSDManagement-API/NSD.robot +++ b/SOL005/NSDManagement-API/NSD.robot @@ -7,7 +7,6 @@ Library JSONLibrary Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_verify=false Library OperatingSystem -*** Test Cases *** *** Test Cases *** Get single file NSD Content in Plain Format [Documentation] Test ID: 5.3.1.10.1 @@ -124,27 +123,26 @@ PUT NSD - Method not implemented Send PUT Request for NSD Check HTTP Response Status Code Is 405 -PATCH NSD Content - Method not implemented +PATCH NSD - Method not implemented [Documentation] Test ID: 5.3.1.10.10 - ... Test title: PATCH NSD Content - Method not implemented + ... Test title: PATCH NSD - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to update Network Service Descriptor ... Pre-conditions: none ... Reference: Clause 5.4.4a.3.4 - ETSI GS NFV-SOL 005 [3] v2.6.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: none - Send PATCH Request for NSD Content + Send PATCH Request for NSD Check HTTP Response Status Code Is 405 -DELETE NSD Content - Method not implemented +DELETE NSD - Method not implemented [Documentation] Test ID: 5.3.1.10.11 - ... Test title: DELETE NSD Content - Method not implemented - ... Test objective: The objective is to test that DELETE method is not allowed to delete Network Service Descriptor content + ... Test title: DELETE NSD - Method not implemented + ... Test objective: The objective is to test that DELETE method is not allowed to delete Network Service Descriptor ... Pre-conditions: none ... Reference: Clause 5.4.4a.3.5 - ETSI GS NFV-SOL 005 [3] v2.6.1 ... Config ID: Config_prod_NFVO ... Applicability: none - ... Post-Conditions: The NSD content is not deleted by the failed operation + ... Post-Conditions: none Send DELETE Request for NSD Content - Check HTTP Response Status Code Is 405 - Check Postcondition NSD Content Exists \ No newline at end of file + Check HTTP Response Status Code Is 405 \ No newline at end of file diff --git a/SOL005/NSDManagement-API/NSDArchiveContent.robot b/SOL005/NSDManagement-API/NSDArchiveContent.robot index 7a1e3901..045c3f3a 100644 --- a/SOL005/NSDManagement-API/NSDArchiveContent.robot +++ b/SOL005/NSDManagement-API/NSDArchiveContent.robot @@ -94,7 +94,7 @@ Upload NSD Content as Zip file in asynchronous mode ... Test title: Upload NSD Content as Zip file in asynchronous mode ... Test objective: The objective is to test the upload of an NSD Content in Zip format when the NFVO supports the asynchronous upload mode. ... Pre-conditions: One or more NSDs are onboarded in the NFVO. - ... Reference: Clause 5.4.4.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1 + ... Reference: Clause 5.4.4.3.3 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: The NFVO supports the upload of NSD contents in asynchronous mode ... Post-Conditions: NSD Uploaded @@ -107,7 +107,7 @@ Upload NSD Content as Zip file in synchronous mode ... Test title: Upload NSD Content as Zip file in synchronous mode ... Test objective: The objective is to test the upload of an NSD Content in Zip format when the NFVO supports the synchronous upload mode. ... Pre-conditions: One or more NSDs are onboarded in the NFVO. - ... Reference: Clause 5.4.4.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1 + ... Reference: Clause 5.4.4.3.3 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: The NFVO supports the upload of NSD contents in synchronous mode ... Post-Conditions: The NSD content is successfully uploaded and available in the NFVO @@ -120,7 +120,7 @@ Upload NSD Content with conflict due to onboarding state ... Test title: Upload NSD Content with conflict due to onboarding state ... Test objective: The objective is to test that the upload of the NSD Content fails due to a conflict when the NSD is not in onboarding state CREATED in the NFVO. The test also performs a validation of the JSON schema validation of the failed operation HTTP response ... Pre-conditions: The onboarding state of the NSD for which the NSD Content is requested is different from ONBOARDED. - ... Reference: Clause 5.4.4.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1 + ... Reference: Clause 5.4.4.3.3 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: none @@ -160,7 +160,6 @@ DELETE NSD Content - Method not implemented ... Reference: Clause 5.4.4.3.5 - ETSI GS NFV-SOL 005 [3] v2.7.1 ... Config ID: Config_prod_NFVO ... Applicability: none - ... Post-Conditions: The NSD content is not deleted by the failed operation + ... Post-Conditions: none Send DELETE Request for NSD Content - Check HTTP Response Status Code Is 405 - Check Postcondition NSD Content Exists \ No newline at end of file + Check HTTP Response Status Code Is 405 \ No newline at end of file diff --git a/SOL005/NSDManagement-API/NSDManagementKeywords.robot b/SOL005/NSDManagement-API/NSDManagementKeywords.robot index 9967ec48..61ec26c2 100644 --- a/SOL005/NSDManagement-API/NSDManagementKeywords.robot +++ b/SOL005/NSDManagement-API/NSDManagementKeywords.robot @@ -436,9 +436,6 @@ Send DELETE Request for NSD Content ${output}= Output response Set Suite Variable ${response} ${output} -Check Postcondition NSD Content Exists - Get NSD Content in Zip Format - GET all PNF Descriptors Information Log The GET method queries multiple PNF descriptors Set Headers {"Accept": "${ACCEPT_JSON}"} -- GitLab