Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
*** Settings ***
Resource environment/variables.txt
Resource FaultManagement-APIKeyword.robot
Library DependencyLibrary
Library REST ${VNFM_SCHEMA}://${VNFM_HOST}:${VNFM_PORT}
Library OperatingSystem
Library JSONLibrary
Library JSONSchemaLibrary schemas/
*** Test Cases ***
Create a new Fault Management alarm subscription
[Documentation] Test ID:8.3.3.3.1
... Test title: Create a new Fault Management alarm subscription
... Test objective: The objective is to create a new Fault management alarm subscriptions and perform a JSON schema and content validation of the returned fault management alarms subscription data structure
... Pre-conditions: No subscription with the same filter and callbackUri exists
... Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [5] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: subscription is created
POST Subscription
Check HTTP Response Status Code Is 201
Check Operation Occurrence Id
Check HTTP Response Body Json Schema Is FmSubscription
Create a new alarm subscription - DUPLICATION
[Documentation] Test ID: 8.3.3.3.2
... Test title: Create a new alarm subscription - DUPLICATION
... Test objective: The objective is to create a new subscription with the NFV-MANO allowing duplication and perform a JSON schema and content validation of the returned fault management alarms subscription data structure.
... Pre-conditions: subscription with the same filter and callbackUri exists
... Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [5] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: the NFV-MANO allows creating a subscription resource if another subscription resource with the same filter and callbackUri already exists
... Post-Conditions: duplicated subscription is created
POST Subscription Duplication permitted
Check HTTP Response Status Code Is 201
Check Operation Occurrence Id
Check HTTP Response Body Json Schema Is FmSubscription
Create a new alarm subscription - NO DUPLICATION
[Documentation] Test ID: 8.3.3.3.3
... Test title: Create a new alarm subscription - NO DUPLICATION
... Test objective: The objective is to create a new subscription with the NFV-MANO not allowing duplication and perform a JSON schema and content validation of the returned fault management alarms subscription data structure.
... Pre-conditions: subscription with the same filter and callbackUri exists
... Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [5] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: the NFV-MANO decides to not create a duplicate subscription resource
... Post-Conditions: duplicated subscription is not created
POST Subscription Duplication not permitted
Check HTTP Response Status Code Is 303
Check Operation Occurrence Id
Check HTTP Response Body Json Schema Is FmSubscription
Retrieve a list of alarm subscriptions
[Documentation] Test ID: 8.3.3.3.4
... Test title: Retrieve a list of alarm subscriptions
... Test objective: The objective is to retrieve the list of active subscriptions and perform a JSON schema and content validation of the returned fault management alarms subscription data structure.
... Pre-conditions: none
... Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: noe
GET Subscriptions
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is FmSubscriptions
Retrieve a list of alarm subscriptions with filter
[Documentation] Test ID: 8.3.3.3.5
... Test title: Retrieve a list of alarm subscriptions with filter
... Test objective: The objective is to retrieve the list of active subscriptions with filter and perform a JSON schema and content validation of the returned fault management alarms subscription data structure.
... Pre-conditions: none
... Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
GET Subscriptions with filter
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is FmSubscriptions
Get information about multiple alarms as a Paged Response
[Documentation] Test ID: 8.3.3.3.6
... Test title: Get information about multiple alarms as a Paged Response
... Test objective: The objective is to retrieve information about active list subscriptions as a Paged Response
... Pre-conditions: none
... Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
GET Subscriptions
Check HTTP Response Status Code Is 200
Check LINK in Header
GET subscriptions - Bad Request Invalid attribute-based filtering parameters
[Documentation] Test ID: 8.3.3.3.7
... Test title: GET subscriptions - Bad Request Invalid attribute-based filtering parameters
... Test objective: The objective is to retrieve the list of active subscriptions with Invalid attribute-based filtering parameters and perform a JSON schema and content validation of the returned problem details data structure.
... Pre-conditions: none
... Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
GET Subscriptions with Invalid filter
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
Get information about multiple alarms - Bad Request Response too Big
[Documentation] Test ID: 8.3.3.3.8
... Test title: Get information about multiple alarms - Bad Request Response too Big
... Test objective: The objective is to try to retrieve information about active list subscription to check that response is too big and perform a JSON schema and content validation of the returned problem details data structure
... Pre-conditions: none
... Reference: Clause clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
GET Subscriptions
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
PUT subscriptions - Method not implemented
[Documentation] Test ID: 8.3.3.3.9
... Test title:PUT subscriptions - Method not implemented
... Test objective: The objective is to test that PUT method is not allowed to for Fault management subscriptions on VNF
... Pre-conditions: none
... RReference: clause 7.5.5.3.3 - ETSI GS NFV-SOL 009 [5] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
Put Subscriptions
Check HTTP Response Status Code Is 405
PATCH subscriptions - Method not implemented
[Documentation] Test ID: 8.3.3.3.10
... Test title: PATCH subscriptions - Method not implemented
... Test objective: The objective is to test that PATCH method is not allowed to for Fault management subscriptions on VNF
... Pre-conditions: none
... Reference: clause 7.5.5.3.4 - ETSI GS NFV-SOL 009 [5] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
PATCH Subscriptions
Check HTTP Response Status Code Is 405
DELETE subscriptions - Method not implemented
[Documentation] Test ID: 8.3.3.3.11
... Test title: DELETE subscriptions - Method not implemented
... Test objective: The objective is to test that DELETE method is not allowed to for Fault management subscriptions on VNF
... Pre-conditions: none
... Reference: clause 7.5.5.3.5 - ETSI GS NFV-SOL 009 [5] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: subscription is not deleted
DELETE Subscriptions
Check HTTP Response Status Code Is 405