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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
** Settings ***
Library JSONSchemaLibrary schemas/
Resource environment/variables.txt
Library JSONLibrary
Library OperatingSystem
Resource NFVMANOCimKeywords.robot
Library REST ${NFVMANO_SCHEMA}://${NFVMANO_HOST}:${NFVMANO_PORT} ssl_verify=false
Library MockServerLibrary
*** Test Cases ***
POST Peer Entity
[Documentation] Test ID: 8.3.1.8.1
... Test title: POST Peer Entity
... Test objective: The objective is to creates in the producer NFV-MANO functional entity a new peer entity resource which contains configuration and information with regards to the peer functional entity and perform the JSON schema validation of the returned job data structure.
... Pre-conditions: none
... Reference: clause 5.5.13.3.1 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: Peer Entity is created
Send Post request for Peer Entity
Check HTTP Response Status Code Is 201
Check HTTP Response Body Json Schema Is PeerEntity
Check HTTP Response Header Contains Location
Check Postcondition Peer Entity Resource is created
GET Peer Entities
[Documentation] Test ID: 8.3.1.8.2
... Test title: GET Peer Entities
... Test objective: The objective is to query information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities, and perform the JSON schema validation of the returned job data structure.
... Pre-conditions: At least one Peer Entity is already created.
... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
Get Peer Entities
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is PeerEntities
GET Peer Entities - invalid attribute-based filter
[Documentation] Test ID: 8.3.1.8.3
... Test title: GET Peer Entities - invalid attribute-based filter
... Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response.
... Pre-conditions: At least one Peer Entity is already created.
... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
Get Peer Entities with invalid filter
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET Peer Entities - invalid attribute selector
[Documentation] Test ID: 8.3.1.8.4
... Test title: GET Peer Entities - invalid attribute selector
... Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using invalid attribute selector, and perform the JSON schema validation of the failed operation HTTP response.
... Pre-conditions: At least one Peer Entity is already created.
... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
Get Peer Entities with invalid selector
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET Peer Entities - Bad Request Response too Big
[Documentation] Test ID: 8.3.1.8.5
... Test title: GET Peer Entities - Bad Request Response too Big
... Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response.
... Pre-conditions: At least one Peer Entity is already created.
... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
Get Peer Entities
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
GET Peer Entities with attribute-based filter
[Documentation] Test ID: 8.3.1.8.6
... Test title: GET Peer Entities with attribute-based filter
... Test objective: The objective is to query information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with attribute filters, and perform the JSON schema validation of the returned job data structure.
... Pre-conditions: At least one Peer Entity is already created.
... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
Get Peer Entities with filter
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is PeerEntities
GET Peer Entities with "all_fields" attribute selector
[Documentation] Test ID: 8.3.1.8.7
... Test title: GET Peer Entities with "all_fields" attribute selector
... Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "all_fields" attribute selector, and perform the JSON schema validation of the returned job data structure.
... Pre-conditions: At least one Peer Entity is already created.
... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
Get Peer Entities with all_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is PeerEntities
GET Peer Entities with "exclude_default" attribute selector
[Documentation] Test ID: 8.3.1.8.8
... Test title: GET Peer Entities with "exclude_default" attribute selector
... Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "exclude_default" attribute selector, and perform the JSON schema validation of the returned job data structure.
... Pre-conditions: At least one Peer Entity is already created.
... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
Get Peer Entities with all_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is PeerEntities
GET Peer Entities with "fields" attribute selector
[Documentation] Test ID: 8.3.1.8.9
... Test title: GET Peer Entities with "fields" attribute selector
... Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with fields attribute selector, and perform the JSON schema validation of the returned job data structure.
... Pre-conditions: At least one Peer Entity is already created.
... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
Get Peer Entities with fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is PeerEntities
GET Peer Entities with "exclude_fields" attribute selector
[Documentation] Test ID: 8.3.1.8.10
... Test title: GET Peer Entities with "exclude_fields" attribute selector
... Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "exclude_fields" attribute selector, and perform the JSON schema validation of the returned job data structure.
... Pre-conditions: At least one Peer Entity is already created.
... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
Get Peer Entities with exclude_fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is PeerEntities
GET Peer Entities with "exclude_default" and "fields" attribute selector
[Documentation] Test ID: 8.3.1.8.11
... Test title: GET Peer Entities with "exclude_default" and "fields" attribute selector
... Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "exclude_default" and "fields" attribute selector, and perform the JSON schema validation of the returned job data structure.
... Pre-conditions: At least one Peer Entity is already created.
... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
Get Peer Entity with exclude_default and fields attribute selector
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is PeerEntities
GET Peer Entity with Paged Response
[Documentation] Test ID: 8.3.1.8.12
... Test title: GET Peer Entity with Paged Response
... Test objective: The objective is to query information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities to get Paged Response.
... Pre-conditions: At least one Peer Entity is already created.
... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
Get Peer Entities
Check HTTP Response Status Code Is 200
Check HTTP Response Header Contains Link
Get Peer Entity with malformed authorization token
[Documentation] Test ID: 8.3.1.8.13
... Test title: Get Peer Entity with malformed authorization token
... Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using malformed authorization token.
... Pre-conditions: none
... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: The Peer Entity requires the usage of access tokens for authorizing the API requests.
... Post-Conditions: none
GET Peer Entities with malformed authorization token
Check HTTP Response Status Code Is 401
Get Peer Entity without authorization token
[Documentation] Test ID: 8.3.1.8.14
... Test title: Get Peer Entity without authorization token
... Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when omitting the authorization token.
... Pre-conditions: none
... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: The Peer Entity requires the usage of access tokens for authorizing the API requests.
... Post-Conditions: none
GET Peer Entities without authorization token
Check HTTP Response Status Code Is 401
GET information about multiple alarms with expired or revoked authorization token
[Documentation] Test ID: 8.3.1.8.15
... Test title: GET information about multiple alarms with expired or revoked authorization token
... Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using expired or revoked authorization token.
... Pre-conditions: none
... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v3.3.1
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
... Config ID: Config_prod_NFV-MANO
... Applicability: The Peer Entity requires the usage of access tokens for authorizing the API requests.
... Post-Conditions: none
GET Peer Entities with expired or revoked authorization token
Check HTTP Response Status Code Is 401
PUT Peer Entities - Method not implemented
[Documentation] Test ID: 8.3.1.8.16
... Test title: PUT Peer Entities - Method not implemented
... Test objective: The objective is to test that PUT method is not implemeted.
... Pre-conditions: none
... Reference: clause 5.5.13.3.3 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
Send Put request for Peer Entities
Check HTTP Response Status Code Is 405
PATCH Peer Entities - Method not implemented
[Documentation] Test ID: 8.3.1.8.17
... Test title: PATCH Peer Entities - Method not implemented
... Test objective: The objective is to test that PATCH method is not implemeted.
... Pre-conditions: none
... Reference: clause 5.5.13.3.4 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
Send Patch request for Peer Entities
Check HTTP Response Status Code Is 405
DELETE Peer Entities - Method not implemented
[Documentation] Test ID: 8.3.1.8.18
... Test title: DELETE Peer Entities - Method not implemented
... Test objective: The objective is to test that DELETE method is not implemeted.
... Pre-conditions: none
... Reference: clause 5.5.13.3.5 - ETSI GS NFV-SOL 009 [7] v3.3.1
... Config ID: Config_prod_NFV-MANO
... Applicability: none
... Post-Conditions: none
Send Delete request for Peer Entities
Check HTTP Response Status Code Is 405