Commit c0bbc07e authored by aureliano sinatra's avatar aureliano sinatra
Browse files

added documentation

parent 216ddc7d
......@@ -9,39 +9,92 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post Cancel operation task
[Documentation] Test ID: 5.3.2.14.1
... Test title: POST Cancel a NS lifecycle operation
... Test objective: The objective is to test that POST method cancel an LCM operation
... Pre-conditions: NS instance status equal to STARTING, PROCESSING or ROLLING_BACK
... Reference: section 6.4.15.3.1 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
Depends on test Check resource FAILED_TEMP
POST Cancel operation task
Check HTTP Response Status Code Is 202
Post Cancel operation task Not Found
[Documentation] Test ID: 5.3.2.14.2
... Test title: POST Cancel a NS lifecycle operation
... Test objective: The objective is to test that POST method fail if LCM operation not found
... Pre-conditions: none
... Reference: section 6.4.15.3.1 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
[Setup] Check Cancel not supported
POST Cancel operation task
Check HTTP Response Status Code Is 404
Check HTTP Response Body Json Schema Is ProblemDetails
Post Cancel operation task Conflict
[Documentation] Test ID: 5.3.2.14.3
... Test title: POST Cancel a NS lifecycle operation
... Test objective: The objective is to test that POST method fail if a status conflict exist on LCM operation
... Pre-conditions: none
... Reference: section 6.4.15.3.1 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
Depends on test failure Check resource FAILED_TEMP
POST Cancel operation task
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails
GET Cancel operation task - Method not implemented
[Documentation] Test ID: 5.3.2.14.4
... Test title: GET Cancel NS lifecycle operation - Method not implemented
... Test objective: The objective is to test that GET method is not implemented
... Pre-conditions: none
... Reference: section 6.4.15.3.2 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Cancel operation task
Check HTTP Response Status Code Is 405
PUT Cancel operation task - Method not implemented
[Documentation] Test ID: 5.3.2.14.5
... Test title: PUT Cancel NS lifecycle operation - Method not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
... Reference: section 6.4.15.3.3 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PUT Cancel operation task
Check HTTP Response Status Code Is 405
PATCH Cancel operation task - Method not implemented
[Documentation] Test ID: 5.3.2.14.6
... Test title: PATCH Cancel NS lifecycle operation - Method not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: section 6.4.15.3.4 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PATCH Cancel operation task
Check HTTP Response Status Code Is 405
DELETE Cancel operation task - Method not implemented
[Documentation] Test ID: 5.3.2.14.7
... Test title: DELETE Cancel NS lifecycle operation - Method not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
... Reference: section 6.4.15.3.5 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
DELETE Cancel operation task
Check HTTP Response Status Code Is 405
GET Cancel operation task - Method not implemented
GET Cancel operation task
Check HTTP Response Status Code Is 405
\ No newline at end of file
......@@ -9,37 +9,93 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post Continue operation task
[Documentation] Test ID: 5.3.2.12.1
... Test title: POST Continue a NS lifecycle operation
... Test objective: The objective is to test that POST method trigger a continue on the LCM operation
... Pre-conditions: NS instance status equal to FAILED_TEMP
... Reference: section 6.4.13.3.1 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
Depends on test Check resource FAILED_TEMP
POST Continue operation task
Check HTTP Response Status Code Is 202
Post Continue operation task Not Found
[Documentation] Test ID: 5.3.2.12.2
... Test title: POST Continue a NS lifecycle operation
... Test objective: The objective is to test that POST method fail if operation is not found
... Pre-conditions: none
... Reference: section 6.4.13.3.1 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
[Setup] Check Continue not supported
POST Continue operation task
Check HTTP Response Status Code Is 404
Check HTTP Response Body Json Schema Is ProblemDetails
Post Continue operation task Conflict
[Documentation] Test ID: 5.3.2.12.3
... Test title: POST Continue a NS lifecycle operation
... Test objective: The objective is to test that POST method fail in case of operation status conflict
... Pre-conditions: none
... Reference: section 6.4.13.3.1 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
Depends on test failure Check resource FAILED_TEMP
POST Continue operation task
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails
GET Continue operation task - Method not implemented
[Documentation] Test ID: 5.3.2.10.4
... Test title: GET Continue NS lifecycle operation - Method not implemented
... Test objective: The objective is to test that GET method is not implemented
... Pre-conditions: none
... Reference: section 6.4.10.3.2 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Continue operation task
Check HTTP Response Status Code Is 405
PUT Continue operation task - Method not implemented
[Documentation] Test ID: 5.3.2.10.5
... Test title: PUT Continue NS lifecycle operation - Method not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
... Reference: section 6.4.13.3.3 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PUT Continue operation task
Check HTTP Response Status Code Is 405
PATCH Continue operation task - Method not implemented
[Documentation] Test ID: 5.3.2.10.5
... Test title: PATCH Continue NS lifecycle operation - Method not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: section 6.4.14.3.3 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PATCH Continue operation task
Check HTTP Response Status Code Is 405
DELETE Continue operation task - Method not implemented
[Documentation] Test ID: 5.3.2.10.5
... Test title: DELETE Continue NS lifecycle operation - Method not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
... Reference: section 6.4.14.3.3 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
DELETE Continue operation task
Check HTTP Response Status Code Is 405
GET Continue operation task - Method not implemented
GET Continue operation task
Check HTTP Response Status Code Is 405
\ No newline at end of file
......@@ -9,38 +9,92 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post Fail operation task
[Documentation] Test ID: 5.3.2.13.1
... Test title: POST Fail a NS lifecycle operation
... Test objective: The objective is to test that POST method trigger a state change to "finally failed" on the LCM operation
... Pre-conditions: NS instance status equal to FAILED_TEMP
... Reference: section 6.4.14.3.1 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
Depends on test Check resource FAILED_TEMP
POST Fail operation task
Check HTTP Response Status Code Is 202
Post Fail operation task Not Found
[Documentation] Test ID: 5.3.2.13.2
... Test title: POST Fail a NS lifecycle operation
... Test objective: The objective is to test that POST method fail if the LCM operation is not found
... Pre-conditions: none
... Reference: section 6.4.14.3.1 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
[Setup] Check Fail not supported
POST Fail operation task
Check HTTP Response Status Code Is 404
Check HTTP Response Body Json Schema Is ProblemDetails
Post Fail operation task Conflict
[Documentation] Test ID: 5.3.2.13.3
... Test title: POST Fail a NS lifecycle operation
... Test objective: The objective is to test that POST method fail in case of status conflict on the LCM operation
... Pre-conditions: none
... Reference: section 6.4.14.3.1 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
Depends on test failure Check resource FAILED_TEMP
POST Fail operation task
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails
GET Fail operation task - Method not implemented
[Documentation] Test ID: 5.3.2.13.4
... Test title: GET Continue NS lifecycle operation - Method not implemented
... Test objective: The objective is to test that GET method is not implemented
... Pre-conditions: none
... Reference: section 6.4.14.3.2 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Fail operation task
Check HTTP Response Status Code Is 405
PUT Fail operation task - Method not implemented
[Documentation] Test ID: 5.3.2.13.5
... Test title: PUT Continue NS lifecycle operation - Method not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
... Reference: section 6.4.14.3.3 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PUT Fail operation task
Check HTTP Response Status Code Is 405
PATCH Fail operation task - Method not implemented
[Documentation] Test ID: 5.3.2.13.6
... Test title: PATCH Continue NS lifecycle operation - Method not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: section 6.4.14.3.4 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PATCH Fail operation task
Check HTTP Response Status Code Is 405
DELETE Fail operation task - Method not implemented
[Documentation] Test ID: 5.3.2.13.7
... Test title: DELETE Continue NS lifecycle operation - Method not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
... Reference: section 6.4.14.3.5 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
DELETE Fail operation task
Check HTTP Response Status Code Is 405
GET Fail operation task - Method not implemented
GET Fail operation task
Check HTTP Response Status Code Is 405
\ No newline at end of file
......@@ -9,11 +9,27 @@ Suite Setup Check resource existance
*** Test Cases ***
Heal a NSInstance
[Documentation] Test ID: 5.3.2.6.1
... Test title: POST Individual Heal NS instance
... Test objective: The objective is to test that POST method allow to create a Heal NS instance
... Pre-conditions: none
... Reference: section 6.4.7.3.1 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The Heal NS instance is created on the NFVO
POST Heal NSInstance
Check HTTP Response Status Code Is 202
Check HTTP Response Header Contains Location
Heal a NSInstance Conflict
[Documentation] Test ID: 5.3.2.6.2
... Test title: POST Individual Heal NS instance
... Test objective: The objective is to test that POST method fail if NS instance is not in NOT_INSTANTIATE state
... Pre-conditions: none
... Reference: section 6.4.7.3.1 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The Heal NS instance is not created on the NFVO
[Setup] Check resource not_instantiated
POST Heal NSInstance
Check HTTP Response Status Code Is 409
......@@ -21,18 +37,50 @@ Heal a NSInstance Conflict
Check HTTP Response Body Json Schema Is ProblemDetails
GET Heal NSInstance- Method not implemented
[Documentation] Test ID: 5.3.2.6.3
... Test title: GET Individual Heal NS instance - Method not implemented
... Test objective: The objective is to test that GET method is not implemented
... Pre-conditions: none
... Reference: section 6.4.7.3.2 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Heal NSInstance
Check HTTP Response Status Code Is 405
PUT Heal NSInstance - Method not implemented
[Documentation] Test ID: 5.3.2.6.4
... Test title: PUT Individual Heal NS instance - Method not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
... Reference: section 6.4.7.3.3 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PUT Heal NSInstance
Check HTTP Response Status Code Is 405
PATCH Heal NSInstance - Method not implemented
[Documentation] Test ID: 5.3.2.6.4
... Test title: PATCH Individual Heal NS instance - Method not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: section 6.4.7.3.3 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PATCH Heal NSInstance
Check HTTP Response Status Code Is 405
DELETE Heal NSInstance - Method not implemented
[Documentation] Test ID: 5.3.2.6.4
... Test title: DELETE Individual Heal NS instance - Method not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
... Reference: section 6.4.7.3.3 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
DELETE Heal NSInstance
Check HTTP Response Status Code Is 405
......@@ -8,29 +8,77 @@ Library JSONSchemaLibrary schemas/
Suite Setup Check resource existance
*** Test Cases ***
Post Individual VNFInstance - Method not implemented
Post Individual NSInstance - Method not implemented
[Documentation] Test ID: 5.3.2.2.1
... Test title: POST Individual NS instance - 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
POST IndividualNSInstance
Check HTTP Response Status Code Is 405
Get Information about an individual NS Instance
[Documentation] Test ID: 5.3.2.2.2
... Test title: GET 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
GET IndividualNSInstance
Check HTTP Response Status Code Is 200
Check HTTP Response Header ContentType is ${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is NsInstance
PUT Individual NSInstance - Method not implemented
[Documentation] Test ID: 5.3.2.2.3
... Test title: PUT Individual NS instance - 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
PUT IndividualNSInstance
Check HTTP Response Status Code Is 405
PATCH Individual NSInstance - Method not implemented
[Documentation] Test ID: 5.3.2.2.4
... Test title: PATCH Individual NS instance - 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
PATCH IndividualNSInstance
Check HTTP Response Status Code Is 405
DELETE Individual NSInstance
[Documentation] Test ID: 5.3.2.2.5
... Test title: DELETE Individual NS instance
... 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
DELETE IndividualNSInstance
Check HTTP Response Status Code Is 204
DELETE Individual NSInstance Conflict
[Documentation] Test ID: 5.3.2.2.5
... Test title: DELETE Individual NS instance
... 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
[Setup] Check resource instantiated
DELETE IndividualNSInstance
Check HTTP Response Status Code Is 409
......
......@@ -8,26 +8,68 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post Individual NS LCM occurences - Method not implemented
[Documentation] Test ID: 5.3.2.9.1
... Test title: POST Individual NS LCM occurrences - Method not implemented
... Test objective: The objective is to test that POST method is not implemented
... Pre-conditions: none
... Reference: section 6.4.10.3.1 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
POST Individual NS LCM OP Occurence
Check HTTP Response Status Code Is 405
Get stauts information about Individual NS LCM OP OCC
[Documentation] Test ID: 5.3.2.9.2
... Test title: GET NS LCM Occurrences
... Test objective: The objective is to test that GET method return the LCM occurrence of the NS
... Pre-conditions: none
... Reference: section 6.4.10.3.2 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Individual NS LCN OP Occurence
Check HTTP Response Status Code Is 200
Check HTTP Response Header ContentType is ${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is NsLcmOpOcc
PUT stauts information about Individual NS LCM OP OCC - Method not implemented
[Documentation] Test ID: 5.3.2.9.3
... Test title: PUT Individual NS LCM occurrences - Method not implemented
... Test objective: The objective is to test that PUT method is not implemented
... Pre-conditions: none
... Reference: section 6.4.10.3.3 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PUT Individual NS LCM OP Occurence
Check HTTP Response Status Code Is 405
PATCH stauts information about Individual NS LCM OP OCC - Method not implemented
[Documentation] Test ID: 5.3.2.9.4
... Test title: PATCH Individual NS LCM occurrences - Method not implemented
... Test objective: The objective is to test that PATCH method is not implemented
... Pre-conditions: none
... Reference: section 6.4.10.3.4 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
PATCH Individual NS LCM OP Occurence
Check HTTP Response Status Code Is 405
DELETE stauts information about Individual NS LCM OP OCC - Method not implemented
[Documentation] Test ID: 5.3.2.9.5
... Test title: DELETE Individual NS LCM occurrences - Method not implemented
... Test objective: The objective is to test that DELETE method is not implemented
... Pre-conditions: none
... Reference: section 6.4.10.3.5 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
DELETE Individual NS LCM OP Occurence
Check HTTP Response Status Code Is 405
Get stauts information about Individual NS LCM OP OCC
GET Individual NS LCN OP Occurence
Check HTTP Response Status Code Is 200
Check HTTP Response Header ContentType is ${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is NsLcmOpOcc
\ No newline at end of file
......@@ -10,22 +10,62 @@ Suite Setup Check subscription existance
*** Test Cases ***
Post Individual Subscription - Method not implemented
[Documentation] Test ID: 5.3.2.16.1
... Test title: POST Individual NS lifecycle management subscription - Method not implemented
... Test objective: The objective is to test that POST method is not allowed to create a new NS lifecycle management subscription
... Pre-conditions: none
... Reference: section 6.4.17.3.1 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The NS lifecycle management subscription is not created on the NFVO
POST Individual Subscription
Check HTTP Response Status Code Is 405
Get Information about an individual subscription
[Documentation] Test ID: 5.3.2.16.2
... Test title: GET Individual NS lifecycle management subscription
... Test objective: The objective is to test the retrieval of NS lifecycle management subscription and perform a JSON schema validation of the returned subscription data structure
... Pre-conditions: none
... Reference: section 6.4.17.3.2 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: none
GET Individual subscription
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is subscription
PUT an individual subscription - Method not implemented
[Documentation] Test ID: 5.3.2.16.3
... Test title: PUT Individual NS lifecycle management subscription - Method not implemented
... Test objective: The objective is to test that PUT method is not allowed to modify a NS lifecycle management subscription
... Pre-conditions: none
... Reference: section 6.4.17.3.3 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The NS lifecycle management subscription is not modified by the operation
PUT Individual Subscription
Check HTTP Response Status Code Is 405
PATCH an individual subscription - Method not implemented
[Documentation] Test ID: 5.3.2.16.4
... Test title: PATCH Individual NS lifecycle management subscription - Method not implemented
... Test objective: The objective is to test that PATCH method is not allowed to modify a new NS lifecycle management subscription
... Pre-conditions: none
... Reference: section 6.4.17.3.1 - SOL005 v2.4.1
... Config ID: Config_prod_NFVO
... Applicability: none
... Post-Conditions: The NS lifecycle management subscription is not modified by the operation
PATCH Individual Subscription
Check HTTP Response Status Code Is 405
DELETE an individual subscription
[Documentation] Test ID: 5.3.2.16.5
... Test title: POST Individual NS lifecycle management subscription - Method not implemented
... Test objective: The objective is to test the deletion of an individual NS lifecycle management subscription