...Test title: GET Individual PNF Descriptor Information
...Test objective: The objective is to test the retrieval of an individual PNF Descriptor information and perform a JSON schema validation of the collected data structure
...Pre-conditions: One or more PNF Descriptors are set in the NFVO.
...Reference: section 5.4.6.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
GET Individual PNF Descriptor Information
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPnfdInfo
Check HTTP Response Header Contains ETag
Check HTTP Response Body PnfdInfo Identifier matches the requested PNF Descriptor Information
GET Individual PNF Descriptor Information with invalid resource identifier
[Documentation]Test ID: 5.3.1.5.2
...Test title: GET Individual PNF Descriptor Information with invalid resource identifier
...Test objective: The objective is to test that the retrieval of an individual PNF Descriptor Information fails when using an invalid resource identifier
...Pre-conditions: One or more PNF Descriptors are set in the NFVO.
...Reference: section 5.4.6.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
GET Individual PNF Descriptor Information with invalid resource identifier
Check HTTP Response Status Code Is404
GET Single PNF Descriptor (Negative: Not found)
LogTrying to perform a GET on an erroneous pnfDescriptorInfoId
Set Headers{"Accept": "${ACCEPT_JSON}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
...Test objective: The objective is to test the update of an individual PNF Descriptor and perform a JSON schema and content validation of the collected data structure
...Pre-conditions: One or more Update Individual PNF Descriptors are onboarded in the NFVO.
...Reference: section 5.4.6.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: The PNF Descriptor is modified according to the update request
Send PATCH to update Individual PNF Descriptor
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsPnfdInfoModification
Check Postcondition PNF Descriptor is modified according to the requested update
PATCH Single PNF Descriptor - (Disabling a nsdInfo)
[Documentation]The PATCH method modifies the user defined data of an individual PNF descriptor resource.
...This method shall follow the provisions specified in the Tables 5.4.6.3.4-1 and 5.4.6.3.4-2 for URI query parameters,
...request and response data structures, and response codes.
LogThe PATCH method modifies the user defined data of an individual PNF descriptor resource.
Set Headers{"Accept": "${ACCEPT_JSON}"}
Set Headers{"Content-Type": "${CONTENT_TYPE_JSON}"}
${body}=Get Filejsons/PnfdInfoModification.json
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
Update Individual PNF Descriptor with HTTP Etag precondition failure
[Documentation]Test ID: 5.3.1.5.4
...Test title:Update Individual PNF Descriptor with HTTP Etag precondition failure
...Test objective: The objective is to test that the update of a PNF Descriptor fails due to a precondition failure when using an uncorrect Http Etag identified.
...Pre-conditions: One or more Update Individual PNF Descriptors are onboarded in the NFVO.
...Reference: section 5.4.6.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send PATCH to update Individual PNF Descriptor with HTTP Etag precondition failure
Check HTTP Response Status Code Is412
POST Individual PNF Descriptor - Method not implemented
[Documentation]Test ID: 5.3.1.5.5
...Test title: POST Individual PNF Descriptor - Method not implemented
...Test objective: The objective is to test that POST method is not allowed to create a new PNF Descriptor
...Pre-conditions: none
...Reference:section 5.4.6.3.1 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send POST Request for Individual PNF Descriptor
Check HTTP Response Status Code Is405
DELETE Single PNF Descriptor
LogTrying to perform a DELETE pnfdInfo.
Set Headers{"Accept": "${ACCEPT_JSON}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
LogReceived 405 Method not implemented as expected
Get PNFD Content
[Documentation]Test ID: 5.3.1.6.1
...Test title: Get PNFD Content
...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.
...Test title: Get PNFD Content with invalid resource identifier
...Test objective: The objective is to test that the retrieval of the PNFD Content fails when using an invalid resource identifier
...Pre-conditions: none
...Reference: section 5.4.7.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Get PNFD Content with invalid resource identifier
Check HTTP Response Status Code Is404
Get PNFD Content with conflict due to onboarding state
[Documentation]Test ID: 5.3.1.6.3
...Test title: Get PNFD Content with conflict due to onboarding state
...Test objective: The objective is to test that the retrieval of the PNFD Content fails due to a conflict when the PNFD 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 PNFD for which the PNFD Content is requested is different from ONBOARDED.
...Reference: section 5.4.7.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
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
[Documentation]Test ID: 5.3.1.6.4
...Test title: Upload PNFD Content as plain text 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: section 5.4.7.3.4 - SOL005 v2.4.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
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: section 5.4.7.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send PUT Request to upload PNFD Content with conflict due to onboarding state
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
POST PNFD Content - Method not implemented
[Documentation]Test ID: 5.3.1.6.6
...Test title: POST PNFD Content - Method not implemented
...Test objective: The objective is to test that POST method is not allowed to create a new PNF Descriptor content
...Pre-conditions: none
...Reference:section 5.4.7.3.1 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send POST Request for PNFD Content
Check HTTP Response Status Code Is405
PATCH PNFD Content - Method not implemented
[Documentation]Test ID: 5.3.1.6.7
...Test title: PATCH PNFD Content - Method not implemented
...Test objective: The objective is to test that PATCH method is not allowed to update PNF Descriptor content
...Pre-conditions: none
...Reference:section 5.4.7.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send PATCH Request for PNFD Content
Check HTTP Response Status Code Is405
DELETE PNFD Content - Method not implemented
[Documentation]Test ID: 5.3.1.6.8
...Test title: DELETE PNFD Content - Method not implemented
...Test objective: The objective is to test that DELETE method is not allowed to delete PNF Descriptor content
...Pre-conditions: none
...Reference:section 5.4.7.3.5 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: The PNFD content is not deleted by the failed operation
Changes for SOL005/NSDManagement-API/Subscriptions.robot: 115 added lines, 33 removed lines.
Original line number
Diff line number
Diff line
@@ -11,64 +11,146 @@ Suite Setup Create Sessions
Suite TeardownTerminate All Processeskill=true
*** Test Cases ***
Get All NS Descriptor Subscriptions
Get all NS Descriptor Subscriptions
Get All NSD Management Subscriptions
[Documentation]Test ID: 5.3.1.7.1
...Test title: Get All NSD Management Subscriptions
...Test objective: The objective is to test the retrieval of all NSD Management subscriptions and perform a JSON schema validation of the returned subscriptions data structure
...Pre-conditions: At least one NSD Management subscription is available in the NFVO.
...Reference:section 5.4.8.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Get all NSD Management Subscriptions
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsNsdmSubscriptions
Get NS Descriptor Subscriptions with attribute-based filter
Get NS Descriptor Subscriptions with attribute-based filters
Get NSD Management Subscriptions with attribute-based filter
[Documentation]Test ID: 5.3.1.7.2
...Test title: Get NSD Management Subscriptions with attribute-based filter
...Test objective: The objective is to test the retrieval of NSD Management subscriptions using attribute-based filter, perform a JSON schema validation of the collected data structure, and verify that the retrieved information matches the issued attribute-based filters
...Pre-conditions: At least one NSD Management subscription is available in the NFVO.
...Reference:section 5.4.8.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Get NSD Management Subscriptions with attribute-based filters
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsNsdmSubscription
Check HTTP Response Body Subscriptions Match the requested Attribute-Based Filter
Get NS Descriptor Subscriptions with invalid attribute-based filter
Get NS Descriptor Subscriptions with invalid attribute-based filters
Get NSD Management Subscriptions with invalid attribute-based filter
[Documentation]Test ID: 5.3.1.7.3
...Test title: Get NSD Management Subscriptions with attribute-based filters
...Test objective: The objective is to test that the retrieval of NSD Management subscriptions fails when using invalid attribute-based filters, and perform the JSON schema validation of the failed operation HTTP response.
...Pre-conditions: At least one NSD Management subscription is available in the NFVO.
...Reference:section 5.4.8.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Get NSD Management Subscriptions with invalid attribute-based filters
Check HTTP Response Status Code Is400
Check HTTP Response Body Json Schema IsProblemDetails
GET NS Descriptor Subscription with invalid resource endpoint
Get NS Descriptor Subscriptions with invalid resource endpoint
GET NSD Management Subscription with invalid resource endpoint
[Documentation]Test ID: 5.3.1.7.4
...Test title: GET NSD Management Subscription with invalid resource endpoint
...Test objective: The objective is to test that the retrieval of all NSD Management subscriptions fails when using invalid resource endpoint.
...Pre-conditions: At least one NSD Management subscription is available in the NFVO.
...Reference:section 5.4.8.3.2 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Get NSD Management Subscriptions with invalid resource endpoint
Check HTTP Response Status Code Is404
Create new NS Descriptor subscription
Send Post Request for NS Descriptor Subscription
Create new NSD Management subscription
[Documentation]Test ID: 5.3.1.7.5
...Test title: Create new NSD Management subscription
...Test objective: The objective is to test the creation of a new NSD Management subscription and perform a JSON schema and content validation of the returned subscription data structure
...Pre-conditions: none
...Reference: section 5.4.8.3.1 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: The NSD Management subscription is successfully set and it matches the issued subscription
Send Post Request for NSD Management Subscription
Check HTTP Response Status Code Is201
Check HTTP Response Body Json Schema IsNsdmSubscription
Check HTTP Response Body Matches the Subscription
Check Postcondition NS Descriptor Subscription Is Set
Create duplicated NS Descriptor subscription with duplication handler
Send Post Request for Duplicated NS Descriptor Subscription
Check HTTP Response Body NsdmSubscription Attributes Values Match the Issued Subscription
Check Postcondition NSD Management Subscription Is Set
Create duplicated NSD Management subscription with duplication handler
[Tags]no-duplicated-subs
[Documentation]Test ID: 5.3.1.7.6
...Test title: Create duplicated NSD Management subscription with NFVO not creating duplicated subscriptions
...Test objective: The objective is to test the attempt of a creation of a duplicated NSD Management subscription and check that no new subscription is created by the NFVO and a link to the original subscription is returned
...Pre-conditions: At least one NSD Management subscription is available in the NFVO.
...Reference: section 5.4.8.3.1 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: The NFVO does not support the creation of duplicated subscriptions
...Post-Conditions: The existing NSD Management subscription returned is available in the NFVO
Send Post Request for Duplicated NSD Management Subscription
Check HTTP Response Status Code Is303
Check HTTP Response Body Is Empty
Check HTTP Response Header ContainsLocation
Check Postcondition Subscription Resource URI Returned in Location Header Is Valid
Create duplicated NS Descriptor subscription without duplication handler
Send Post Request for Duplicated NS Descriptor Subscription
Check Postcondition Subscription Resource Returned in Location Header Is Available
Create duplicated NSD Management subscription without duplication handler
...Test objective: The objective is to test the creation of a duplicated NSD Management subscription and perform a JSON schema and content validation of the returned duplicated subscription data structure
...Pre-conditions: At least one NSD Management subscription is available in the NFVO.
...Reference:section 5.4.8.3.1 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: The NFVO supports the creation of duplicated subscriptions
...Post-Conditions: The duplicated NSD Management subscription is successfully set and it matches the issued subscription
Send Post Request for Duplicated NSD Management Subscription
Check HTTP Response Status Code Is201
Check HTTP Response Body Json Schema IsPmSubscription
Check HTTP Response Body Matches the Subscription
Check Postcondition NS Descriptor Subscription Is Set
PUT NS Descriptor Subscriptions - Method not implemented
Send Put Request for NS Descriptor Subscriptions
Check HTTP Response Body NsdmSubscription Attributes Values Match the Issued Subscription
Check Postcondition NSD Management Subscription Is Set
PUT NSD Management Subscriptions - Method not implemented
[Documentation]Test ID: 5.3.1.7.8
...Test title: PUT NSD Management Subscriptions - Method not implemented
...Test objective: The objective is to test that PUT method is not allowed to modify NSD Management subscriptions
...Pre-conditions: At least one NSD Management subscription is available in the NFVO.
...Reference:section 5.4.8.3.3 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send Put Request for NSD Management Subscriptions
Check HTTP Response Status Code Is405
PATCH NS Descriptor Subscriptions - Method not implemented
Send Patch Request for NS Descriptor Subscriptions
PATCH NSD Management Subscriptions - Method not implemented
[Documentation]Test ID: 5.3.1.7.9
...Test title: PATCH NSD Management Subscriptions - Method not implemented
...Test objective: The objective is to test that PATCH method is not allowed to update NSD Management subscriptions
...Pre-conditions: At least one NSD Management subscription is available in the NFVO.
...Reference:section 5.4.8.3.4 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
Send Patch Request for NSD Management Subscriptions
Check HTTP Response Status Code Is405
DELETE NS Descriptor Subscriptions - Method not implemented
Send Delete Request for NS Descriptor Subscriptions
DELETE NSD Management Subscriptions - Method not implemented
[Documentation]Test ID: 5.3.1.7.10
...Test title: DELETE NSD Management Subscriptions - Method not implemented
...Test objective: The objective is to test that DELETE method is not allowed to delete NSD Management subscriptions
...Pre-conditions: At least one NSD Management subscription is available in the NFVO.
...Reference:section 5.4.8.3.5 - SOL005 v2.4.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: The NSD Management subscriptions are not deleted by the failed operation
Send Delete Request for NSD Management Subscriptions