@@ -39,7 +39,7 @@ Get information about multiple alarms with filters
...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 - SOL003 v2.4.1
...Reference: section 7.4.2.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
@@ -52,7 +52,7 @@ Get information about multiple alarms Bad Request Invalid attribute-based filter
...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
...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}"}