VNFPackages.robot 26.5 KB
Newer Older
1
2
*** Settings ***
Library           JSONSchemaLibrary    schemas/
3
Resource          environment/variables.txt    # Generic Parameters
4
Resource          VNFPackageManagementKeywords.robot    
5
Library           JSONLibrary
Elian Kraja's avatar
Elian Kraja committed
6
Library           REST    ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT}    ssl_verify=false
7
8

*** Test Cases ***
9
10
11
12
13
GET all VNF Packages
    [Documentation]    Test ID: 7.3.3.1.1
    ...    Test title: GET all VNF Packages
    ...    Test objective: The objective is to test the retrieval of all the available VNF packages information and perform a JSON schema and content validation of the collected data structure
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
14
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
15
16
17
18
19
20
21
22
23
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    GET all VNF Packages
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   vnfPkgsInfo
    Check HTTP Response Body Does Not Contain softwareImages
    Check HTTP Response Body Does Not Contain additionalArtifacts
    Check HTTP Response Body Does Not Contain userDefinedData 
24

25
26
27
28
29
GET VNF Packages with attribute-based filter
    [Documentation]    Test ID: 7.3.3.1.2
    ...    Test title: GET VNF Packages with attribute-based filter
    ...    Test objective: The objective is to test the retrieval of VNF packages using attribute-based filter, perform a JSON schema validation of the collected jobs data structure, and verify that the retrieved information matches the issued attribute-based filter
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
30
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
31
32
33
34
35
36
37
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    GET VNF Packages with attribute-based filter
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   vnfPkgsInfo
    Check HTTP Response Body VnfPkgsInfo Matches the requested attribute-based filter
38

39
40
41
42
43
GET VNF Packages with invalid attribute-based filter
    [Documentation]    Test ID: 7.3.3.1.3
    ...    Test title: GET VNF Packages with invalid attribute-based filter
    ...    Test objective: The objective is to test that the retrieval of VNF packages fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
44
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
45
46
47
48
49
50
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    GET VNF Packages with invalid attribute-based filter
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is   ProblemDetails
51

52
GET VNF Packages with "all_fields" attribute selector
53
    [Documentation]    Test ID: 7.3.3.1.4
54
55
    ...    Test title: GET VNF Packages with "all_fields" attribute selector
    ...    Test objective: The objective is to test the retrieval of VNF packages with "all_fields" attribute selector, perform a JSON schema validation of the collected data structure, and verify that the retrieved information matches the issued "all_fileds" selector
56
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
57
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
58
59
60
61
62
63
64
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none    
    GET VNF Packages with all_fields attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   vnfPkgsInfo
    Check HTTP Response Body vnfPkgsInfo Matches the requested all_fields selector
65

66
GET VNF Packages with "exclude_default" attribute selector
67
68
    [Documentation]    Test ID: 7.3.3.1.5
    ...    Test title: GET VNF Packages with exclude_default attribute selector
69
    ...    Test objective: The objective is to test the retrieval of VNF packages with "exclude_default" attribute selector, perform a JSON schema validation of the collected data structure, and verify that the retrieved information matches the issued "exclude_default" selector
70
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
71
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
72
73
74
75
76
77
78
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none        
    GET VNF Packages with exclude_default attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   vnfPkgsInfo
    Check HTTP Response Body vnfPkgsInfo Matches the requested exclude_default selector
79

80
GET VNF Packages with "fields" attribute selector
81
82
    [Documentation]    Test ID: 7.3.3.1.6
    ...    Test title: GET VNF Packages with fields attribute selector
83
    ...    Test objective: The objective is to test the retrieval of VNF packages with "fields" attribute selector, perform a JSON schema validation of the collected data structure, and verify that the retrieved information matches the issued "fields" selector
84
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
85
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
86
87
88
89
90
91
92
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: The VNFM supports the use of fields attribute selector
    ...    Post-Conditions: none
    GET VNF Packages with fields attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   vnfPkgsInfo
    Check HTTP Response Body vnfPkgsInfo Matches the requested fields selector
93

94
GET VNF Packages with "exclude_fields" attribute selector
95
96
    [Documentation]    Test ID: 7.3.3.1.7
    ...    Test title: GET VNF Packages with exclude_fields attribute selector
97
    ...    Test objective: The objective is to test the retrieval of VNF packages with "exclude_fields" attribute selector, perform a JSON schema validation of the collected data structure, and verify that the retrieved information matches the issued "exclude_fields" selector
98
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
99
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
100
101
102
103
104
105
106
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: The VNFM supports the use of exclude_fields attribute selector
    ...    Post-Conditions: none
    GET VNF Packages with exclude_fields attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   vnfPkgsInfo
    Check HTTP Response Body vnfPkgsInfo Matches the requested exclude_fields selector   
107

108
109
110
111
112
GET all VNF Packages with invalid resource endpoint
    [Documentation]    Test ID: 7.3.3.1.8
    ...    Test title: GET VNF Packages with invalid resource endpoint
    ...    Test objective: The objective is to test that the retrieval of VNF packages fails when using invalid resource endpoint
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
113
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
114
115
116
117
118
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    GET all VNF Packages with invalid resource endpoint
    Check HTTP Response Status Code Is    404
119

120
121
122
123
124
POST all VNF Packages - Method not implemented
    [Documentation]    Test ID: 7.3.3.1.9
    ...    Test title: POST all VNF Packages - Method not implemented
    ...    Test objective: The objective is to test that POST method is not allowed to create new VNF Packages
    ...    Pre-conditions: none
125
    ...    Reference: Clause 10.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.8.1
126
127
128
129
130
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    Send POST Request for all VNF Packages
    Check HTTP Response Status Code Is    405
131

132
133
134
135
136
PUT all VNF Packages - Method not implemented
    [Documentation]    Test ID: 7.3.3.1.10
    ...    Test title: PUT all VNF Packages - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not allowed to modify existing VNF Packages
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
137
    ...    Reference: Clause 10.4.2.3.3 - ETSI GS NFV-SOL 003 [1] v2.8.1
138
139
140
141
142
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    Send PUT Request for all VNF Packages
    Check HTTP Response Status Code Is    405
143

144
145
146
147
148
PATCH all VNF Packages - Method not implemented
    [Documentation]    Test ID: 7.3.3.1.11
    ...    Test title: PATCH all VNF Packages - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not allowed to update existing VNF Packages
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
149
    ...    Reference: Clause 10.4.2.3.4 - ETSI GS NFV-SOL 003 [1] v2.8.1
150
151
152
153
154
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    Send PATCH Request for all VNF Packages
    Check HTTP Response Status Code Is    405
155

156
157
158
159
160
DELETE all VNF Packages - Method not implemented
    [Documentation]    Test ID: 7.3.3.1.12
    ...    Test title: DELETE all VNF Packages - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not allowed to delete existing VNF Packages
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
161
    ...    Reference: Clause 10.4.2.3.5 - ETSI GS NFV-SOL 003 [1] v2.8.1
162
163
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
164
    ...    Post-Conditions: none
165
166
    Send DELETE Request for all VNF Packages
    Check HTTP Response Status Code Is    405
167
168
169
170
171
172
    
GET all VNF Packages as a Paged Response
    [Documentation]    Test ID: 7.3.3.1.13
    ...    Test title: GET all VNF Packages as a Paged Response
    ...    Test objective: The objective is to test the retrieval of all the available VNF packages information as a Paged Response.
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
173
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
174
    ...    Config ID: Config_prod_NFVO
175
    ...    Applicability: The VNFM supports response paging for the VNF package resources
176
177
178
    ...    Post-Conditions: none
    GET all VNF Packages
    Check HTTP Response Status Code Is    200
179
    Check HTTP Response Header Contain Link
180
181
182
183
184
185
186
187
188
189
190
191
192

GET all VNF Packages as a Paged Response with nextpage_opauque_marker parameter 
     [Documentation]    Test ID: 7.3.3.1.13a
    ...    Test title: GET all VNF Packages as a Paged Response with nextpage_opauque_marker parameter   
    ...    Test objective: The objective is to query information about all VNF packages as a Paged Response and retrieve the next page using the nextpage_opaque_marker parameter
    ...    Pre-conditions: A request for retrieving all VNF packages as a paged response has been successfully issued (Test ID: 7.3.3.1.13)
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: The VNFM supports response paging for the VNF package resources
    ...    Post-Conditions: none 
    GET all VNF Packages with nextpage_opaque_marker parameter 
    Check HTTP Response Status Code Is    200
  
193
194
195
196
197
GET VNF Packages - Bad Request Response too Big
    [Documentation]    Test ID: 7.3.3.1.14
    ...    Test title: GET VNF Packages - Bad Request Response too Big
    ...    Test objective: The objective is to test that the retrieval of VNF packages fails because response is too big, and perform the JSON schema validation of the failed operation HTTP response
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
198
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
199
200
201
202
203
204
205
206
207
208
209
210
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    GET all VNF Packages
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
GET all OnBoarded VNF Packages
    [Documentation]    Test ID: 7.3.3.1.15
    ...    Test title: GET all OnBoarded VNF Packages
    ...    Test objective: The objective is to test the retrieval of all the available onboarded VNF packages information and perform a JSON schema and content validation of the collected data structure
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
211
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    Get all OnBoarded VNF Packages
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   vnfPkgsInfo
    Check HTTP Response Body Does Not Contain softwareImages
    Check HTTP Response Body Does Not Contain additionalArtifacts
    Check HTTP Response Body Does Not Contain userDefinedData 

GET OnBoarded VNF Packages with attribute-based filter
    [Documentation]    Test ID: 7.3.3.1.16
    ...    Test title: GET OnBoarded VNF Packages with attribute-based filter
    ...    Test objective: The objective is to test the retrieval of OnBoarded VNF packages using attribute-based filter, perform a JSON schema validation of the collected jobs data structure, and verify that the retrieved information matches the issued attribute-based filter
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
227
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
228
229
230
231
232
233
234
235
236
237
238
239
240
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    GET OnBoarded VNF Packages with attribute-based filter
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   vnfPkgsInfo
    Check HTTP Response Body VnfPkgsInfo Matches the requested attribute-based filter

GET OnBoarded VNF Packages with invalid attribute-based filter
    [Documentation]    Test ID: 7.3.3.1.17
    ...    Test title: GET OnBoarded VNF Packages with invalid attribute-based filter
    ...    Test objective: The objective is to test that the retrieval of OnBoarded VNF packages fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
241
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
242
243
244
245
246
247
248
249
250
251
252
253
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    GET OnBoarded VNF Packages with invalid attribute-based filter
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is   ProblemDetails

GET OnBoarded VNF Packages with "all_fields" attribute selector
    [Documentation]    Test ID: 7.3.3.1.18
    ...    Test title: GET OnBoarded VNF Packages with "all_fields" attribute selector
    ...    Test objective: The objective is to test the retrieval of OnBoarded VNF packages with "all_fields" attribute selector, perform a JSON schema validation of the collected data structure, and verify that the retrieved information matches the issued "all_fileds" selector
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
254
    ...    Reference: Clause 4.3.3.2.1, 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
255
256
257
258
259
260
261
262
263
264
265
266
267
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none    
    GET OnBoarded VNF Packages with all_fields attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   vnfPkgsInfo
    Check HTTP Response Body vnfPkgsInfo Matches the requested all_fields selector

GET OnBoarded VNF Packages with "exclude_default" attribute selector
    [Documentation]    Test ID: 7.3.3.1.19
    ...    Test title: GET OnBoarded VNF Packages with exclude_default attribute selector
    ...    Test objective: The objective is to test the retrieval of OnBoarded VNF packages with "exclude_default" attribute selector, perform a JSON schema validation of the collected data structure, and verify that the retrieved information matches the issued "exclude_default" selector
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
268
    ...    Reference: Clause 4.3.3.2.1, 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
269
270
271
272
273
274
275
276
277
278
279
280
281
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none        
    GET OnBoarded VNF Packages with exclude_default attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   vnfPkgsInfo
    Check HTTP Response Body vnfPkgsInfo Matches the requested exclude_default selector

GET OnBoarded VNF Packages with "fields" attribute selector
    [Documentation]    Test ID: 7.3.3.1.20
    ...    Test title: GET OnBoarded VNF Packages with fields attribute selector
    ...    Test objective: The objective is to test the retrieval of OnBoarded VNF packages with "fields" attribute selector, perform a JSON schema validation of the collected data structure, and verify that the retrieved information matches the issued "fields" selector
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
282
    ...    Reference: Clause 4.3.3.2.1, 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
283
284
285
286
287
288
289
290
291
292
293
294
295
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: The VNFM supports the use of fields attribute selector
    ...    Post-Conditions: none
    GET OnBoarded VNF Packages with fields attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   vnfPkgsInfo
    Check HTTP Response Body vnfPkgsInfo Matches the requested fields selector

GET OnBoarded VNF Packages with "exclude_fields" attribute selector
    [Documentation]    Test ID: 7.3.3.1.21
    ...    Test title: GET OnBoarded VNF Packages with exclude_fields attribute selector
    ...    Test objective: The objective is to test the retrieval of OnBoarded VNF packages with "exclude_fields" attribute selector, perform a JSON schema validation of the collected data structure, and verify that the retrieved information matches the issued "exclude_fields" selector
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
296
    ...    Reference: Clause 4.3.3.2.1, 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
297
298
299
300
301
302
303
304
305
306
307
308
309
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: The VNFM supports the use of exclude_fields attribute selector
    ...    Post-Conditions: none
    GET OnBoarded VNF Packages with exclude_fields attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   vnfPkgsInfo
    Check HTTP Response Body vnfPkgsInfo Matches the requested exclude_fields selector   

GET all OnBoarded VNF Packages with invalid resource endpoint
    [Documentation]    Test ID: 7.3.3.1.22
    ...    Test title: GET OnBoarded VNF Packages with invalid resource endpoint
    ...    Test objective: The objective is to test that the retrieval of OnBoarded VNF packages fails when using invalid resource endpoint
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
310
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
311
312
313
314
315
316
317
318
319
320
321
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    GET OnBoarded all VNF Packages with invalid resource endpoint
    Check HTTP Response Status Code Is    404

POST all OnBoarded VNF Packages - Method not implemented
    [Documentation]    Test ID: 7.3.3.1.23
    ...    Test title: POST all OnBoarded VNF Packages - Method not implemented
    ...    Test objective: The objective is to test that POST method is not allowed to create new OnBoarded VNF Packages
    ...    Pre-conditions: none
322
    ...    Reference: Clause 10.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.8.1
323
324
325
326
327
328
329
330
331
332
333
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    Send OnBoarded POST Request for all VNF Packages
    Check HTTP Response Status Code Is    405

PUT all OnBoarded VNF Packages - Method not implemented
    [Documentation]    Test ID: 7.3.3.1.24
    ...    Test title: PUT all OnBoarded VNF Packages - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not allowed to modify existing OnBoarded VNF Packages
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
334
    ...    Reference: Clause 10.4.2.3.3 - ETSI GS NFV-SOL 003 [1] v2.8.1
335
336
337
338
339
340
341
342
343
344
345
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    Send OnBoarded PUT Request for all VNF Packages
    Check HTTP Response Status Code Is    405

PATCH all OnBoarded VNF Packages - Method not implemented
    [Documentation]    Test ID: 7.3.3.1.25
    ...    Test title: PATCH all OnBoarded VNF Packages - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not allowed to update existing OnBoarded VNF Packages
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
346
    ...    Reference: Clause 10.4.2.3.4 - ETSI GS NFV-SOL 003 [1] v2.8.1
347
348
349
350
351
352
353
354
355
356
357
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    Send OnBoarded PATCH Request for all VNF Packages
    Check HTTP Response Status Code Is    405

DELETE all OnBoarded VNF Packages - Method not implemented
    [Documentation]    Test ID: 7.3.3.1.26
    ...    Test title: DELETE all OnBoarded VNF Packages - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not allowed to delete existing OnBoarded VNF Packages
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
358
    ...    Reference: Clause 10.4.2.3.5 - ETSI GS NFV-SOL 003 [1] v2.8.1
359
360
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
361
    ...    Post-Conditions: none
362
363
364
365
366
367
368
369
    Send OnBoarded DELETE Request for all VNF Packages
    Check HTTP Response Status Code Is    405
    
GET all OnBoarded VNF Packages as a Paged Response
    [Documentation]    Test ID: 7.3.3.1.27
    ...    Test title: GET all OnBoarded VNF Packages as a Paged Response
    ...    Test objective: The objective is to test the retrieval of all the available OnBoarded VNF packages information as a Paged Response.
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
370
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
371
    ...    Config ID: Config_prod_NFVO
372
    ...    Applicability: The VNFM supports response paging for the VNF package resources
373
374
375
    ...    Post-Conditions: none
    Get all OnBoarded VNF Packages
    Check HTTP Response Status Code Is    200
376
    Check HTTP Response Header Contain Link
377
378
379
380
381
382
383
384
385
386
387
388
389

GET all OnBoarded VNF Packages as a Paged Response with nextpage_opauque_marker parameter 
     [Documentation]    Test ID: 7.3.3.1.27a
    ...    Test title: GET all OnBoarded VNF Packages as a Paged Response with nextpage_opauque_marker parameter   
    ...    Test objective: The objective is to query information about all onBoarded VNF packages as a Paged Response and retrieve the next page using the nextpage_opaque_marker parameter
    ...    Pre-conditions: A request for retrieving all onBoarded VNF packages as a paged response has been successfully issued (Test ID: 7.3.3.1.27)
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: The VNFM supports response paging for the VNF package resources
    ...    Post-Conditions: none 
    GET all Onboarded VNF Packages with nextpage_opaque_marker parameter 
    Check HTTP Response Status Code Is    200
   
390
391
392
393
394
GET OnBoarded VNF Packages - Bad Request Response too Big
    [Documentation]    Test ID: 7.3.3.1.28
    ...    Test title: GET OnBoarded VNF Packages - Bad Request Response too Big
    ...    Test objective: The objective is to test that the retrieval of OnBoarded VNF packages fails because response is too big, and perform the JSON schema validation of the failed operation HTTP response
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
395
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
396
397
398
399
400
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    Get all OnBoarded VNF Packages
    Check HTTP Response Status Code Is    400
401
402
403
404
405
406
407
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
GET VNF Packages with "fields" and "exclude_default" attribute selector
    [Documentation]    Test ID: 7.3.3.1.29
    ...    Test title: GET VNF Packages with fields and exclude_default attribute selector
    ...    Test objective: The objective is to test the retrieval of VNF packages with "fields" and "exclude_default" attribute selector, perform a JSON schema validation of the collected data structure, and verify that the retrieved information matches the issued "fields" selector
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
408
    ...    Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
409
410
411
412
413
414
415
416
417
418
419
420
421
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: The VNFM supports the use of fields attribute selector
    ...    Post-Conditions: none
    GET VNF Packages with fields and exclude_default attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   vnfPkgsInfo
    Check HTTP Response Body vnfPkgsInfo Matches the requested fields and exclude_default selector
    
GET OnBoarded VNF Packages with "fields" and "exclude_default" attribute selector
    [Documentation]    Test ID: 7.3.3.1.30
    ...    Test title: GET OnBoarded VNF Packages with fields and exclude_default attribute selector
    ...    Test objective: The objective is to test the retrieval of OnBoarded VNF packages with "fields" and "exclude_default" attribute selector, perform a JSON schema validation of the collected data structure, and verify that the retrieved information matches the issued "fields" selector
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
422
    ...    Reference: Clause 4.3.3.2.1, 10.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.8.1
423
424
425
426
427
428
429
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: The VNFM supports the use of fields attribute selector
    ...    Post-Conditions: none
    GET OnBoarded VNF Packages with fields and exclude_default attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   vnfPkgsInfo
    Check HTTP Response Body vnfPkgsInfo Matches the requested fields selector