|
1 #*********************************************************************************** |
|
2 # |
|
3 # STIF test script file for testing service management client API. |
|
4 # |
|
5 #*********************************************************************************** |
|
6 |
|
7 [StifSettings] |
|
8 CapsModifier= IptvTestClientApiCapsMod.exe |
|
9 [EndStifSettings] |
|
10 |
|
11 [Define] |
|
12 INCLUDE c:\testframework\VCXConsts.inc |
|
13 INCLUDE c:\testframework\VCXServiceManagementApiTest.inc |
|
14 INCLUDE c:\testframework\VCXServiceUpdating.inc |
|
15 INCLUDE c:\testframework\VCXServiceNames.inc |
|
16 INCLUDE c:\testframework\VCXErrors.inc |
|
17 [Enddefine] |
|
18 |
|
19 #------------------------------------------------------------------------------------ |
|
20 # |
|
21 # Setup case. Test adding a service. |
|
22 # |
|
23 # CaseClass: core |
|
24 #------------------------------------------------------------------------------------ |
|
25 [Test] |
|
26 title ET08203 Setup Add valid hardcoded service_0 ASYNC |
|
27 pause PAUSE |
|
28 create VCXServiceManagementApiTest IptvTest |
|
29 IptvTest Create |
|
30 IptvTest DeleteAllServices SYNC |
|
31 IptvTest AddHardCodedService ASYNC SERVICE_0 2 1 0 |
|
32 IptvTest Destroy |
|
33 delete IptvTest |
|
34 [Endtest] |
|
35 |
|
36 #------------------------------------------------------------------------------------ |
|
37 # |
|
38 # Test that updating a service works. |
|
39 # |
|
40 # CaseClass: core |
|
41 #------------------------------------------------------------------------------------ |
|
42 [Test] |
|
43 title ET08204 Update service fields ASYNC |
|
44 pause PAUSE |
|
45 create VCXServiceManagementApiTest IptvTest |
|
46 IptvTest Create |
|
47 IptvTest UpdateServiceField ASYNC SERVICE_0 EFlags ESelected EReadOnly EMainService EConnectionApproved EReadOnlyIaps |
|
48 IptvTest UpdateServiceField ASYNC SERVICE_0 EName "Updated Service Name" |
|
49 IptvTest UpdateServiceField ASYNC "Updated Service Name" EName SERVICE_0 |
|
50 IptvTest UpdateServiceField ASYNC SERVICE_0 EAddress "http:\/\/www.UpdatedServiceaddress.com" |
|
51 IptvTest UpdateServiceField ASYNC SERVICE_0 EIconPath "c:\\UpdatedIconPath" |
|
52 IptvTest UpdateServiceField ASYNC SERVICE_0 EEpgPluginUid 12345 |
|
53 IptvTest UpdateServiceField ASYNC SERVICE_0 EVodPluginUid 23456 |
|
54 IptvTest UpdateServiceField ASYNC SERVICE_0 EIptvPluginUid 34567 |
|
55 IptvTest UpdateServiceField ASYNC SERVICE_0 EServiceType EVodCast |
|
56 IptvTest UpdateServiceField ASYNC SERVICE_0 ESetIapList 3 |
|
57 IptvTest UpdateServiceField ASYNC SERVICE_0 EUserName "Updated USER Name" |
|
58 IptvTest UpdateServiceField ASYNC SERVICE_0 EPassword "Updated PASSWORD" |
|
59 IptvTest UpdateServiceField ASYNC SERVICE_0 EDesc "Updated Service description" |
|
60 IptvTest UpdateServiceField ASYNC SERVICE_0 EFlags ESelected EReadOnly EMainService EConnectionApproved EReadOnlyIaps |
|
61 IptvTest UpdateServiceField ASYNC SERVICE_0 EApplicationUid 12 |
|
62 IptvTest UpdateServiceField ASYNC SERVICE_0 EDisplayOrder 111 |
|
63 IptvTest UpdateServiceField ASYNC SERVICE_0 EProviderId "UPDPROVID" |
|
64 IptvTest UpdateServiceField ASYNC SERVICE_0 EAccountManagementUrl "http:\/\/updatedaccountmanagmenturl.com" |
|
65 pause 3000 |
|
66 IptvTest GetServices ASYNC 0 2 |
|
67 IptvTest Destroy |
|
68 delete IptvTest |
|
69 [Endtest] |
|
70 |
|
71 #------------------------------------------------------------------------------------ |
|
72 # |
|
73 # Add few valid hardcoded services for later use. |
|
74 # |
|
75 # CaseClass: core |
|
76 #------------------------------------------------------------------------------------ |
|
77 [Test] |
|
78 title ET08206 Setup Add valid hardcoded services ASYNC |
|
79 pause PAUSE |
|
80 create VCXServiceManagementApiTest IptvTest |
|
81 IptvTest Create |
|
82 IptvTest AddHardCodedService ASYNC SERVICE_1 2 1 1 |
|
83 IptvTest AddHardCodedService ASYNC SERVICE_2 2 1 2 |
|
84 IptvTest AddHardCodedService ASYNC SERVICE_3 2 1 3 |
|
85 IptvTest AddHardCodedService ASYNC SERVICE_4 2 1 4 |
|
86 IptvTest Destroy |
|
87 delete IptvTest |
|
88 [Endtest] |
|
89 |
|
90 #------------------------------------------------------------------------------------ |
|
91 # |
|
92 # Test that updating service works. |
|
93 # |
|
94 #------------------------------------------------------------------------------------ |
|
95 [Test] |
|
96 title ET08207 Update valid service ASYNC |
|
97 pause PAUSE |
|
98 create VCXServiceManagementApiTest IptvTest |
|
99 IptvTest Create |
|
100 IptvTest UpdateService ASYNC SERVICE_1 SERVICE_2 |
|
101 IptvTest Destroy |
|
102 delete IptvTest |
|
103 [Endtest] |
|
104 |
|
105 #------------------------------------------------------------------------------------ |
|
106 # |
|
107 # Test that updating service with same data functions correctly. |
|
108 # |
|
109 #------------------------------------------------------------------------------------ |
|
110 [Test] |
|
111 title ET08209 Update same valid service ASYNC |
|
112 pause PAUSE |
|
113 create VCXServiceManagementApiTest IptvTest |
|
114 IptvTest Create |
|
115 IptvTest UpdateService ASYNC SERVICE_2 SERVICE_2 |
|
116 IptvTest Destroy |
|
117 delete IptvTest |
|
118 [Endtest] |
|
119 |
|
120 #------------------------------------------------------------------------------------ |
|
121 # |
|
122 # Test that getting services by index works. |
|
123 # |
|
124 # CaseClass: core |
|
125 #------------------------------------------------------------------------------------ |
|
126 [Test] |
|
127 title ET08210 Get services by index ASYNC |
|
128 pause PAUSE |
|
129 create VCXServiceManagementApiTest IptvTest |
|
130 IptvTest Create |
|
131 IptvTest GetServices ASYNC 0 5000 |
|
132 IptvTest GetServices ASYNC 0 2 |
|
133 IptvTest GetServices ASYNC 1 1 |
|
134 IptvTest Destroy |
|
135 delete IptvTest |
|
136 [Endtest] |
|
137 |
|
138 #------------------------------------------------------------------------------------ |
|
139 # |
|
140 # Test that deleting a service works. |
|
141 # |
|
142 # CaseClass: core |
|
143 #------------------------------------------------------------------------------------ |
|
144 [Test] |
|
145 title ET08214 Delete service ASYNC |
|
146 pause PAUSE |
|
147 create VCXServiceManagementApiTest IptvTest |
|
148 IptvTest Create |
|
149 IptvTest DeleteService ASYNC SERVICE_0 |
|
150 //IptvTest DeleteService ASYNC 1 |
|
151 IptvTest Destroy |
|
152 delete IptvTest |
|
153 [Endtest] |
|
154 |
|
155 #------------------------------------------------------------------------------------ |
|
156 # |
|
157 # Test that adding service with 15 iaps works. Maximum iap limit in CIptvIapList is 10 and this will fail. |
|
158 # |
|
159 #------------------------------------------------------------------------------------ |
|
160 [Test] |
|
161 title ET08216 Add service with 15 iaps ASYNC |
|
162 pause PAUSE |
|
163 create VCXServiceManagementApiTest IptvTest |
|
164 IptvTest Create |
|
165 allownextresult KERRARGUMENT |
|
166 IptvTest AddHardCodedService ASYNC SERVICE_15IAPS 2 1 |
|
167 IptvTest Destroy |
|
168 delete IptvTest |
|
169 [Endtest] |
|
170 |
|
171 #------------------------------------------------------------------------------------ |
|
172 # |
|
173 # Test deleting all the services. |
|
174 # |
|
175 # CaseClass: core |
|
176 #------------------------------------------------------------------------------------ |
|
177 [Test] |
|
178 title ET08217 Delete all services ASYNC |
|
179 pause PAUSE |
|
180 create VCXServiceManagementApiTest IptvTest |
|
181 IptvTest Create |
|
182 IptvTest DeleteAllServices ASYNC |
|
183 IptvTest Destroy |
|
184 delete IptvTest |
|
185 [Endtest] |
|
186 |
|
187 #------------------------------------------------------------------------------------ |
|
188 # |
|
189 # Add services to be used in later cases. |
|
190 # |
|
191 # CaseClass: core |
|
192 #------------------------------------------------------------------------------------ |
|
193 [Test] |
|
194 title ET08218 Add valid services 2 ASYNC |
|
195 pause PAUSE |
|
196 create VCXServiceManagementApiTest IptvTest |
|
197 IptvTest Create |
|
198 IptvTest AddHardCodedService ASYNC SERVICE_0 3 1 0 |
|
199 IptvTest AddHardCodedService ASYNC SERVICE_1 3 1 1 |
|
200 IptvTest AddHardCodedService ASYNC SERVICE_2 3 1 2 |
|
201 IptvTest AddHardCodedService ASYNC SERVICE_3 3 1 3 |
|
202 IptvTest AddHardCodedService ASYNC SERVICE_4 3 1 4 |
|
203 IptvTest AddHardCodedService ASYNC SERVICE_5 3 1 5 |
|
204 IptvTest AddHardCodedService ASYNC SERVICE_6 3 1 6 |
|
205 IptvTest AddHardCodedService ASYNC SERVICE_7 3 1 7 |
|
206 IptvTest AddHardCodedService ASYNC SERVICE_8 3 1 8 |
|
207 IptvTest AddHardCodedService ASYNC SERVICE_9 3 1 9 |
|
208 IptvTest Destroy |
|
209 delete IptvTest |
|
210 [Endtest] |
|
211 |
|
212 #------------------------------------------------------------------------------------ |
|
213 # |
|
214 # Test that getting services by filter works. |
|
215 # |
|
216 # CaseClass: core |
|
217 #------------------------------------------------------------------------------------ |
|
218 [Test] |
|
219 title ET08219 Get filtered services ASYNC |
|
220 pause PAUSE |
|
221 create VCXServiceManagementApiTest IptvTest |
|
222 IptvTest Create |
|
223 IptvTest UpdateServiceField ASYNC SERVICE_0 EFlags EConnectionApproved ESelected |
|
224 IptvTest UpdateServiceField ASYNC SERVICE_1 EFlags EConnectionApproved ESelected |
|
225 IptvTest UpdateServiceField ASYNC SERVICE_2 EFlags EConnectionApproved ESelected |
|
226 IptvTest UpdateServiceField ASYNC SERVICE_3 EFlags EConnectionApproved ESelected |
|
227 IptvTest UpdateServiceField ASYNC SERVICE_4 EFlags EConnectionApproved ESelected |
|
228 IptvTest UpdateServiceField ASYNC SERVICE_5 EFlags EConnectionApproved ESelected |
|
229 IptvTest UpdateServiceField ASYNC SERVICE_6 EFlags EConnectionApproved ESelected |
|
230 IptvTest UpdateServiceField ASYNC SERVICE_7 EFlags EConnectionApproved ESelected |
|
231 IptvTest UpdateServiceField ASYNC SERVICE_8 EFlags EConnectionApproved ESelected |
|
232 IptvTest UpdateServiceField ASYNC SERVICE_9 EFlags EConnectionApproved ESelected |
|
233 IptvTest UpdateServiceField ASYNC SERVICE_0 EServiceType EVod |
|
234 IptvTest UpdateServiceField ASYNC SERVICE_1 EServiceType EVod |
|
235 IptvTest UpdateServiceField ASYNC SERVICE_2 EServiceType EVod |
|
236 IptvTest UpdateServiceField ASYNC SERVICE_3 EServiceType EVod |
|
237 IptvTest UpdateServiceField ASYNC SERVICE_4 EServiceType EVod |
|
238 IptvTest UpdateServiceField ASYNC SERVICE_5 EServiceType EVod |
|
239 IptvTest UpdateServiceField ASYNC SERVICE_6 EServiceType EVod |
|
240 IptvTest UpdateServiceField ASYNC SERVICE_7 EServiceType EVod |
|
241 IptvTest UpdateServiceField ASYNC SERVICE_8 EServiceType EVod |
|
242 IptvTest UpdateServiceField ASYNC SERVICE_9 EServiceType EVod |
|
243 IptvTest UpdateServiceField ASYNC SERVICE_1 EFlags EReadOnly EReadOnlyIaps |
|
244 IptvTest UpdateServiceField ASYNC SERVICE_2 EFlags EReadOnly EReadOnlyIaps |
|
245 IptvTest UpdateServiceField ASYNC SERVICE_4 EFlags EReadOnly EReadOnlyIaps |
|
246 IptvTest UpdateServiceField ASYNC SERVICE_6 EFlags EReadOnly EReadOnlyIaps |
|
247 IptvTest GetServicesFiltered ASYNC 6 EDisplayOrderAscending ESearchSelectedServices |
|
248 IptvTest UpdateServiceField ASYNC SERVICE_1 EFlags EMainService |
|
249 IptvTest UpdateServiceField ASYNC SERVICE_2 EFlags EMainService EReadOnlyIaps |
|
250 IptvTest UpdateServiceField ASYNC SERVICE_4 EFlags EMainService |
|
251 IptvTest UpdateServiceField ASYNC SERVICE_6 EFlags EMainService EConnectionApproved |
|
252 IptvTest UpdateServiceField ASYNC SERVICE_8 EFlags EMainService |
|
253 IptvTest GetServicesFiltered ASYNC 5 EDisplayOrderAscending ESearchMainServices |
|
254 IptvTest GetServicesFiltered ASYNC 5 EDisplayOrderAscending ESearchSubServices |
|
255 IptvTest GetServicesFiltered ASYNC 10 EDisplayOrderAscending ESearchNoFlags |
|
256 IptvTest UpdateServiceField ASYNC SERVICE_0 EServiceType EVod |
|
257 IptvTest UpdateServiceField ASYNC SERVICE_1 EServiceType ELiveTv |
|
258 IptvTest UpdateServiceField ASYNC SERVICE_2 EServiceType EVod |
|
259 IptvTest UpdateServiceField ASYNC SERVICE_3 EServiceType ELiveTv |
|
260 IptvTest UpdateServiceField ASYNC SERVICE_4 EServiceType ELiveTv |
|
261 IptvTest UpdateServiceField ASYNC SERVICE_5 EServiceType ELiveTv |
|
262 IptvTest UpdateServiceField ASYNC SERVICE_6 EServiceType EVod |
|
263 IptvTest UpdateServiceField ASYNC SERVICE_7 EServiceType EVod |
|
264 IptvTest UpdateServiceField ASYNC SERVICE_8 EServiceType ELiveTv |
|
265 IptvTest UpdateServiceField ASYNC SERVICE_9 EServiceType EVod |
|
266 IptvTest GetServicesFiltered ASYNC 5 EDisplayOrderAscending ESearchVod |
|
267 IptvTest GetServicesFiltered ASYNC 5 EDisplayOrderAscending ESearchLiveTv |
|
268 IptvTest UpdateServiceField ASYNC SERVICE_0 EServiceType EOther |
|
269 IptvTest UpdateServiceField ASYNC SERVICE_3 EServiceType EOther |
|
270 IptvTest UpdateServiceField ASYNC SERVICE_4 EServiceType EOther |
|
271 IptvTest UpdateServiceField ASYNC SERVICE_6 EServiceType EVodCast |
|
272 IptvTest UpdateServiceField ASYNC SERVICE_1 EServiceType EVodCast |
|
273 IptvTest UpdateServiceField ASYNC SERVICE_3 EServiceType EVodCast |
|
274 IptvTest GetServicesFiltered ASYNC 2 EDisplayOrderAscending ESearchOther |
|
275 IptvTest GetServicesFiltered ASYNC 3 EDisplayOrderAscending ESearchVodCast |
|
276 IptvTest Destroy |
|
277 delete IptvTest |
|
278 [Endtest] |
|
279 |
|
280 #------------------------------------------------------------------------------------ |
|
281 # |
|
282 # Call GetServicesFiltered with different sort argument. |
|
283 # |
|
284 # CaseClass: core |
|
285 #------------------------------------------------------------------------------------ |
|
286 [Test] |
|
287 title ET08265 Get filtered services sorted ASYNC |
|
288 pause PAUSE |
|
289 create VCXServiceManagementApiTest IptvTest |
|
290 IptvTest Create |
|
291 IptvTest GetServicesFiltered ASYNC 3 EDateAscending ESearchVodCast |
|
292 IptvTest GetServicesFiltered ASYNC 3 EDateDescending ESearchVodCast |
|
293 IptvTest GetServicesFiltered ASYNC 3 EDisplayOrderAscending ESearchVodCast |
|
294 IptvTest GetServicesFiltered ASYNC 3 EDisplayOrderDescending ESearchVodCast |
|
295 allownextresult SMEGeneralError |
|
296 IptvTest GetServicesFiltered ASYNC 3 7 ESearchVodCast |
|
297 IptvTest Destroy |
|
298 delete IptvTest |
|
299 [Endtest] |
|
300 |
|
301 #------------------------------------------------------------------------------------ |
|
302 # |
|
303 # Test that GetUsedIap method works. |
|
304 # |
|
305 #------------------------------------------------------------------------------------ |
|
306 [Test] |
|
307 title ET08221 GetUsedIap ASYNC |
|
308 pause PAUSE |
|
309 create VCXServiceManagementApiTest IptvTest |
|
310 IptvTest Create |
|
311 IptvTest SetUsedIap SERVICE_1 3G_AP |
|
312 IptvTest GetServices ASYNC 0 5000 |
|
313 IptvTest GetUsedIap ASYNC SERVICE_1 3G_AP |
|
314 IptvTest Destroy |
|
315 delete IptvTest |
|
316 [Endtest] |
|
317 |
|
318 #------------------------------------------------------------------------------------ |
|
319 # |
|
320 # Test that SetAllIaps method works. |
|
321 # |
|
322 #------------------------------------------------------------------------------------ |
|
323 #[Test] |
|
324 #title ET08222 SetAllIaps ASYNC |
|
325 #pause PAUSE |
|
326 #create VCXServiceManagementApiTest IptvTest |
|
327 #IptvTest Create |
|
328 #IptvTest SetAllIaps ASYNC 5 1 |
|
329 #IptvTest Destroy |
|
330 #delete IptvTest |
|
331 #[Endtest] |
|
332 |
|
333 #------------------------------------------------------------------------------------ |
|
334 # |
|
335 # Verify that server is shutdown when it has no active clients. |
|
336 # |
|
337 #------------------------------------------------------------------------------------ |
|
338 [Test] |
|
339 title ET08223 Verify server is shutdown ASYNC |
|
340 pause PAUSE |
|
341 create VCXServiceManagementApiTest IptvTest |
|
342 IptvTest Create |
|
343 IptvTest GetServices ASYNC 0 5000 |
|
344 pause 10000 |
|
345 pause 10000 |
|
346 IptvTest Destroy |
|
347 delete IptvTest |
|
348 pause 10000 |
|
349 create VCXServiceManagementApiTest IptvTest |
|
350 IptvTest VerifyServerIsShutdown |
|
351 delete IptvTest |
|
352 [Endtest] |
|
353 |
|
354 #------------------------------------------------------------------------------------ |
|
355 # |
|
356 # Test that canceling add service request to server works. |
|
357 # |
|
358 #------------------------------------------------------------------------------------ |
|
359 [Test] |
|
360 title ET08224 Cancel request. Add service ASYNC |
|
361 pause PAUSE |
|
362 create VCXServiceManagementApiTest IptvTest |
|
363 IptvTest Create |
|
364 IptvTest AddHardCodedService ASYNC SERVICE_2 2 1 0 |
|
365 IptvTest AddHardCodedService ASYNC SERVICE_2 2 1 1 |
|
366 IptvTest AddHardCodedService ASYNC SERVICE_3 2 1 2 |
|
367 IptvTest AddHardCodedService ASYNC SERVICE_4 2 1 3 |
|
368 IptvTest SetSpecialAction EIptvSmCancelNextAsyncRequest |
|
369 IptvTest AddHardCodedService ASYNC SERVICE_0 2 1 -1 |
|
370 IptvTest Destroy |
|
371 delete IptvTest |
|
372 [Endtest] |
|
373 |
|
374 #------------------------------------------------------------------------------------ |
|
375 # |
|
376 # Test that canceling update service request to server works. |
|
377 # |
|
378 #------------------------------------------------------------------------------------ |
|
379 [Test] |
|
380 title ET08225 Cancel request. Update service ASYNC |
|
381 pause PAUSE |
|
382 create VCXServiceManagementApiTest IptvTest |
|
383 IptvTest Create |
|
384 IptvTest SetSpecialAction EIptvSmCancelNextAsyncRequest |
|
385 IptvTest UpdateService ASYNC SERVICE_1 SERVICE_2 |
|
386 IptvTest Destroy |
|
387 delete IptvTest |
|
388 [Endtest] |
|
389 |
|
390 #------------------------------------------------------------------------------------ |
|
391 # |
|
392 # Test that canceling get services by index request to server works. |
|
393 # |
|
394 #------------------------------------------------------------------------------------ |
|
395 [Test] |
|
396 title ET08226 Cancel request. Get services by index ASYNC |
|
397 pause PAUSE |
|
398 create VCXServiceManagementApiTest IptvTest |
|
399 IptvTest Create |
|
400 IptvTest SetSpecialAction EIptvSmCancelNextAsyncRequest |
|
401 //allownextresult KERRGENERAL |
|
402 IptvTest GetServices ASYNC 0 5000 |
|
403 IptvTest Destroy |
|
404 delete IptvTest |
|
405 [Endtest] |
|
406 |
|
407 #------------------------------------------------------------------------------------ |
|
408 # |
|
409 # Test that canceling GetUsedIap request to server works. |
|
410 # |
|
411 #------------------------------------------------------------------------------------ |
|
412 [Test] |
|
413 title ET08227 Cancel request. Get used iap ASYNC |
|
414 pause PAUSE |
|
415 create VCXServiceManagementApiTest IptvTest |
|
416 IptvTest Create |
|
417 IptvTest SetSpecialAction EIptvSmCancelNextAsyncRequest |
|
418 allownextresult KERRCORRUPT |
|
419 IptvTest GetUsedIap ASYNC SERVICE_0 3G_AP |
|
420 IptvTest SetSpecialAction EIptvSmCancelNextAsyncRequest |
|
421 IptvTest SetUsedIap SERVICE_0 3G_AP |
|
422 IptvTest SetSpecialAction EIptvSmCancelNextAsyncRequest |
|
423 allownextresult KERRCORRUPT |
|
424 IptvTest GetUsedIap ASYNC SERVICE_0 3G_AP |
|
425 IptvTest Destroy |
|
426 delete IptvTest |
|
427 [Endtest] |
|
428 |
|
429 #------------------------------------------------------------------------------------ |
|
430 # |
|
431 # Test that canceling delete service request to server works. |
|
432 # |
|
433 #------------------------------------------------------------------------------------ |
|
434 [Test] |
|
435 title ET08229 Cancel request. Delete service ASYNC |
|
436 pause PAUSE |
|
437 create VCXServiceManagementApiTest IptvTest |
|
438 IptvTest Create |
|
439 IptvTest SetSpecialAction EIptvSmCancelNextAsyncRequest |
|
440 IptvTest DeleteService ASYNC SERVICE_5 |
|
441 IptvTest Destroy |
|
442 delete IptvTest |
|
443 [Endtest] |
|
444 |
|
445 #------------------------------------------------------------------------------------ |
|
446 # |
|
447 # Test sending two add service requests to the server w/o waiting the first one to complete. |
|
448 # |
|
449 #------------------------------------------------------------------------------------ |
|
450 [Test] |
|
451 title ET08230 Repeat add service ASYNC |
|
452 pause PAUSE |
|
453 create VCXServiceManagementApiTest IptvTest |
|
454 IptvTest Create |
|
455 IptvTest RepeatNextRequest 2 |
|
456 IptvTest AddHardCodedService ASYNC SERVICE_0 2 1 -1 |
|
457 IptvTest Destroy |
|
458 delete IptvTest |
|
459 [Endtest] |
|
460 |
|
461 #------------------------------------------------------------------------------------ |
|
462 # |
|
463 # Test sending two update service requests to the server w/o waiting the first one to complete. |
|
464 # |
|
465 #------------------------------------------------------------------------------------ |
|
466 [Test] |
|
467 title ET08231 Repeat update service request ASYNC |
|
468 pause PAUSE |
|
469 create VCXServiceManagementApiTest IptvTest |
|
470 IptvTest Create |
|
471 IptvTest RepeatNextRequest 2 |
|
472 IptvTest UpdateServiceField ASYNC SERVICE_7 EUserName "Updated User Name" |
|
473 IptvTest Destroy |
|
474 delete IptvTest |
|
475 [Endtest] |
|
476 |
|
477 #------------------------------------------------------------------------------------ |
|
478 # |
|
479 # Test sending two get services requests to the server w/o waiting the first one to complete. |
|
480 # |
|
481 #------------------------------------------------------------------------------------ |
|
482 [Test] |
|
483 title ET08232 Repeat get services by index ASYNC |
|
484 pause PAUSE |
|
485 create VCXServiceManagementApiTest IptvTest |
|
486 IptvTest Create |
|
487 IptvTest RepeatNextRequest 2 |
|
488 IptvTest GetServices ASYNC 0 5000 |
|
489 IptvTest Destroy |
|
490 delete IptvTest |
|
491 [Endtest] |
|
492 |
|
493 |
|
494 #------------------------------------------------------------------------------------ |
|
495 # |
|
496 # Test sending two delete service requests to the server w/o waiting the first one to complete. |
|
497 # |
|
498 #------------------------------------------------------------------------------------ |
|
499 [Test] |
|
500 title ET08233 Repeat delete service ASYNC |
|
501 pause PAUSE |
|
502 create VCXServiceManagementApiTest IptvTest |
|
503 IptvTest Create |
|
504 IptvTest AddHardCodedService ASYNC SERVICE_1 2 1 |
|
505 IptvTest RepeatNextRequest 2 |
|
506 allownextresult SMEServiceNotFound |
|
507 IptvTest DeleteService ASYNC SERVICE_1 |
|
508 IptvTest Destroy |
|
509 delete IptvTest |
|
510 [Endtest] |
|
511 |
|
512 #------------------------------------------------------------------------------------ |
|
513 # |
|
514 # Repeat getting services by filter request to the server w/o waiting the first one to complete. |
|
515 # |
|
516 #------------------------------------------------------------------------------------ |
|
517 [Test] |
|
518 title ET08235 Repeat get filtered services ASYNC |
|
519 pause PAUSE |
|
520 create VCXServiceManagementApiTest IptvTest |
|
521 IptvTest Create |
|
522 IptvTest DeleteAllServices SYNC |
|
523 IptvTest AddHardCodedService ASYNC SERVICE_0 2 1 0 |
|
524 IptvTest AddHardCodedService ASYNC SERVICE_1 2 1 1 |
|
525 IptvTest AddHardCodedService ASYNC SERVICE_2 2 1 2 |
|
526 IptvTest UpdateServiceField ASYNC SERVICE_0 EFlags EConnectionApproved ESelected |
|
527 IptvTest UpdateServiceField ASYNC SERVICE_1 EFlags EConnectionApproved ESelected |
|
528 IptvTest UpdateServiceField ASYNC SERVICE_2 EFlags EConnectionApproved ESelected |
|
529 IptvTest UpdateServiceField ASYNC SERVICE_0 EServiceType EVod |
|
530 IptvTest UpdateServiceField ASYNC SERVICE_1 EServiceType EVod |
|
531 IptvTest UpdateServiceField ASYNC SERVICE_2 EServiceType EVod |
|
532 IptvTest UpdateServiceField ASYNC SERVICE_2 EFlags EReadOnly EReadOnlyIaps |
|
533 IptvTest UpdateServiceField ASYNC SERVICE_0 EFlags EMainService |
|
534 IptvTest UpdateServiceField ASYNC SERVICE_2 EFlags EMainService EReadOnlyIaps |
|
535 IptvTest RepeatNextRequest 2 |
|
536 IptvTest GetServicesFiltered ASYNC 1 EDisplayOrderAscending ESearchSelectedServices |
|
537 IptvTest Destroy |
|
538 delete IptvTest |
|
539 [Endtest] |
|
540 |
|
541 #------------------------------------------------------------------------------------ |
|
542 # |
|
543 # Send shutdown request to the server. |
|
544 # |
|
545 # Note: This fails because it's not supported. |
|
546 # |
|
547 #------------------------------------------------------------------------------------ |
|
548 [Test] |
|
549 title ET08236 Shutdown server ASYNC |
|
550 pause PAUSE |
|
551 create VCXServiceManagementApiTest IptvTest |
|
552 IptvTest Create |
|
553 allownextresult 2 |
|
554 IptvTest ShutdownServer ASYNC |
|
555 IptvTest Destroy |
|
556 delete IptvTest |
|
557 [Endtest] |