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:
[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 - 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
...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}"}