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
*/
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
/**
* @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 (2016-10) 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
141
142
143
/**
* @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 (2016-10) 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
/**
* @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 (2016-10) Clause 8.13.2.1 and 9.1.14 and 9.2.3.23
*/
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 (2016-10) Clause 8.15.2.1 and 9.1.16
*/
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 (2016-10) Clause 8.17.2.2 and 9.1.19.2
*/
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 (2016-10) Clause Clause 8.17.2.4 and 9.1.19.4
*/
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 (2016-10) 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});
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
} // End of testcase TC_S1AP_MME_RAB_01
} // End of group ERAB_management_group
/**
* @desc LPPa transport group
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.16 MME configuration transfer group
*/
group MME_configuration_transfer_group {
/**
* @desc Verify that the IUT can send an MME_CONFIGURATION_TRANSFER to indicate an MME Configuration Transfer procedure.
* <pre>
* Pics Selection: PICS A.4/15
* Configuration: CF_S1-MME
* Ensure that the IUT
* to indicate an MME Configuration Transfer procedure,
* sends an MME_CONFIGURATION_TRANSFER
* containing a SON_Configuration_Transfer
* containing a Target_eNB-ID
* containing a Source_eNB-ID
* containing a SON_Information.
* </pre>
*
* @see ETSI DTS/INT-00135-2 TP_S1AP_MME_MCT_01
* @reference ETSI TS 136 413 V13.4.0 (2016-10) Clause 8.16.2.1 and 9.1.17
*/
testcase TC_S1AP_MME_MCT_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 configuration
f_cf_S1AP_MME_Up(v_s1ap_mme);
// Start
v_s1ap_mme.start(f_TC_S1AP_MME_MCT_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_MCT_01
} // End of group MME_configuration_transfer_group
/**
* @desc LPPa transport group
* @see ETSI DTS/INT-00135-2 Clause 5.2.2.2.17 LPPa transport group
*/
group LPPa_transport_group {
/**
* @desc Verify that the IUT can send a DOWNLINK_UE_ASSOCIATED_LPPA_TRANSPORT to indicate a LPPa Transport procedure
* using a UE associated signalling.
* <pre>
* Pics Selection: PICS A.4/16.1
* Configuration: CF_S1-MME
* Ensure that the IUT
* to indicate a LPPa Transport procedure using a UE associated signalling,
* sends a DOWNLINK_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_MME_LPP_01
* @reference ETSI TS 136 413 V13.4.0 (2016-10) Clause 8.17.2.1 and 9.1.19.1
*/
testcase TC_S1AP_MME_LPP_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 configuration
f_cf_S1AP_MME_Up(v_s1ap_mme);
// Start
v_s1ap_mme.start(f_TC_S1AP_MME_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_MME_LPP_01
/**
* @desc Verify that the IUT can send a DOWNLINK_UE_ASSOCIATED_LPPA_TRANSPORT to indicate a LPPa Transport procedure
* using a non-UE associated signalling.
* <pre>
* Pics Selection: PICS A.3/16.3
* Configuration: CF_S1-MME
* Ensure that the IUT
* to indicate a LPPa Transport procedure using a UE associated signalling,
* sends a DOWNLINK_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_MME_LPP_02
* @reference ETSI TS 136 413 V13.4.0 (2016-10) Clause 8.17.2.3 and 9.1.19.3
*/
testcase TC_S1AP_MME_LPP_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 configuration
f_cf_S1AP_MME_Up(v_s1ap_mme);
// Start
v_s1ap_mme.start(f_TC_S1AP_MME_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_MME_LPP_02
} // End of group LPPa_transport_group