LogReceived 405 Method not implemented as expected
GET Individual Network Service Descriptor Information
[Documentation]Test ID: 5.3.1.2.1
...Test title: GET Individual Network Service Descriptor Information
...Test objective: The objective is to test the retrieval of an individual Network Service Descriptor information and perform a JSON schema validation of the collected data structure
...Pre-conditions: One or more Network Service Descriptors are set in the NFVO.
...Reference: section 5.4.3.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
GET Individual Network Service Descriptor Information
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsNsdInfo
Check HTTP Response Header Contains ETag
Check HTTP Response Body NsdInfo Identifier matches the requested Network Service Descriptor Information
GET Individual Network Service Descriptor Information with invalid resource identifier
[Documentation]Test ID: 5.3.1.2.2
...Test title: GET Individual Network Service Descriptor Information with invalid resource identifier
...Test objective: The objective is to test that the retrieval of an individual Network Service Descriptor Information fails when using an invalid resource identifier
...Pre-conditions: One or more Network Service Descriptors are set in the NFVO.
...Reference: section 5.4.3.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
GET Individual Network Service Descriptor Information with invalid resource identifier
Check HTTP Response Status Code Is404
Disable Individual Network Service Descriptor
[Documentation]Test ID: 5.3.1.2.3
...Test title: Disable Individual Network Service Descriptor
...Test objective: The objective is to test the disabling of an individual Network Service Descriptor and perform a JSON schema and content validation of the collected data structure
...Pre-conditions: One or more Network Service Descriptors are set in the NFVO in enabled operational state.
...Reference: section 5.4.3.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: The Network Service Descriptor is in operational state DISABLED and usage state is not modified
Send PATCH to disable Individual Network Service Descriptor
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsNsdInfoModification
Check Postcondition Network Service Descriptor is in operational stateDISABLED
Check Postcondition Network Service Descriptor usage state is unmodified (Implicit)
Enable Individual Network Service Descriptor
[Documentation]Test ID: 5.3.1.2.4
...Test title: Enable Individual Network Service Descriptor
...Test objective: The objective is to test the enabling of an individual Network Service Descriptor and perform a JSON schema and content validation of the collected data structure
...Pre-conditions: One or more Network Service Descriptors are set in the NFVO in DISABLED operational state (Test ID 5.3.1.2.3).
...Reference: section 5.4.3.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: The Network Service Descriptor is in operational state ENABLED and usage state is not modified
Send PATCH to enable Individual Network Service Descriptor
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsNsdInfoModification
Check Postcondition Network Service Descriptor is in operational stateENABLED
Check Postcondition Network Service Descriptor usage state is unmodified (Implicit)
Enable Individual Network Service Descriptor with conflict due to operational state ENABLED
[Documentation]Test ID: 5.3.1.2.5
...Test title: Enable Individual Network Service Descriptor with conflict due to operational state ENABLED
...Test objective: The objective is to test that enabling an individual Network Service Descriptor that is already in ENABLED operational state failsand perform a JSON schema validation of the failder operation HTTP response
...Pre-conditions: One or more Network Service Descriptors are set in the NFVO in ENABLED operational state (Test ID 5.3.1.2.4).
...Reference: section 5.4.3.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send PATCH to enable Individual Network Service Descriptor
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
Enable Individual Network Service Descriptor with conflict due to onboarding state
[Documentation]Test ID: 5.3.1.2.6
...Test title: Enable Individual Network Service Descriptor with conflict due to onboarding state
...Test objective: The objective is to test that the retrieval of an Network Service Descriptor fails due to a conflict when the Network Service Descriptor is not in onboarding state ONBOARDED in the NFVO. The test also performs a validation of the JSON schema validation of the failed operation HTTP response
...Pre-conditions: One or more Network Service Descriptors are set in the NFVO in ENABLED operational state. The onboarding state of the Network Service Descriptor for which the enabling is requested is different from ONBOARDED.
...Reference: section 5.4.3.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send PATCH to enable Individual Network Service Descriptor in onboarding state different from ONBOARDED
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
Enable Individual Network Service Descriptor with HTTP Etag precondition failure
[Documentation]Test ID: 5.3.1.2.7
...Test title:Enable Individual Network Service Descriptor with HTTP Etag precondition failure
...Test objective: The objective is to test that the retrieval of an Network Service Descriptor fails due to a precondition failure when using an uncorrect Http Etag identified.
...Pre-conditions: One or more Network Service Descriptors are set in the NFVO in ENABLED operational state (Test ID 5.3.1.2.4).
...Reference: section 5.4.3.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send PATCH to enable Individual Network Service Descriptor with HTTP Etag precondition failure
Check HTTP Response Status Code Is412
DELETE Individual Network Service Descriptor
[Documentation]Test ID: 5.3.1.2.9
...Test title:DELETE Individual Network Service Descriptor
...Test objective: The objective is to test the deletion of an individual Network Service Descriptor.
...Pre-conditions: One or more Network Service Descriptors are set in the NFVO in DISABLED operational state and NOT_IN_USE usage state.
...Reference: section 5.4.3.3.5 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: The Network Service Descriptor is not available anymore in the NFVO
Send DELETE Request for Individual Network Service Descriptor
Check HTTP Response Status Code Is204
Check Postcondition Network Service Descriptor is Deleted
DELETE Individual Network Service Descriptor in operational state ENABLED
[Documentation]Test ID: 5.3.1.2.10
...Test title:DELETE Individual Network Service Descriptor in operational state ENABLED
...Test objective: The objective is to test that the deletion of an individual Network Service Descriptor in operational state ENABLED fails. The test also performs a JSON schema validation of the failed operation HTTP response.
...Pre-conditions: One or more Network Service Descriptors are set in the NFVO in ENABLED operational state (Test ID 5.3.1.2.4).
...Reference: section 5.4.3.3.5 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: The Network Service Descriptor is not deleted by the failed operation.
Send DELETE Request for Individual Network Service Descriptor in operational state ENABLED
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
Check Postcondition Network Service Descriptor Exists
POST Individual Network Service Descriptor - Method not implemented
[Documentation]Test ID: 5.3.1.2.11
...Test title: POST Individual Network Service Descriptor - Method not implemented
...Test objective: The objective is to test that POST method is not allowed to create a new Network Service Descriptor
...Pre-conditions: none
...Reference:section 5.4.3.3.1 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send POST Request for Individual Network Service Descriptor
Check HTTP Response Status Code Is405
PUT Individual Network Service Descriptor - Method not implemented
[Documentation]Test ID: 5.3.1.2.12
...Test title: PUT Individual Network Service Descriptor - Method not implemented
...Test objective: The objective is to test that PUT method is not allowed to modify a new Network Service Descriptor
...Pre-conditions: none
...Reference:section 5.4.3.3.3 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send PUT Request for Individual Network Service Descriptor
LogReceived 405 Method not implemented as expected
Get single file NSD Content in Plain Format
[Documentation]Test ID: 5.3.1.3.1
...Test title: Get single file NSD Content in Plain Format
...Test objective: The objective is to test the retrieval of the NSD Content in plain format and perform a validation that returned content is in plain format
...Pre-conditions: One or more NSDs are onboarded in the NFVO.
...Reference: section 5.4.4.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: The NSD is implemented as a single file
...Test objective: The objective is to test the retrieval of the NSD Content in zip format and perform a validation that returned content is in zip format
...Pre-conditions: One or more NSDs are onboarded in the NFVO.
Get single file NSD Content in Plain or Zip Format
[Documentation]Test ID: 5.3.1.3.3
...Test title: Get single file NSD Content in Plain or Zip Format
...Test objective: The objective is to test the retrieval of the single file NSD Content when requesting Plain or Zip format to NFVO by including both formats in the request, and perform a validation that returned content is in Plain or Zip format
...Pre-conditions: One or more NSDs are onboarded in the NFVO.
...Reference: section 5.4.4.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: The NSD Content is implemented as a single file
...Post-Conditions: none
Get single file NSD Content in Plain or Zip Format
Check HTTP Response Status Code Is200
Check HTTP Response Header Content-Type Is Any oftext/plainapplication/zip
Get multi file NSD Content in Plain or Zip Format
[Documentation]Test ID: 5.3.1.3.4
...Test title: Get multi file NSD Content in Plain or Zip Format
...Test objective: The objective is to test the retrieval of the multi file NSD Content when requesting Plain or Zip format to NFVO by including both formats in the request, and perform a validation that returned content is in Zip format
...Pre-conditions: One or more NSDs are onboarded in the NFVO.
...Reference: section 5.4.4.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: The NSD is implemented as a multi file
...Test title: Get multi file NSD Content in Plain Format
...Test objective: The objective is to test that the retrieval of the multi file NSD Content fails when requesting it in Plain format, and perform a validation of the JSON schema validation of the failed operation HTTP response
...Pre-conditions: One or more NSDs are onboarded in the NFVO.
...Reference: section 5.4.4.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: The NSD Content is implemented as a multi file
...Post-Conditions: none
Get multi file NSD Content in Plain Format
Check HTTP Response Status Code Is406
Check HTTP Response Body Json Schema IsProblemDetails
Get NSD Content with invalid resource identifier
[Documentation]Test ID: 5.3.1.3.6
...Test title: Get NSD Content with invalid resource identifier
...Test objective: The objective is to test that the retrieval of the NSD Content fails when using an invalid resource identifier
...Pre-conditions: none
...Reference: section 5.4.4.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Get NSD Content with invalid resource identifier
Check HTTP Response Status Code Is404
Get NSD Content with conflict due to onboarding state
[Documentation]Test ID: 5.3.1.3.7
...Test title: Get NSD Content with conflict due to onboarding state
...Test objective: The objective is to test that the retrieval of the NSD Content fails due to a conflict when the NSD is not in onboarding state ONBOARDED 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: section 5.4.4.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Get NSD Content with conflict due to onboarding state
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
GET NSD Content with Range Request and NFVO supporting Range Requests
[Documentation]Test ID: 5.3.1.3.8
...Test title: GET NSD Content with Range Request and NFVO supporting Range Requests
...Test objective: The objective is to test the retrieval of NSD Content when using a range request to return single range of bytes from the file, with the NFVO supporting it. The test also perform a validation that returned content matches the issued range
...Pre-conditions: One or more NSDs are onboarded in the NFVO.
...Reference: section 5.4.4.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: The NFVO supports range requests to return single range of bytes from the NSD file
Check HTTP Response Header Content-Range Is Present and Matches the requested range
Check HTTP Response Header Content-Length Is Present and Matches the requested range length
GET NSD Content with Range Request and NFVO not supporting Range Requests
[Documentation]Test ID: 5.3.1.3.9
...Test title: GET NSD Content with Range Request and NFVO not supporting Range Requests
...Test objective: The objective is to test that the retrieval of NSD Content, when using a range request to return single range of bytes from the file and the NFVO not supporting it, returns the full NSD file.
...Pre-conditions: One or more NSDs are onboarded in the NFVO.
...Reference: section 5.4.4.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: The NFVO does not support range requests to return single range of bytes from the NSD file
...Test title: GET NSD Content with invalid Range Request
...Test objective: The objective is to test that the retrieval of NSD Content fails when using a range request that does not match any available byte range in the file.
...Pre-conditions: One or more NSDs are onboarded in the NFVO.
...Reference: section 5.4.4.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: The NFVO supports range requests to return single range of bytes from the NSD file
...Post-Conditions: none
GET NSD Content with invalid Range Request
Check HTTP Response Status Code Is416
Upload NSD Content as Zip file in asynchronous mode
[Documentation]Test ID: 5.3.1.3.11
...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: section 5.4.4.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: The NFVO supports supports the upload of NSD contents in asynchronous mode
...Post-Conditions: none
Send PUT Request to upload NSD Content as zip file file in asynchronous mode
Check HTTP Response Status Code Is202
Upload NSD Content as plain text file in asynchronous mode
[Documentation]Test ID: 5.3.1.3.12
...Test title: Upload NSD Content as plain text file in asynchronous mode
...Test objective: The objective is to test the upload of an NSD Content in plain text format when the NFVO supports the asynchronous upload mode.
...Pre-conditions: One or more NSDs are onboarded in the NFVO.
...Reference: section 5.4.4.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: The NFVO supports supports the upload of NSD contents in asynchronous mode
...Post-Conditions: none
Send PUT Request to upload NSD Content as plain text file in asynchronous mode
Check HTTP Response Status Code Is202
Upload NSD Content as Zip file in synchronous mode
[Documentation]Test ID: 5.3.1.3.13
...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: section 5.4.4.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: The NFVO supports supports the upload of NSD contents in synchronous mode
...Post-Conditions: none
Send PUT Request to upload NSD Content as zip file in synchronous mode
Check HTTP Response Status Code Is204
Upload NSD Content as plain text file in synchronous mode
[Documentation]Test ID: 5.3.1.3.14
...Test title: Upload NSD Content as plain text file in synchronous mode
...Test objective: The objective is to test the upload of an NSD Content in plain text format when the NFVO supports the synchronous upload mode.
...Pre-conditions: One or more NSDs are onboarded in the NFVO.
...Reference: section 5.4.4.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: The NFVO supports supports the upload of NSD contents in synchronous mode
...Post-Conditions: none
Send PUT Request to upload NSD Content as plain text file in synchronous mode
Check HTTP Response Status Code Is204
Upload NSD Content with conflict due to onboarding state
[Documentation]Test ID: 5.3.1.3.15
...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: section 5.4.4.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send PUT Request to upload NSD Content with conflict due to onboarding state
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
POST NSD Content - Method not implemented
[Documentation]Test ID: 5.3.1.3.16
...Test title: POST NSD Content - Method not implemented
...Test objective: The objective is to test that POST method is not allowed to create a new Network Service Descriptor content
...Pre-conditions: none
...Reference:section 5.4.4.3.1 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send POST Request for NSD Content
Check HTTP Response Status Code Is405
PATCH NSD Content - Method not implemented
[Documentation]Test ID: 5.3.1.3.16
...Test title: PATCH NSD Content - Method not implemented
...Test objective: The objective is to test that PATCH method is not allowed to update Network Service Descriptor content
...Pre-conditions: none
...Reference:section 5.4.4.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send PATCH Request for NSD Content
Check HTTP Response Status Code Is405
DELETE NSD Content - Method not implemented
[Documentation]Test ID: 5.3.1.3.17
...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
...Pre-conditions: none
...Reference:section 5.4.4.3.5 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: The NSD content is not deleted by the failed operation
LogTrying to get a negative case performing a get on a NSD present in the NFVO Catalogue. Accept will be text/plain but NSD is composed my multiple files.
Set Headers{"Accept": "${ACCEPT_PLAIN}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}