Newer
Older
*** Settings ***
Resource environment/variables.txt
Resource NSLCMOperationKeywords.robot
Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT}
Library OperatingSystem
Library JSONLibrary
Library JSONSchemaLibrary schemas/
Suite Setup Check resource existance
*** Test Cases ***
Post Individual NSInstance - Method not implemented
[Documentation] Test ID: 5.3.2.2.1
... Test title: Post Individual NSInstance - Method not implemented
... Test objective: The objective is to test that POST method is not allowed to create a new NS instance
... Pre-conditions: none
... Reference: section 6.4.3.3.1 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The NS instance is not created on the NFVO
Check HTTP Response Status Code Is 405
Get Information about an individual NS Instance
... Test title: Get Information about an individual NS Instance
... Test objective: The objective is to test that GET method allow to query an NS instance
... Pre-conditions: none
... Reference: section 6.4.3.3.2 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
Check HTTP Response Status Code Is 200
Check HTTP Response Header ContentType is ${CONTENT_TYPE}
PUT Individual NSInstance - Method not implemented
... Test title: PUT Individual NSInstance - Method not implemented
... Test objective: The objective is to test that PUT method is not allowed to create a new NS instance
... Pre-conditions: none
... Reference: section 6.4.3.3.3 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The NS instance is not modified on the NFVO
Check HTTP Response Status Code Is 405
PATCH Individual NSInstance - Method not implemented
... Test title: PATCH Individual NSInstance - Method not implemented
... Test objective: The objective is to test that PATCH method is not allowed to create a new NS instance
... Pre-conditions: none
... Reference: section 6.4.3.3.4 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The NS instance is not modified on the NFVO
Check HTTP Response Status Code Is 405
DELETE Individual NSInstance
... Test objective: The objective is to test that DELETE method is allowed to delete a NS instance
... Pre-conditions: none.
... Reference: section 6.4.3.3.5 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The NS instance is deleted from the NFVO
Check HTTP Response Status Code Is 204
DELETE Individual NSInstance Conflict
... Test title: DELETE Individual NSInstance Conflict
... Test objective: The objective is to test that DELETE method is allowed to delete a NS instance
... Pre-conditions: At least one running instance of a NS
... Reference: section 6.4.3.3.5 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The NS instance is deleted from the NFVO
Check HTTP Response Status Code Is 409
Check HTTP Response Header ContentType is ${CONTENT_TYPE}