Commit c105e2fb authored by AHMADABB's avatar AHMADABB
Browse files

Hish level rearengement

parent 91f8fa35
......@@ -10,35 +10,35 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post Cancel operation task
Depends on test Check resource FAILED_TEMP
Do POST Cancel operation task
POST Cancel operation task
Check HTTP Response Status Code Is 202
Post Cancel operation task Not Found
[Setup] Check Cancel not supported
Do POST Cancel operation task
POST Cancel operation task
Check HTTP Response Status Code Is 404
Check HTTP Response Body Json Schema Is ProblemDetails.schema.json
Post Cancel operation task Conflict
Depends on test failure Check resource FAILED_TEMP
Do POST Cancel operation task
POST Cancel operation task
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails.schema.json
PUT Cancel operation task - Method not implemented
Do PUT Cancel operation task
PUT Cancel operation task
Check HTTP Response Status Code Is 405
PATCH Cancel operation task - Method not implemented
Do PATCH Cancel operation task
PATCH Cancel operation task
Check HTTP Response Status Code Is 405
DELETE Cancel operation task - Method not implemented
Do DELETE Cancel operation task
DELETE Cancel operation task
Check HTTP Response Status Code Is 405
GET Cancel operation task - Method not implemented
Do GET Cancel operation task
GET Cancel operation task
Check HTTP Response Status Code Is 405
......
......@@ -10,35 +10,35 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post Continue operation task
Depends on test Check resource FAILED_TEMP
Do POST Continue operation task
POST Continue operation task
Check HTTP Response Status Code Is 202
Post Continue operation task Not Found
[Setup] Check Continue not supported
Do POST Continue operation task
POST Continue operation task
Check HTTP Response Status Code Is 404
Check HTTP Response Body Json Schema Is ProblemDetails.schema.json
Post Continue operation task Conflict
Depends on test failure Check resource FAILED_TEMP
Do POST Continue operation task
POST Continue operation task
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails.schema.json
PUT Continue operation task - Method not implemented
Do PUT Continue operation task
PUT Continue operation task
Check HTTP Response Status Code Is 405
PATCH Continue operation task - Method not implemented
Do PATCH Continue operation task
PATCH Continue operation task
Check HTTP Response Status Code Is 405
DELETE Continue operation task - Method not implemented
Do DELETE Continue operation task
DELETE Continue operation task
Check HTTP Response Status Code Is 405
GET Continue operation task - Method not implemented
Do GET Continue operation task
GET Continue operation task
Check HTTP Response Status Code Is 405
......@@ -9,7 +9,7 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
NS Instance Creation
Do POST New nsInstance
POST New nsInstance
Check HTTP Response Status Code Is 201
Check HTTP Response Header Contains Location
Check HTTP Response Body Json Schema Is NsIdentifierCreationNotification.schema.json
......
......@@ -10,7 +10,7 @@ Suite Setup Check resource existance
*** Test Cases ***
NS Instance Deletion
Check resource not_instantiated
Do DELETE IndividualNSInstance
DELETE IndividualNSInstance
Check HTTP Response Status Code Is 204
Check HTTP Response Body Json Schema Is NsIdentifierDeletionNotification.schema.json
......
......@@ -10,35 +10,35 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post Fail operation task
Depends on test Check resource FAILED_TEMP
Do POST Fail operation task
POST Fail operation task
Check HTTP Response Status Code Is 202
Post Fail operation task Not Found
[Setup] Check Fail not supported
Do POST Fail operation task
POST Fail operation task
Check HTTP Response Status Code Is 404
Check HTTP Response Body Json Schema Is ProblemDetails.schema.json
Post Fail operation task Conflict
Depends on test failure Check resource FAILED_TEMP
Do POST Fail operation task
POST Fail operation task
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails.schema.json
PUT Fail operation task - Method not implemented
Do PUT Fail operation task
PUT Fail operation task
Check HTTP Response Status Code Is 405
PATCH Fail operation task - Method not implemented
Do PATCH Fail operation task
PATCH Fail operation task
Check HTTP Response Status Code Is 405
DELETE Fail operation task - Method not implemented
Do DELETE Fail operation task
DELETE Fail operation task
Check HTTP Response Status Code Is 405
GET Fail operation task - Method not implemented
Do GET Fail operation task
GET Fail operation task
Check HTTP Response Status Code Is 405
......
......@@ -9,31 +9,31 @@ Suite Setup Check resource existance
*** Test Cases ***
Heal a NSInstance
Do POST Heal NSInstance
POST Heal NSInstance
Check HTTP Response Status Code Is 202
Check HTTP Response Header Contains Location
Heal a NSInstance Conflict
[Setup] Check resource not_instantiated
Do POST Heal NSInstance
POST Heal NSInstance
Check HTTP Response Status Code Is 409
Check HTTP Response Header Contains ${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is ProblemDetails.schema.json
GET Heal NSInstance- Method not implemented
Do GET Heal NSInstance
GET Heal NSInstance
Check HTTP Response Status Code Is 405
PUT Heal NSInstance - Method not implemented
Do PUT Heal NSInstance
PUT Heal NSInstance
Check HTTP Response Status Code Is 405
PATCH Heal NSInstance - Method not implemented
Do PATCH Heal NSInstance
PATCH Heal NSInstance
Check HTTP Response Status Code Is 405
DELETE Heal NSInstance - Method not implemented
Do DELETE Heal NSInstance
DELETE Heal NSInstance
Check HTTP Response Status Code Is 405
\ No newline at end of file
......@@ -11,7 +11,7 @@ Suite Teardown Terminate All Processes kill=true
*** Test Cases ***
Heal Flow of NS lifecycle management operations
Check resource instantiated
Do POST Heal NSInstance
POST Heal NSInstance
Check HTTP Response Status Code Is 202
Check Operation Occurrence Id
Check Operation Notification Status is START
......
......@@ -9,30 +9,30 @@ Suite Setup Check resource existance
*** Test Cases ***
Post Individual VNFInstance - Method not implemented
Do POST IndividualNSInstance
POST IndividualNSInstance
Check HTTP Response Status Code Is 405
Get Information about an individual NS Instance
Do GET IndividualNSInstance
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.schema.json
PUT Individual NSInstance - Method not implemented
Do PUT IndividualNSInstance
PUT IndividualNSInstance
Check HTTP Response Status Code Is 405
PATCH Individual NSInstance - Method not implemented
Do PATCH IndividualNSInstance
PATCH IndividualNSInstance
Check HTTP Response Status Code Is 405
DELETE Individual NSInstance
Do DELETE IndividualNSInstance
DELETE IndividualNSInstance
Check HTTP Response Status Code Is 204
DELETE Individual NSInstance Conflict
[Setup] Check resource instantiated
Do DELETE IndividualNSInstance
DELETE IndividualNSInstance
Check HTTP Response Status Code Is 409
Check HTTP Response Header ContentType is ${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is ProblemDetails.schema.json
......@@ -8,23 +8,23 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post Individual NS LCM occurences - Method not implemented
Do POST Individual NS LCM OP Occurence
POST Individual NS LCM OP Occurence
Check HTTP Response Status Code Is 405
PUT stauts information about Individual NS LCM OP OCC - Method not implemented
Do PUT Individual NS LCM OP Occurence
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
Do PATCH Individual NS LCM OP Occurence
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
Do DELETE Individual NS LCM OP Occurence
DELETE Individual NS LCM OP Occurence
Check HTTP Response Status Code Is 405
Get stauts information about Individual NS LCM OP OCC
Do GET Individual NS LCN OP Occurence
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.schema.json
......
......@@ -10,22 +10,22 @@ Suite Setup Check subscription existance
*** Test Cases ***
Post Individual Subscription - Method not implemented
Do POST Individual Subscription
POST Individual Subscription
Check HTTP Response Status Code Is 405
Get Information about an individual subscription
Do GET Individual subscription
GET Individual subscription
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is subscription.schema.json
PUT an individual subscription - Method not implemented
Do PUT Individual Subscription
PUT Individual Subscription
Check HTTP Response Status Code Is 405
PATCH an individual subscription - Method not implemented
Do PATCH Individual Subscription
PATCH Individual Subscription
Check HTTP Response Status Code Is 405
DELETE an individual subscription
Do DELETE Individual Subscription
DELETE Individual Subscription
Check HTTP Response Status Code Is 204
\ No newline at end of file
......@@ -12,7 +12,7 @@ Suite Teardown Terminate All Processes kill=true
Instantiate Flow of NS lifecycle management operations
Check resource existance
Check resource not_instantiated
Do POST Instatiate nsInstance
POST Instatiate nsInstance
Check HTTP Response Status Code Is 202
Check Operation Occurrence Id
Check Operation Notification Status is START
......
......@@ -9,29 +9,29 @@ Suite Setup Check resource existance
*** Test Cases ***
Instantiate a nsInstance
Do POST Instatiate nsInstance
POST Instatiate nsInstance
Check HTTP Response Status Code Is 202
Check HTTP Response Header Contains Location
Instantiate a nsInstance Conflict
[Setup] Check resource instantiated
Do POST Instatiate nsInstance
POST Instatiate nsInstance
Check HTTP Response Status Code Is 409
Check HTTP Response Header Contains ${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is ProblemDetails.schema.json
GET Instantiate NSInstance - Method not implemented
Do GET Instantiate NSInstance
GET Instantiate NSInstance
Check HTTP Response Status Code Is 405
PUT Instantiate NSInstance - Method not implemented
Do PUT Instantiate NSInstance
PUT Instantiate NSInstance
Check HTTP Response Status Code Is 405
PATCH Instantiate NSInstance - Method not implemented
Do PATCH Instantiate NSInstance
PATCH Instantiate NSInstance
Check HTTP Response Status Code Is 405
DELETE Instantiate NSInstance - Method not implemented
Do DELETE Instantiate NSInstance
DELETE Instantiate NSInstance
Check HTTP Response Status Code Is 405
\ No newline at end of file
......@@ -8,38 +8,38 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Create a new NsInstance
Do POST New nsInstance
POST New nsInstance
Check HTTP Response Status Code Is 201
Check HTTP Response Header Contains Location
Check HTTP Response Header ContentType is ${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is NsInstance.schema.json
Get information about multiple NS instances
Do GET NsInstances
GET NsInstances
Check HTTP Response Status Code Is 200
Check HTTP Response Header ContentType is ${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is NsInstances.schema.json
Get information about multiple NS instances Bad Request Invalid attribute-based filtering parameters
Do GET NsInstance Invalid Attribute-Based filtering parameter
GET NsInstance Invalid Attribute-Based filtering parameter
Check HTTP Response Status Code Is 400
Check HTTP Response Header ContentType is ${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is ProblemDetails.schema.json
Get information about multiple NS instances Bad Request Invalid attribute selector
Do GET NsInstance Invalid Attribute Selector
GET NsInstance Invalid Attribute Selector
Check HTTP Response Status Code Is 400
Check HTTP Response Header ContentType is ${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is ProblemDetails.schema.json
PUT NSInstances - Method not implemented
Do PUT NSInstances
PUT NSInstances
Check HTTP Response Status Code Is 405
PATCH NSInstances - Method not implemented
Do PATCH NSInstances
PATCH NSInstances
Check HTTP Response Status Code Is 405
DELETE NSInstances - Method not implemented
Do DELETE NSInstances
DELETE NSInstances
Check HTTP Response Status Code Is 405
\ No newline at end of file
......@@ -8,34 +8,34 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Post NS LCM occurences - Method not implemented
Do POST NS LCM OP Occurences
POST NS LCM OP Occurences
Check HTTP Response Status Code Is 405
PUT stauts information about multiple NS LCM OP OCC - Method not implemented
Do PUT NS LCM OP Occurences
PUT NS LCM OP Occurences
Check HTTP Response Status Code Is 405
PATCH stauts information about multiple NS LCM OP OCC - Method not implemented
Do PATCH NS LCM OP Occurences
PATCH NS LCM OP Occurences
Check HTTP Response Status Code Is 405
DELETE stauts information about multiple NS LCM OP OCC - Method not implemented
Do DELETE NS LCM OP Occurences
DELETE NS LCM OP Occurences
Check HTTP Response Status Code Is 405
Get stauts information about multiple NS LCM OP OCC
Do GET NS LCN OP Occurences
GET NS LCN OP Occurences
Check HTTP Response Status Code Is 200
Check HTTP Response Header ContentType is ${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is NsLcmOpOccs.schema.json
Get stauts information about multiple NS LCM OP OCC Bad Request Invalid attribute-based filtering parameters
Do GET NS LCN OP Occurences Invalid attribute-based filtering parameters
GET NS LCN OP Occurences Invalid attribute-based filtering parameters
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails.schema.json
Get stauts information about multiple NS LCM OP OCC Bad Request Invalid attribute selector
Do GET NS LCN OP Occurences Invalid attribute selector
GET NS LCN OP Occurences Invalid attribute selector
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails.schema.json
\ No newline at end of file
......@@ -145,7 +145,7 @@ Check HTTP Response Header ContentType is
Should Be Equal as Strings ${response[0]['headers']['Content-Type']} ${expected_contentType}
Log Content Type validated
Do POST New nsInstance
POST New nsInstance
Log Create NS instance by POST to ${apiRoot}/${apiName}/${apiVersion}/ns_instances
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
......@@ -155,7 +155,7 @@ Do POST New nsInstance
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Do GET NsInstances
GET NsInstances
Log Query NS The GET method queries information about multiple NS instances.
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
......@@ -165,7 +165,7 @@ Do GET NsInstances
Set Global Variable @{response} ${outputResponse}
Do GET NsInstance Invalid Attribute-Based filtering parameter
GET NsInstance Invalid Attribute-Based filtering parameter
Log Query NS The GET method queries information about multiple NS instances.
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
......@@ -174,7 +174,7 @@ Do GET NsInstance Invalid Attribute-Based filtering parameter
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Do GET NsInstance Invalid Attribute Selector
GET NsInstance Invalid Attribute Selector
Log Query NS The GET method queries information about multiple NS instances.
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
......@@ -183,7 +183,7 @@ Do GET NsInstance Invalid Attribute Selector
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Do PUT NSInstances
PUT NSInstances
log Trying to perform a PUT. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
......@@ -192,7 +192,7 @@ Do PUT NSInstances
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Do PATCH NSInstances
PATCH NSInstances
log Trying to perform a PATCH. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
......@@ -201,7 +201,7 @@ Do PATCH NSInstances
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Do DELETE NSInstances
DELETE NSInstances
log Trying to perform a DELETE. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
......@@ -210,7 +210,7 @@ Do DELETE NSInstances
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
DO POST IndividualNSInstance
POST IndividualNSInstance
Log Trying to perform a POST. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
......@@ -219,7 +219,7 @@ DO POST IndividualNSInstance
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Do GET IndividualNSInstance
GET IndividualNSInstance
Log Trying to get information about an individual NS instance
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
......@@ -229,7 +229,7 @@ Do GET IndividualNSInstance
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
DO PUT IndividualNSInstance
PUT IndividualNSInstance
Log Trying to perform a PUT. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
......@@ -238,7 +238,7 @@ DO PUT IndividualNSInstance
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
DO PATCH IndividualNSInstance
PATCH IndividualNSInstance
Log Trying to perform a PATCH. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
......@@ -247,7 +247,7 @@ DO PATCH IndividualNSInstance
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Do DELETE IndividualNSInstance
DELETE IndividualNSInstance
log Trying to delete an individual VNF instance
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
Delete ${apiRoot}/${apiName}/${apiVersion}/ns_instances/${nsInstanceId}
......@@ -255,7 +255,7 @@ Do DELETE IndividualNSInstance
Set Global Variable @{response} ${outputResponse}
Do DELETE IndividualNSInstance Conflict
DELETE IndividualNSInstance Conflict
log Trying to delete an individual VNF instance
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
Delete ${apiRoot}/${apiName}/${apiVersion}/ns_instances/${ConflictNsInstanceId}
......@@ -263,14 +263,14 @@ Do DELETE IndividualNSInstance Conflict
Set Global Variable @{response} ${outputResponse}
Do DELETE Instantiate NSInstance
DELETE Instantiate NSInstance
log Trying to delete an instantiate NS instance. This method should not be implemented
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
Delete ${apiRoot}/${apiName}/${apiVersion}/ns_instances/${nsInstanceId}/instantiate
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Do PATCH Instantiate NSInstance
PATCH Instantiate NSInstance
log Trying to patch an instantiate NS instance. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
......@@ -279,7 +279,7 @@ Do DELETE Instantiate NSInstance
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Do PUT Instantiate NSInstance
PUT Instantiate NSInstance
log Trying to put an instantiate NS instance. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
......@@ -288,7 +288,7 @@ Do PUT Instantiate NSInstance
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Do GET Instantiate NSInstance
GET Instantiate NSInstance
log Trying to get an instantiate NS instance. This method should not be implemented
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
......@@ -297,7 +297,7 @@ Do GET Instantiate NSInstance
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Do POST Instatiate nsInstance
POST Instatiate nsInstance
Log Trying to Instantiate a ns Instance
Set Headers {"Accept":"${ACCEPT}"}
Set Headers {"Content-Type": "${CONTENT_TYPE}"}
......@@ -307,14 +307,14 @@ Do GET Instantiate NSInstance
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Do DELETE Scale NSInstance
DELETE Scale NSInstance
log Trying to delete an Scale NS instance. This method should not be implemented
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
Delete ${apiRoot}/${apiName}/${apiVersion}/ns_instances/${nsInstanceId}/scale
${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse}
Do PATCH Scale NSInstance
PATCH Scale NSInstance