@@ -12,10 +12,10 @@ POST Alarms - Method not implemented
[Documentation]Test ID: 6.3.4.1.1
...Test title: POST Alarms - Method not implemented
...Test objective: The objective is to test that the method is not implemented
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.1 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Applicability: none
...Post-Conditions: none
POST Alarms Task
Check HTTP Response Status Code Is405
@@ -24,11 +24,11 @@ GET information about multiple alarms
[Documentation]Test ID: 6.3.4.1.2
...Test title: GET information about multiple alarms
...Test objective: The objective is to retrieve information about the alarm list
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
...Applicability: none
...Post-Conditions: none
GET Alarms Task
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema Isalarms
@@ -36,12 +36,12 @@ GET information about multiple alarms
GET information about multiple alarms with attribute-based filter
[Documentation]Test ID: 6.3.4.1.3
...Test title: GET information about multiple alarms with attribute-based filter
...Test objective: The objective is to retrieve information about the alarm list
...Pre-conditions:
...Test objective: The objective is to retrieve information about the alarm list with attribute-based filter
...Pre-conditions: none
...Reference: Clause 7.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
...Applicability: none
...Post-Conditions: none
GET Alarms Task with filter
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema Isalarms
@@ -50,11 +50,11 @@ GET information about multiple alarms with invalid attribute-based filter
[Documentation]Test ID: 6.3.4.1.4
...Test title: GET information about multiple alarms with invalid attribute-based filter
...Test objective: The objective is to retrieve information about the alarm list
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
...Applicability: none
...Post-Conditions: none
GET Alarms Task with invalid filter
Check HTTP Response Status Code Is400
Check HTTP Response Body Json Schema IsProblemDetails
@@ -63,11 +63,11 @@ GET information about multiple alarms with "all_fields" attribute selector
[Documentation]Test ID: 6.3.4.1.5
...Test title: GET information about multiple alarms with "all_fields" attribute selector
...Test objective: The objective is to retrieve information about the alarm list
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.3 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
...Applicability: none
...Post-Conditions: none
GET Alarms Task with all_fields attribute selector
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema Isalarms
@@ -76,11 +76,11 @@ GET information about multiple alarms with exclude_default attribute selector
[Documentation]Test ID: 6.3.4.1.6
...Test title: GET information about multiple alarms with "exclude_default" attribute selector
...Test objective: The objective is to retrieve information about the alarm list
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.3 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
...Applicability: none
...Post-Conditions: none
GET Alarms Task with exclude_default attribute selector
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema Isalarms
@@ -89,11 +89,11 @@ GET information about multiple alarms with fields attribute selector
[Documentation]Test ID: 6.3.4.1.7
...Test title: GET information about multiple alarms with fields attribute selector
...Test objective: The objective is to retrieve information about the alarm list
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.3 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
...Applicability: none
...Post-Conditions: none
GET Alarms Task with fields attribute selector
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema Isalarms
@@ -102,10 +102,10 @@ GET information about multiple alarms with "exclude_fields" attribute selector
[Documentation]Test ID: 6.3.4.1.8
...Test title: GET information about multiple alarms with "exclude_fields" attribute selector
...Test objective: The objective is to retrieve information about the alarm list
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.3 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Applicability: none
...Post-Conditions: none
GET Alarms Task with exclude_fields attribute selector
Check HTTP Response Status Code Is200
@@ -115,10 +115,10 @@ PUT Alarms - Method not implemented
[Documentation]Test ID: 6.3.4.1.9
...Test title: PUT Alarms - Method not implemented
...Test objective: The objective is to test that the method is not implemented
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.3 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Applicability: none
...Post-Conditions: none
PUT Alarms Task
Check HTTP Response Status Code Is405
@@ -127,10 +127,10 @@ PATCH Alarms - Method not implemented
[Documentation]Test ID: 6.3.4.1.10
...Test title: PATCH Alarms - Method not implemented
...Test objective: The objective is to test that the method is not implemented
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.4 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Applicability: none
...Post-Conditions: none
PATCH Alarms Task
Check HTTP Response Status Code Is405
@@ -139,11 +139,11 @@ DELETE Alarms - Method not implemented
[Documentation]Test ID: 6.3.4.1.11
...Test title: DELETE Alarms - Method not implemented
...Test objective: The objective is to test that the method is not implemented
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.5 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions: the alarm is not deleted
...Applicability: none
...Post-Conditions: none
DELETE Alarms Task
Check HTTP Response Status Code Is405
@@ -151,24 +151,24 @@ GET information about multiple alarms to get Paged Response
[Documentation]Test ID: 6.3.4.1.12
...Test title: GET information about multiple alarms to get Paged Response
...Test objective: The objective is to retrieve information about the alarms to get paged response
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
...Applicability: none
...Post-Conditions:none
GET Alarms Task
Check HTTP Response Status Code Is200
Check LINK in Header
Check HTTP Response Header Contain Link
GET information about multiple alarms for Bad Request Response too big
[Documentation]Test ID: 6.3.4.1.13
...Test title: GET information about multiple alarms for Bad Request Response too big
...Test objective: The objective is to test that GET method fail retrieving status information about Alarms when Response is too big, and perform the JSON schema validation of the failed operation HTTP response
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
...Applicability: none
...Post-Conditions: none
GET Alarms Task with invalid filter
Check HTTP Response Status Code Is400
Check HTTP Response Body Json Schema IsProblemDetails
@@ -177,11 +177,11 @@ GET information about alarms with attribute-based filter "id"
[Documentation]Test ID: 6.3.4.1.14
...Test title: GET information about alarms with attribute-based filter "id"
...Test objective: The objective is to retrieve information about the alarm list with alarm filter "id"
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
...Applicability: none
...Post-Conditions: none
GET Alarms Task with filter "id"
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema Isalarm
@@ -191,11 +191,11 @@ GET information about multiple alarms with attribute-based filter "vnfcInstanceI
[Documentation]Test ID: 6.3.4.1.15
...Test title: GET information about multiple alarms with attribute-based filter "vnfcInstanceIds"
...Test objective: The objective is to retrieve information about the alarm list with attribute filter "vnfcInstanceIds"
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
...Applicability: none
...Post-Conditions: none
GET Alarms Task with filter "vnfcInstanceIds"
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema Isalarms
@@ -205,11 +205,11 @@ GET information about multiple alarms with attribute-based filter "rootCauseFaul
[Documentation]Test ID: 6.3.4.1.16
...Test title: GET information about multiple alarms with attribute-based filter "rootCauseFaultyResource.faultyResourceType"
...Test objective: The objective is to retrieve information about the alarm list with attribute filter "rootCauseFaultyResource.faultyResourceType"
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
...Applicability: none
...Post-Conditions: none
GET Alarms Task with filter "rootCauseFaultyResource_faultyResourceType"
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema Isalarms
@@ -219,11 +219,11 @@ GET information about multiple alarms with attribute-based filter "eventType"
[Documentation]Test ID: 6.3.4.1.17
...Test title: GET information about multiple alarms with attribute-based filter "eventType"
...Test objective: The objective is to retrieve information about the alarm list with attribute filter "eventType"
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
...Applicability: none
...Post-Conditions: none
GET Alarms Task with filter "eventType"
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema Isalarms
@@ -233,11 +233,11 @@ GET information about multiple alarms with attribute-based filter "perceivedSeve
[Documentation]Test ID: 6.3.4.1.18
...Test title: GET information about multiple alarms with attribute-based filter "perceivedSeverity"
...Test objective: The objective is to retrieve information about the alarm list with attribute filter "perceivedSeverity"
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
...Applicability: none
...Post-Conditions: none
GET Alarms Task with filter "perceivedSeverity"
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema Isalarms
@@ -247,11 +247,11 @@ GET information about multiple alarms with attribute-based filter "probableCause
[Documentation]Test ID: 6.3.4.1.19
...Test title: GET information about multiple alarms with attribute-based filter "probableCause"
...Test objective: The objective is to retrieve information about the alarm list with attribute filter "probableCause"
...Pre-conditions:
...Pre-conditions: none
...Reference: Clause 7.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v2.7.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
...Applicability: none
...Post-Conditions: none
GET Alarms Task with filter "probableCause"
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema Isalarms
@@ -357,7 +357,7 @@ Check HTTP Response Body Json Schema Is
Validate Json${schema}${response['body']}
LogJson Schema Validation OK
Check LINK in Header
Check HTTP Response Header Contain Link
${linkURL}=Get Value From Json${response['headers']}$..Link
Should Not Be Empty${linkURL}
@@ -426,7 +426,7 @@ GET Alarms Task with filter "perceivedSeverity"
Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "perceivedSeverity"
:FOR${item}IN@{response['body']}
Should Be Equal As Strings${item['perceivedSeverity']}${perceivedSeverity}
Should Be Equal As Strings${item['perceivedSeverity']}${PerceivedSeverity}