Commit 0ec57162 authored by Najam UI Hassan's avatar Najam UI Hassan
Browse files

minor bugs fixed

parent 63247381
Loading
Loading
Loading
Loading
+8 −10
Original line number Original line Diff line number Diff line
@@ -7,7 +7,6 @@ Library JSONLibrary
Library           REST    ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT}    ssl_verify=false
Library           REST    ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT}    ssl_verify=false
Library           OperatingSystem
Library           OperatingSystem


*** Test Cases ***
*** Test Cases ***
*** Test Cases ***
Get single file NSD Content in Plain Format
Get single file NSD Content in Plain Format
    [Documentation]    Test ID: 5.3.1.10.1
    [Documentation]    Test ID: 5.3.1.10.1
@@ -124,27 +123,26 @@ PUT NSD - Method not implemented
    Send PUT Request for NSD
    Send PUT Request for NSD
    Check HTTP Response Status Code Is    405
    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
    [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
    ...    Test objective: The objective is to test that PATCH method is not allowed to update Network Service Descriptor
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 5.4.4a.3.4 - ETSI GS NFV-SOL 005 [3] v2.6.1
    ...    Reference: Clause 5.4.4a.3.4 - ETSI GS NFV-SOL 005 [3] v2.6.1
    ...    Config ID: Config_prod_NFVO
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: none
    ...    Post-Conditions: none
    Send PATCH Request for NSD Content
    Send PATCH Request for NSD
    Check HTTP Response Status Code Is    405
    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
    [Documentation]    Test ID: 5.3.1.10.11
    ...    Test title: DELETE NSD Content - Method not implemented
    ...    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 content
    ...    Test objective: The objective is to test that DELETE method is not allowed to delete Network Service Descriptor
    ...    Pre-conditions: none
    ...    Pre-conditions: none
    ...    Reference: Clause 5.4.4a.3.5 - ETSI GS NFV-SOL 005 [3] v2.6.1
    ...    Reference: Clause 5.4.4a.3.5 - ETSI GS NFV-SOL 005 [3] v2.6.1
    ...    Config ID: Config_prod_NFVO
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: The NSD content is not deleted by the failed operation
    ...    Post-Conditions: none
    Send DELETE Request for NSD Content
    Send DELETE Request for NSD Content
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405
 No newline at end of file
    Check Postcondition NSD Content Exists
 No newline at end of file
+5 −6
Original line number Original line Diff line number Diff line
@@ -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 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.
    ...    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.
    ...    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
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: The NFVO supports the upload of NSD contents in asynchronous mode
    ...    Applicability: The NFVO supports the upload of NSD contents in asynchronous mode
    ...    Post-Conditions: NSD Uploaded
    ...    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 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.
    ...    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.
    ...    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
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: The NFVO supports the upload of NSD contents in synchronous mode
    ...    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
    ...    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 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
    ...    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.
    ...    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
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: 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
    ...    Reference: Clause 5.4.4.3.5 - ETSI GS NFV-SOL 005 [3] v2.7.1
    ...    Config ID: Config_prod_NFVO
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: The NSD content is not deleted by the failed operation
    ...    Post-Conditions: none
    Send DELETE Request for NSD Content
    Send DELETE Request for NSD Content
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405
 No newline at end of file
    Check Postcondition NSD Content Exists
 No newline at end of file
+0 −3
Original line number Original line Diff line number Diff line
@@ -436,9 +436,6 @@ Send DELETE Request for NSD Content
    ${output}=    Output    response
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output} 
    Set Suite Variable    ${response}    ${output} 


Check Postcondition NSD Content Exists
    Get NSD Content in Zip Format

GET all PNF Descriptors Information
GET all PNF Descriptors Information
    Log    The GET method queries multiple PNF descriptors
    Log    The GET method queries multiple PNF descriptors
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Accept": "${ACCEPT_JSON}"}