Newer
Older
*** Settings ***
Resource environment/variables.txt
Resource NSFMOperationKeywords.robot
Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT}
Library JSONLibrary
Library JSONSchemaLibrary schemas/
Library OperatingSystem
*** Test Cases ***
POST Alarms - Method not implemented
[Documentation] Test ID: 8.4.2.1
... Test title:POST Alarms - Method not implemented
... Test objective: The objective is to post alarms
... Pre-conditions:
... Reference: section 8.4.2 - SOL005 v2.4.1
... Config ID:
... Applicability:
... Post-Conditions:
Do POST Alarms
Check HTTP Response Status Code Is 405
Get information about multiple alarms
[Documentation] Test ID: 8.4.2.2-1
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
... Test title: Get information about multiple alarms
... Test objective: The objective is to retrieve information about the alarm list
... Pre-conditions:
... Reference: section 8.4.2 - SOL005 v2.4.1
... Config ID:
... Applicability:
... Post-Conditions:
Do GET Alarms
Check HTTP Response Status Code Is 200
Check HTTP Response Header ContentType is ${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is alarms.schema.json
Get information about multiple alarms with filters
[Documentation] Test ID: 8.4.2.2-2
... Test title: Get information about multiple alarms with filters
... Test objective: The objective is to retrieve information about the alarm list with filters
... Pre-conditions:
... Reference: section 8.4.2 - SOL005 v2.4.1
... Config ID:
... Applicability:
... Post-Conditions:
Do GET Alarms With Filters
Check HTTP Response Status Code Is 200
Check HTTP Response Header ContentType is ${CONTENT_TYPE}
Check HTTP Response Body Json Schema Is alarms.schema.json
Get information about multiple alarms Bad Request Invalid attribute-based filtering parameters
[Documentation] Test ID: 8.4.2.2-3
... Test title: Get information about multiple alarms - with Invalid attribute-based filtering parameters
... Test objective: The objective is to retrieve information about the alarm list
... Pre-conditions:
... Reference: section 8.4.2 - SOL005 v2.4.1
... Config ID:
... Applicability:
... Post-Conditions:
Do GET Alarms With Invalid Filters
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails.schema.json
PUT Alarms - Method not implemented
[Documentation] Test ID: 8.4.2.3
... Test title: PUT Alarms - Method not implemented
... Test objective: The objective is to put alarms
... Pre-conditions:
... Reference: section 8.4.2 - SOL005 v2.4.1
... Config ID:
... Applicability:
... Post-Conditions:
Do PUT Alarms
Check HTTP Response Status Code Is 405
PATCH Alarms - Method not implemented
[Documentation] Test ID: 8.4.2.4
... Test title: PATCH Alarms - Method not implemented
... Test objective: The objective is to post alarms
... Pre-conditions:
... Reference: section 8.4.2 - SOL005 v2.4.1
... Config ID:
... Applicability:
... Post-Conditions:
Do PATCH Alarms
Check HTTP Response Status Code Is 405
DELETE Alarms - Method not implemented
[Documentation] Test ID: 8.4.2.5
... Test title: DELETE Alarms - Method not implemented
... Test objective: The objective is to DELETE alarms
... Pre-conditions:
... Reference: section 8.4.2 - SOL005 v2.4.1
... Config ID:
... Applicability:
... Post-Conditions:
Do DELETE Alarms
Check HTTP Response Status Code Is 405