logTrying to perform a PUT. This method should not be implemented
Set Headers{"Accept":"${ACCEPT}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
Post${apiRoot}/${apiName}/${apiVersion}/alarms
LogValidate Status code
Integerresponse status405
[Documentation]Test ID: 7.3.5.1.1
...Test title: POST Alarms - Method not implemented
...Test objective: The objective is to test that Post method is not allowed to create Fault management alarms on VNF
...Pre-conditions: none
...Reference: section 7.4.2.3.1 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions:none
Send POST request for fault management Alarms
Check HTTP Response Status Code Is405
Get information about multiple alarms
[Documentation]Test ID: 7.4.2.1
[Documentation]Test ID: 7.3.5.1.2
...Test title: Get information about multiple alarms
...Test objective: The objective is to retrieve information about the alarm list
...Pre-conditions:
...Reference: section 7.4.2 - SOL003 v2.4.1
...Test objective: The objective is to retrieve information about the alarm list and perform a JSON schema and content validation of the returned alarms data structure
...Pre-conditions: none
...Reference: section 7.4.2.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
LogQuery VNF The GET method queries information about multiple alarms.
Set Headers{"Accept":"${ACCEPT}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
Get information about multiple alarms with filters
[Documentation]Test ID: 7.4.2.2
...Test title: Get information about multiple alarms - with filters
...Test objective: The objective is to retrieve information about the alarm list
...Pre-conditions:
...Reference: section 7.4.2 - SOL003 v2.4.1
[Documentation]Test ID: 7.3.5.1.2
...Test title: Get information about multiple alarms with filters
...Test objective: The objective is to retrieve information about the alarm list and perform a JSON schema and content validation of the returned alarms data structure, and verify that the retrieved information matches the issued attribute-based filters
...Pre-conditions: none
...Reference: section 7.4.2.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
LogQuery VNF The GET method queries information about multiple alarms with filters.
Set Headers{"Accept":"${ACCEPT}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
Get information about multiple alarms Bad Request Invalid attribute-based filtering parameters
[Documentation]Test ID: 7.4.2.2-1
...Test title: Get information about multiple alarms - with Invalid attribute-based filtering parameters
[Documentation]Test ID: 7.3.5.1.2
...Test title:The objective is to try to retrieve information about the alarm list and perform a JSON schema and content validation of the returned problem details data structure, and verify that the retrieved information matches the issued attribute-based filters
...Test objective: The objective is to retrieve information about the alarm list
...Pre-conditions:
...Reference: section 7.4.2 - SOL003 v2.4.1
...Reference: section 7.4.2.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
LogQuery VNF The GET method queries information about multiple alarm instances.
Set Headers{"Accept":"${ACCEPT}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
...Test title: POST Alarm - Method not implemented
...Test objective: The objective is to test that Post method is not allowed to create Fault management individual alarm on VNF
...Pre-conditions: none
...Reference: section 7.4.3.3.1 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Send POST request for fault management Individual Alarm
Check HTTP Response Status Code Is405
Get information about an alarm
[Documentation]Test ID: 7.4.3.1
...Test title: Get information about an alarm
...Test objective: The objective is to read an individual alarm.
Get information about an fault management individual alarm
[Documentation]Test ID: 7.3.5.2.2
...Test title: Get information about an fault management individual alarm
...Test objective: The objective is to retrieve information about an individual alarm and perform a JSON schema and content validation of the returned alarm data structure
...Pre-conditions: The related alarm exists
...Reference: section 7.4.3 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
LogQuery VNF The GET method queries information about an alarm.
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
...Test objective: The objective is to Modify an individual alarm resource and perform a JSON schema and content validation of the returned alarm data structure
...Pre-conditions: The related alarm exists
...Reference: section 7.4.3 - SOL003 v2.4.1
...Reference: section 7.4.3.3.4 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
logTrying to perform a PATCH. This method modifies an individual alarm resource
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE_PATCH}"}
Set Headers{"If-Match": "${original_etag[0]}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
Check HTTP Response Body Json Schema IsalarmModification
PATCH Alarm - Precondition failed
[Documentation]Test ID: 7.4.3.2-1
Modify an individual alarm resource - Precondition failed
[Documentation]Test ID: 7.4.5.2.5
...Test title: Modify an individual alarm resource - Precondition failed
...Test objective: The objective is to Modify an individual alarm resource
...Test objective: The objective is to test that we cannot Modify an individual alarm resource if the alarm is already in the state that is requested to be set
...Pre-conditions: The related alarm exists
...Reference: section 7.4.3 - SOL003 v2.4.1
...Reference: section 7.4.3.3.4 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions: The alarm resource is not modified
Depends On TestPATCH Alarm# If the previous test scceeded, it means that Etag has been modified
logTrying to perform a PATCH. This method modifies an individual alarm resource
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE_PATCH}"}
Set Headers{"If-Match": "${original_etag[0]}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
Changes for SOL003/VirtualisedResourcesQuotaAvailableNotification-API/IndividualSubscription.robot: 21 added lines, 19 removed lines.
Original line number
Diff line number
Diff line
@@ -10,63 +10,65 @@ Documentation This resource represents an individual subscription. The client
Suite SetupCheck Individual Subscription existance
*** Test Cases ***
Post Individual Subscription - Method not implemented
Create new Virtualised Resources Quota Available Notification individual subscription
[Documentation]Test ID: 7.3.7.2.1
...Test title: Post Individual Subscription - Method not implemented
...Test objective: The objective is to test that POST method is not allowed to create a new individual subscription instance on NFV
...Pre-conditions: A NFV instance is instantiated
...Test title: Create new Virtualised Resources Quota Available Notification individual subscription
...Test objective: The objective is to test that POST method is not allowed to create a new Virtualised Resources Quota Available Notification individual subscription instance on VNF
...Pre-conditions: A VNF instance is instantiated
...Reference:section 11.4.3.3.1 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Do Post Individual Subscription
Send Post request for Virtualised Resources Quota Available Notification Individual Subscription
Check HTTP Response Status Code Is405
Get Information about an individual subscription
[Documentation]Test ID: 7.3.7.2.2
...Test title: Get Information about an individual subscription
...Test objective: The objective is to read an individual subscription subscribed by the client
...Test objective: The objective is to read an individual Virtualised Resources Quota Available Notification subscription subscribed by the client and perform a JSON schema and content validation of the returned individual subscription data structure
...Pre-conditions: The subscription with the given id exists
...Reference: section 11.4.3.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Do Get individual subscription
Get Virtualised Resources Quota Available Notification individual subscription
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsVrQuotaAvailSubscription.schema.json
Check HTTP Response Body Json Schema IsVrQuotaAvailSubscription
PUT an individual subscription - Method not implemented
[Documentation]Test ID: 7.3.7.2.3
...Test title: Put Individual Subscription - Method not implemented
...Test objective: The objective is to test that PUT method is not allowed to update a existing individual subscription instance on NFV
...Pre-conditions: A NFV instance is instantiated
...Test title: PUT an individual subscription - Method not implemented
...Test objective: The objective is to test that PUT method is not allowed to update a existing Virtualised Resources Quota Available Notification individual subscription instance on VNF
...Pre-conditions: A VNF instance is instantiated
...Reference:section 11.4.3.3.3 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Do Put Individual Subscription
Put Virtualised Resources Quota Available Notification individual Subscription
Check HTTP Response Status Code Is405
PATCH an individual subscription - Method not implemented
[Documentation]Test ID: 7.3.7.2.4
...Test title: Patch Individual Subscription - Method not implemented
...Test objective: The objective is to test that PATCH method is not allowed to modify a existing individual subscription instance on NFV
...Pre-conditions: A NFV instance is instantiated
...Test title: PATCH an individual subscription - Method not implemented
...Test objective: The objective is to test that PATCH method is not allowed to modify a existing Virtualised Resources Quota Available Notification individual subscription instance on VNF
...Pre-conditions: A VNF instance is instantiated
...Reference:section 11.4.3.3.4 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Do Patch Individual Subscription
Patch Virtualised Resources Quota Available Notification individual subscription
Check HTTP Response Status Code Is405
DELETE an individual subscription
[Documentation]Test ID: 7.3.7.2.5
...Test title: Delete an Individual Subscription
...Test objective: The objective is to test that Delete method is allowed to remove a existing individual subscription instance on NFV
...Test title: DELETE an individual subscription
...Test objective: The objective is to test that Delete method is allowed to remove a existing Virtualised Resources Quota Available Notification individual subscription instance on VNF
...Pre-conditions: The subscription with the given id exists
...Reference:section 11.4.3.3.5 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Do Delete an individual subscription
Delete Virtualised Resources Quota Available Notification individual subscription
Check HTTP Response Status Code Is204
Check Postcondition VNF Virtualised Resources Quota Available Notification individual Subscriptions is Deleted