Newer
Older
* @version $URL$
* $Id$
* @desc This module provides test cases for S1AP tests.
* @copyright ETSI Copyright Notification
* No part may be reproduced except as authorized by written permission.
* The copyright and the foregoing restriction extend to reproduction in all media.
* All rights reserved.
* @see ETSI TS 136 413 / 3GPP TS 36.413 version 13.4.0 Release 13
//LibCommon
import from LibCommon_Sync all ;
import from LibCommon_VerdictControl all;
//LibS1AP
//import from LibS1AP_TypesAndValues all;
import from LibS1AP_Interface all;
//Ats
import from S1AP_TestConfiguration all;
import from S1AP_TestSystem all;
import from S1AP_TCFunctions all;
import from S1AP_Steps all;
import from S1AP_TestSystem all;
/**
* @desc E-RAB management group
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.2 E-RAB management group
*/
/**
* @desc Verify that the IUT can successfully process all mandatory IEs in an E-RAB_SETUP_REQUEST received
* due to E-RAB management procedure and send E-RAB_SETUP_RESPONSE with successfully established E-RABs
* included in the E-RAB_Setup_List IE.
* <pre>
* Pics Selection: PICS A.3/1.1
* Configuration: CF_S1-MME
* Ensure that the IUT
* on receipt of an E-RAB_SETUP_REQUEST
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing an E-RAB_to_be_Setup_List
* containing an E-RAB_to_be_Setup Item 1
* containing an E-RAB_ID
* containing an E-RAB_Level_QoS_Parameters
* containing QCI
* indicating value 5
* containing a Transport_Layer_Address
* containing a GTP-TEID
* containing a NAS-PDU
* sends an E-RAB_SETUP_RESPONSE
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing an E-RAB_Setup_List
* containing an E-RAB_Setup Item 1
* containing an E-RAB_ID
* containing a Transport_Layer_Address
* containing a GTP-TEID.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_RAB_01
* @reference ETSI TS 136 413 V13.4.0 Clause 8.2.1.2(1st dashed line in 5th dashed list) and 9.1.3.1 and 9.1.3.2
*/
testcase TC_S1AP_ENB_RAB_01() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component configuration
v_s1ap_enb.start(f_TC_S1AP_ENB_RAB_01());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
} // End of testcase TC_S1AP_ENB_RAB_01
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
/**
* @desc Verify that the IUT after receiving an E-RAB_SETUP_REQUEST with failed E-RAB sends an E-RAB_SETUP_RESPONSE
* with E-RAB_Failed_to_Setup_List.
* <pre>
* Pics Selection: PICS A.3/1.1
* Configuration: CF_S1-MME
* Ensure that the IUT
* on receipt of an E-RAB_SETUP_REQUEST
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing an E-RAB_to_be_Setup_List
* containing an E-RAB_to_be_Setup Item 1
* containing an E-RAB_ID
* indicating value A
* containing an E-RAB_Level_QoS_Parameters
* containing a Transport_Layer_Address
* containing a GTP-TEID
* containing a NAS-PDU
* containing an E-RAB_to_be_Setup Item 2(not acceptable data for eNB)
* containing an E-RAB_ID
* indicating value B(different to value A)
* containing an E-RAB_Level_QoS_Parameters
* containing QCI
* indicating not supported QCI value(255)
* containing a Transport_Layer_Address
* containing a GTP-TEID
* containing a NAS-PDU
* sends an E-RAB_SETUP_RESPONSE
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing an E-RAB_Setup_List
* containing an E-RAB_Setup Item 1
* containing an E-RAB_ID
* indicating value A
* containing a Transport_Layer_Address
* containing a GTP-TEID
* containing an E-RAB_Failed_to_Setup_List
* containing an E-RAB_List Item 1
* containing an E-RAB_ID
* indicating value B
* containing a Cause
* indicating ‘not-supported-QCI-value’.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_RAB_02
* @reference ETSI TS 136 413 V13.4.0 Clause 8.2.1.2(2nd dashed line in 5th dashed list) and 9.1.3.1 and 9.1.3.2
*/
testcase TC_S1AP_ENB_RAB_02() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component configuration
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TC_S1AP_ENB_RAB_02());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_ENB_RAB_02
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
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
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
/**
* @desc Warning message transmission group
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.10 Trace group
*/
group Trace_group {
/**
* @desc Verify that the IUT can successfully send a TRACE_FAILURE_INDICATION on TRACE_START.
* <pre>
* Pics Selection: PICS A.3/9.1 and A.3/9.2
* direct information: CF_S1-MME
* Ensure that the IUT
* on receipt of a TRACE_START
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing a Trace_Activation
* containing an E-UTRAN_Trace_ID
* containing a Interfaces_To_Trace
* indicating value ‘S1-MME’
* containing a Trace_depth
* indicating value ‘maximum’
* containing a Trace_Collection_Entity_IP_Address
* not containing an MDT_Configuration
* sends TRACE_FAILURE_INDICATION
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing an E-UTRAN_Trace_ID
* containing a Cause
* indicating an appropriate cause value.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_TRP_01
* @reference ETSI TS 136 413 V13.4.0 Clause 8.10.1.2-8 and 8.10.2.2 and 9.1.11.1 and 9.1.11.2
*/
testcase TC_S1AP_ENB_TRP_01() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component direct information
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TC_S1AP_ENB_TRP_01());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_ENB_TRP_01
/**
* @desc Verify that the IUT can successfully send a TRACE_FAILURE_INDICATION on DEACTIVATE_TRACE.
* <pre>
* Pics Selection: PICS A.3/9.1 and A.3/9.2
* direct information: CF_S1-MME
* Ensure that the IUT
* on receipt of a DEACTIVATE_TRACE
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing a Trace_Activation
* containing an E-UTRAN_Trace_ID
* sends TRACE_FAILURE_INDICATION
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing an E-UTRAN_Trace_ID
* containing a Cause
* indicating an appropriate cause value.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_TRP_02
* @reference ETSI TS 136 413 V13.4.0 Clause Clause 8.10.3.2-3 and 8.10.2.2 and 9.1.11.3 and 9.1.11.2
*/
testcase TC_S1AP_ENB_TRP_02() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component direct information
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TC_S1AP_ENB_TRP_02());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_ENB_TRP_02
} // End of group Trace_group
/**
* @desc Warning message transmission group
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.11 Location reporting group
*/
group Location_reporting_group {
/**
* @desc Verify that the IUT can process all mandatory IEs in a LOCATION_REPORTING_CONTROL containing Event Type IE indicating Directly and send a LOCATION_REPORT.
* <pre>
* Pics Selection: PICS A.3/10.1 and A.3/10.3
* direct information: CF_S1-MME
* Ensure that the IUT
* on receipt of a LOCATION_REPORTING_CONTROL
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing a Request_Type
* containing an Event_Type
* indicating Directly
* containing a Report_Area
* indicating ECGI
* sends LOCATION_REPORT
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing an E-UTRAN_CGI
* containing a PLMN_Identity
* containing a Cell_Identity
* containing a TAI
* containing a PLMN_Identity
* containing a TAC
* containing a Request_Type
* containing a Event_Type
* containing a Report_Area.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_LRP_01
* @reference ETSI TS 136 413 V13.4.0 Clause 8.11.1.2-2(1st dashed line) and 9.1.12.1 and 9.1.12.3 and 9.2.1.16,34,38
*/
testcase TC_S1AP_ENB_LRP_01() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component direct information
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TC_S1AP_ENB_LRP_01());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_ENB_LRP_01
/**
* @desc Verify that the IUT can process all mandatory IEs in a LOCATION_REPORTING_CONTROL containing Event Type IE indicating Change of service cell and send a LOCATION_REPORT.
* <pre>
* Pics Selection: PICS A.3/10.1 and A.3/10.3
* direct information: CF_S1-MME
* Ensure that the IUT
* on receipt of a LOCATION_REPORTING_CONTROL
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing a Request_Type
* containing an Event_Type
* indicating change_of_service_cell
* containing a Report_Area
* indicating ECGI
* when UE changes to new cell
* sends LOCATION_REPORT
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing an E-UTRAN_CGI
* containing a PLMN_Identity
* containing a Cell_Identity
* containing a TAI
* containing a PLMN_Identity
* containing a TAC
* containing a Request_Type
* containing a Event_Type
* containing a Report_Area.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_LRP_02
* @reference ETSI TS 136 413 V13.4.0 Clause 8.11.1.2-2(1st dashed line) and 9.1.12.1 and 9.1.12.3 and 9.2.1.16,34,38
*/
testcase TC_S1AP_ENB_LRP_02() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component direct information
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TC_S1AP_ENB_LRP_02());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_ENB_LRP_02
/**
* @desc Verify that the IUT can process all mandatory IEs in a LOCATION_REPORTING_CONTROL containing Event Type IE indicating Stop change of service cell and send a LOCATION_REPORT.
* <pre>
* Pics Selection: PICS A.3/10.1 and A.3/10.3
* direct information: CF_S1-MME
* Ensure that the IUT
* on receipt of a LOCATION_REPORTING_CONTROL
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing a Request_Type
* containing an Event_Type
* indicating stop_change_of_service_cell
* containing a Report_Area
* indicating ECGI
* when UE changes to new cell
* sends LOCATION_REPORT
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing an E-UTRAN_CGI
* containing a PLMN_Identity
* containing a Cell_Identity
* containing a TAI
* containing a PLMN_Identity
* containing a TAC
* containing a Request_Type
* containing a Event_Type
* containing a Report_Area.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_LRP_03
* @reference ETSI TS 136 413 V13.4.0 Clause 8.11.1.2-2(1st dashed line) and 9.1.12.1 and 9.1.12.3 and 9.2.1.16,34,38
*/
testcase TC_S1AP_ENB_LRP_03() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component direct information
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TC_S1AP_ENB_LRP_03());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_ENB_LRP_03
/**
* @desc Verify that the IUT can send a LOCATION REPORT_FAILURE_INDICATION.
* <pre>
* Pics Selection: PICS A.3/10.1 and A.3/10.3
* direct information: CF_S1-MME
* Ensure that the IUT
* on receipt of a LOCATION_REPORTING_CONTROL
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing a Request_Type
* containing an Event_Type
* containing a Report_Area
* sends LOCATION REPORT_FAILURE_INDICATION
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing a Cause
* indicating an appropriate cause value.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_LRP_04
* @reference ETSI TS 136 413 V13.4.0 Clause 8.11.2.2-1 and 9.1.12.2
*/
testcase TC_S1AP_ENB_LRP_04() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component direct information
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TC_S1AP_ENB_LRP_04());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_ENB_LRP_04
} // End of group Location_reporting_group
/**
* @desc Warning message transmission group
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.12 Warning message transmission group
*/
group Warning_message_transmission_group {
/**
* @desc Verify that the IUT can successfully process all mandatory IEs in a WRITE-REPLACE_WARNING_REQUEST received and send a WRITE-REPLACE_WARNING_RESPONSE.
* <pre>
* Pics Selection: PICS A.3/11.1
* direct information: CF_S1-MME
* Ensure that the IUT
* on receipt of an WRITE-REPLACE_WARNING_REQUEST
* containing a Message_Identifier
* containing a Serial_Number
* containing a Repetition Period
* containing an Number_of_Broadcasts_Requested
* sends an WRITE-REPLACE_WARNING_RESPONSE
* containing a Serial_Number.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_WTP_01
* @reference ETSI TS 136 413 V13.4.0 Clause 8.12.1.2-1 and 9.1.13.1 and 9.1.13.2
*/
testcase TC_S1AP_ENB_WTP_01() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component direct information
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TC_S1AP_ENB_WTP_01());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_ENB_WTP_01
/**
* @desc Verify that the IUT can successfully process all mandatory IEs in an KILL_REQUEST received and send a KILL_RESPONSE.
* <pre>
* Pics Selection: PICS A.3/11.2
* direct information: CF_S1-MME
* Ensure that the IUT
* on receipt of a KILL_REQUEST
* containing a Message_Identifier
* containing a Serial_Number
* sends sends a KILL_RESPONSE
* containing a Message_Identifier
* containing a Serial_Number.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_WTP_02
* @reference ETSI TS 136 413 V13.4.0 Clause 8.12.2.2-1,3 and 9.1.13.3 and 9.1.13.4
*/
testcase TC_S1AP_ENB_WTP_02() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component direct information
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TC_S1AP_ENB_WTP_02());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_ENB_WTP_02
/**
* @desc Verify that the IUT can send a PWS_RESTART_INDICATION to indicate a PWS Restart Indication procedure.
* <pre>
* Pics Selection: PICS A.3/11.3
* direct information: CF_S1-MME
* Ensure that the IUT
* to indicate a PWS Restart Indication procedure
* sends a PWS_RESTART_INDICATION
* containing an E-CGI_List_for_Restart
* indicating a valid list of E-CGI
* containing a Global_eNB_ID
* containing a TAI_List_for_Restart
* indicating a valid list of eNB identifier
* containing an Emergency_Area_ID_List_for_Restart
* indicating an empty list.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_WTP_03
* @reference ETSI TS 136 413 V13.4.0 Clause 8.12.3.2 and 9.1.13.5
*/
testcase TC_S1AP_ENB_WTP_03() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component direct information
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TC_S1AP_ENB_WTP_03());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_ENB_WTP_03
/**
* @desc Verify that the IUT can send a PWS_FAILURE_INDICATION to indicate PWS Failure Indication procedure.
* <pre>
* Pics Selection: PICS A.3/11.4
* direct information: CF_S1-MME
* Ensure that the IUT
* to indicate a PWS Failure Indication procedure
* sends a PWS_FAILURE_INDICATION
* containing an PWS failed E-CGI List
* indicating a valid list of E-CGI
* containing a Global_eNB_ID.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_WTP_04
* @reference ETSI TS 136 413 V13.4.0 Clause 8.12.4.2 and 9.1.13.6
*/
testcase TC_S1AP_ENB_WTP_04() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component direct information
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TC_S1AP_ENB_WTP_04());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_ENB_WTP_04
} // End of group Warning_message_transmission_group
/**
* @desc eNB direct information transfer group
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.13 eNB direct information transfer group
*/
group ENB_direct_information_transfer_group {
/**
* @desc Verify that the IUT can send an eNB_DIRECT_INFORMATION_TRANSFER to indicate an eNB Direct Information Transfer procedure.
* <pre>
* Pics Selection: PICS A.4/12
* direct information: CF_S1-MME
* Ensure that the IUT
* to indicate an eNB direct information Transfer procedure,
* sends an eNB_DIRECT_INFORMATION_TRANSFER
* containing an Inter-system_Information_Transfer_Type
* containing a RIM
* containing a RIM_Transfer
* containing a RIM_Information
* containing a RIM_Routing_Address.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_EIT_01
* @reference ETSI TS 136 413 V13.4.0 Clause 8.13.2.1 and 9.1.14 and 9.2.3.23
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
*/
testcase TC_S1AP_ENB_EIT_01() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component direct information
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TC_S1AP_ENB_EIT_01());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_ENB_EIT_01
} // End of group ENB_direct_information_transfer_group
/**
* @desc eNB configuration transfer group
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.15 eNB configuration transfer group
*/
group ENB_configuration_transfer_group {
/**
* @desc Verify that the IUT can send an eNB_CONFIGURATION_TRANSFER to indicate an eNB Configuration Transfer procedure.
* <pre>
* Pics Selection: PICS A.4/14
* Configuration: CF_S1-MME
* Ensure that the IUT
* to indicate an eNB Configuration Transfer procedure,
* sends an eNB_CONFIGURATION_TRANSFER
* containing a SON_Configuration_Transfer
* containing a Target_eNB-ID
* containing a Source_eNB-ID
* containing a SON_Information.
* containing a SON_Information_Request
* indicating X2TNL_Configuration_Info
* containing an X2_TNL_Configuration_Info.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_ECT_01
* @reference ETSI TS 136 413 V13.4.0 Clause 8.15.2.1 and 9.1.16
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
*/
testcase TC_S1AP_ENB_ECT_01() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component configuration
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TC_S1AP_ENB_ECT_01());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_ENB_ECT_01
} // End of group ENB_configuration_transfer_group
/**
* @desc LPPa transport group
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.1.17 LPPa transport group
*/
group LPPa_transport_group {
/**
* @desc Verify that the IUT can send a UPLINK_UE_ASSOCIATED_LPPA_TRANSPORT to indicate a LPPa Transport procedure
* using a UE associated signalling.
* <pre>
* Pics Selection: PICS A.3/16.2
* Configuration: CF_S1-MME
* Ensure that the IUT
* to indicate a LPPa Transport procedure using a UE associated signalling,
* sends a UPLINK_UE_ASSOCIATED_LPPA_TRANSPORT
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing a Routing_ID
* indicating a valid routing identifier value
* containing an LPPa-PDU.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_LPP_01
* @reference ETSI TS 136 413 V13.4.0 Clause 8.17.2.2 and 9.1.19.2
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
*/
testcase TC_S1AP_ENB_LPP_01() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component configuration
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TC_S1AP_ENB_LPP_01());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_ENB_LPP_01
/**
* @desc Verify that the IUT can send a UPLINK_UE_ASSOCIATED_LPPA_TRANSPORT to indicate a LPPa Transport procedure
* using a Non-UE associated signalling.
* <pre>
* Pics Selection: PICS A.3/16.4
* Configuration: CF_S1-MME
* Ensure that the IUT
* to indicate a LPPa Transport procedure using a UE associated signalling,
* sends a UPLINK_UE_ASSOCIATED_LPPA_TRANSPORT
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing a Routing_ID
* indicating a valid routing identifier value
* containing an LPPa-PDU.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_LPP_02
* @reference ETSI TS 136 413 V13.4.0 Clause Clause 8.17.2.4 and 9.1.19.4
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
*/
testcase TC_S1AP_ENB_LPP_02() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component configuration
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TC_S1AP_ENB_LPP_02());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_ENB_LPP_02
} // End of group LPPa_transport_group
/**
* @desc E-RAB management group
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.2 E-RAB management group
*/
/**
* @desc Verify that the IUT can send an E-RAB_SETUP_REQUEST with at least one E-RAB IE to indicate an E-RAB Setup procedure.
* <pre>
* Pics Selection: PICS A.4/1.1
* Configuration: CF_S1-MME
* Ensure that the IUT
* to indicate an E-RAB Setup procedure,
* sends an E-RAB_SETUP_REQUEST
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing an E-RAB_to_be_Setup_List
* containing an E-RAB_to_be_Setup Item 1
* containing an E-RAB_ID
* containing an E-RAB_Level_QoS_Parameters
* containing a Transport_Layer_Address
* containing a GTP-TEID
* containing a NAS-PDU.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_ENB_RAB_01
* @reference ETSI TS 136 413 V13.4.0 Clause 8.2.1.2 and 9.1.3.1
*/
testcase TC_S1AP_MME_RAB_01() runs on S1AP system TestAdapter {
// Test control
if (not PICS_S1AP_MME_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_MME_IUT' shall be set to true for executing the TC. ***");
stop;
}
v_s1ap_mme.start(f_TC_S1AP_MME_RAB_01());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
} // End of testcase TC_S1AP_MME_RAB_01
} // End of group ERAB_management_group
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
/**
* @desc Warning message transmission group
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.10 Trace group
*/
group Trace_group {
/**
* @desc Verify that the IUT can send a TRACE_START message to indicate Trace Start procedure.
* <pre>
* Pics Selection: A.4/9.1
* direct information: CF_S1-MME
* Ensure that the IUT
* to indicate a Trace Start procedure
* sends a TRACE_START
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing a Trace_Activation
* containing an E-UTRAN_Trace_ID
* containing a Interfaces_To_Trace
* indicating value ‘S1-MME’
* containing a Trace_depth
* indicating value ‘maximum’
* containing a Trace_Collection_Entity_IP_Address.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_MME_TRP_01
* @reference ETSI TS 136 413 V13.4.0 Clause 8.10.1.2¶1 and 9.1.11.1 and 9.2.1.4
*/
testcase TC_S1AP_MME_TRP_01() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_mme;
// Test control
if (not PICS_S1AP_MME_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_MME_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component direct information
f_cf_S1AP_MME_Up(v_s1ap_mme);
// Start
v_s1ap_mme.start(f_TC_S1AP_MME_TRP_01());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_MME_TRP_01
/**
* @desc Verify that the IUT can successfully process all mandatory IEs in a DEACTIVATE_TRACE.
* <pre>
* Pics Selection: A.4/9.3
* direct information: CF_S1-MME
* Ensure that the IUT
* to indicate a Deactivate Trace procedure
* sends a DEACTIVATE_TRACE
* containing an MME_UE_S1AP_ID
* containing an eNB_UE_S1AP_ID
* containing an E-UTRAN_Trace_ID.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_MME_TRP_02
* @reference ETSI TS 136 413 V13.4.0 Clause Clause 8.10.1.211 and 9.1.11.2
*/
testcase TC_S1AP_MME_TRP_02() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_mme;
// Test control
if (not PICS_S1AP_MME_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_MME_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component direct information
f_cf_S1AP_MME_Up(v_s1ap_mme);
// Start
v_s1ap_mme.start(f_TC_S1AP_MME_TRP_02());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TC_S1AP_MME_TRP_02
} // End of goup Trace_group