...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: Clause 5.4.4.3.2 - ETSI GS NFV-SOL 005 [3] v2.7.1
...Config ID: Config_prod_NFVO
...Applicability: The NSD is implemented as a single file
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: Clause 5.4.4.3.2 - ETSI GS NFV-SOL 005 [3] v2.7.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: Clause 5.4.4.3.2 - ETSI GS NFV-SOL 005 [3] v2.7.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: Clause 5.4.4.3.2 - ETSI GS NFV-SOL 005 [3] v2.7.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
@@ -85,6 +33,7 @@ Get NSD Content with invalid resource identifier
...Post-Conditions: none
Get NSD Content with invalid resource identifier
Check HTTP Response Status Code Is404
Check HTTP Response Body Json Schema IsProblemDetails
Get NSD Content with conflict due to onboarding state
[Documentation]Test ID: 5.3.1.3.7
@@ -138,6 +87,7 @@ GET NSD Content with invalid Range Request
...Post-Conditions: none
GET NSD Content with invalid Range Request
Check HTTP Response Status Code Is416
Check HTTP Response Body Json Schema IsProblemDetails
Upload NSD Content as Zip file in asynchronous mode
[Documentation]Test ID: 5.3.1.3.11
@@ -152,20 +102,6 @@ Upload NSD Content as Zip file in asynchronous mode
Check HTTP Response Status Code Is202
Check Post Condition NSD Content has been Uploaded
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: Clause 5.4.4.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1
...Config ID: Config_prod_NFVO
...Applicability: The NFVO 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
Check Post Condition NSD Content has been Uploaded
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
@@ -179,20 +115,6 @@ Upload NSD Content as Zip file in synchronous mode
Check HTTP Response Status Code Is204
Check Postcondition NSD Content is uploaded and available in the NFVO
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: Clause 5.4.4.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1
...Config ID: Config_prod_NFVO
...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
Send PUT Request to upload NSD Content as plain text file in synchronous mode
Check HTTP Response Status Code Is204
Check Postcondition NSD Content is uploaded and available in the NFVO
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
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}"}
...Test objective: The objective is to test the retrieval of the PNFD Content in plain format and perform a validation that returned content is in plain format
...Test objective: The objective is to test the retrieval of the PNFD Content in zip format and perform a validation that returned content is in plain format
...Pre-conditions: One or more PNFDs are onboarded in the NFVO.
...Reference: Clause 5.4.7.3.2 - ETSI GS NFV-SOL 005 [3] v2.7.1
@@ -47,27 +47,25 @@ Get PNFD Content with conflict due to onboarding state
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
Upload PNFD Content as plain text file
Upload PNFD Content as zip file
[Documentation]Test ID: 5.3.1.6.4
...Test title: Upload PNFD Content as plain text file
...Test title: Upload PNFD Content as zip file
...Test objective: The objective is to test the upload of a PNFD Content in plain text format.
...Pre-conditions: One or more PNFDs are onboarded in the NFVO.
...Reference: Clause 5.4.7.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1
...Reference: Clause 5.4.7.3.3 - ETSI GS NFV-SOL 005 [3] v2.7.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: The uploaded PNFD content is available in the NFVO
Send PUT Request to upload PNFD Content as plain text file
Send PUT Request to upload PNFD Content as zip file
Check HTTP Response Status Code Is204
Check Postcondition PNFD Content Exists
Upload PNFD Content with conflict due to onboarding state
[Documentation]Test ID: 5.3.1.6.5
...Test title: Upload PNFD Content with conflict due to onboarding state
...Test objective: The objective is to test that the upload of the PNFD Content fails due to a conflict when the PNFD 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 PNFD for which the PNFD Content is requested is different from CREATED.
...Reference: Clause 5.4.7.3.4 - ETSI GS NFV-SOL 005 [3] v2.7.1
...Reference: Clause 5.4.7.3.3 - ETSI GS NFV-SOL 005 [3] v2.7.1
Get PNFD Content with Range Request and NFVO supporting Range Requests
[Documentation]Test ID: 5.3.1.6.9
...Test title: Get PNFD Content with Range Request and NFVO supporting Range Requests
...Test objective: The objective is to test the retrieval of the PNFD Content in plain format when using a range request to return single range of bytes from the file, with the NFVO supporting it
...Pre-conditions: One or more PNFDs are onboarded in the NFVO.
...Reference: Clause 5.4.7.3.2 - ETSI GS NFV-SOL 005 [3] v2.7.1
Check HTTP Response Header Content-Range Is Present and Matches the requested range
Get PNFD Content with invalid Range Request
[Documentation]Test ID: 5.3.1.6.10
...Test title: Get PNFD Content with invalid Range Request
...Test objective: The objective is to test the retrieval of the PNFD Content in plain format and perform a validation that returned content is in plain format
...Pre-conditions: One or more PNFDs are onboarded in the NFVO.
...Reference: Clause 5.4.7.3.2 - ETSI GS NFV-SOL 005 [3] v2.7.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Get PNFD Content with invalid Range Request
Check HTTP Response Status Code Is416
Upload PNFD Archive Content
[Documentation]Test ID: 5.3.1.6.11
...Test title: Upload PNFD Archive Content
...Test objective: The objective is to test the PNFD archive has been accepted for uploading, but the processing has not been completed.
...Pre-conditions: One or more PNFDs are onboarded in the NFVO.
...Reference: Clause 5.4.7.3.3 - ETSI GS NFV-SOL 005 [3] v2.7.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send PUT Request to upload PNFD Content as zip file
Send Patch Request for NSD Management Subscriptions
Check HTTP Response Status Code Is405
DELETE NSD Management Subscriptions - Method not implemented
[Documentation]Test ID: 5.3.1.7.10
...Test title: DELETE NSD Management Subscriptions - Method not implemented
@@ -179,3 +173,15 @@ Get NSD Management Subscriptions - Bad Request Response too Big
Get all NSD Management Subscriptions
Check HTTP Response Status Code Is400
Check HTTP Response Body Json Schema IsProblemDetails
Create new NSD Management subscription - Unprocessable Entity
[Documentation]Test ID: 5.3.1.7.13
...Test title: Create new NSD Management subscription - Unprocessable Entity
...Test objective: The objective is to test the creation of a new NSD Management subscription fials when content type of the payload body is supported and the payload body of a request contains syntactically correct data but the data cannot be processed
...Pre-conditions: none
...Reference: Clause 5.4.8.3.1 - ETSI GS NFV-SOL 005 [3] v2.7.1