Newer
Older
/*
* @author STF 574
* @version $Id$
* @desc This module provides the TP behaviour functions at GX interface
*/
module AtsImsIot_TP_behavior_GX
{
import from AtsImsIot_TestSystem all;
import from LibIot_PIXITS all;
import from AtsImsIot_Templates all;
import from AtsImsIot_TypesAndValues all;
import from LibIot_TestInterface all;
import from LibIot_TypesAndValues all;
import from LibIot_Functions all;
import from LibIot_PIXITS all;
import from AtsImsIot_Diameter_Templates all;
// LibDiameter
import from LibDiameter_Templates all;
import from LibDiameter_TypesAndValues all;
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
group g_PGW {
/**
* Starts monitor component behavior for TP_GX_PGW_CCR_01
* @param p_monitorCompRef Reference to monitor component
* <pre>
* Test objective "Verify that when IUT is invoked with a create session request the CC-Request is sent towards PCRF."
*
* <pre>
*
* Config Id CF_VxLTE_RMI
*
* Initial conditions with {
* the UE_A entity isNotAttachedTo the EPC_B and
* the UE_A entity isNotRegisteredTo the IMS_A
* }
*
* ensure that {
* when {
* the EPC_PGW_A entity invokes create_session_request
* }
* then {
* the EPC_PGW_B entity sends an CCR containing
* CC_Request_Type_AVP
* indicating value INITIAL_REQUEST
* Subscription_Id_AVP containing
* Subscription_Id_Type_AVP
* indicating value END_USER_IMSI
* ;,
* IP_CAN_Type_AVP
* RAT_Type_AVP
* Called_Station_Id_AVP
* PDN_Connection_Id_AVP
* Framed_IP_Address_AVP
* "or" Framed_IP6_IP_Address_AVP
* Bearer_Usage_AVP
* indicating value IMS_SIGNALLING
* QoS_Information_AVP
* APN_Aggregate_Max_Requested_Bandwidth_UL_AVP
* APN_Aggregate_Max_Requested_Bandwidth_DL_AVP
* Bearer_Identifier_AVP
* Default_EPS_Bearer_QoS_AVP containing
* QoS_Class_Identifier_AVP
* indicating value '5'
* Allocation_Retention_Priority_AVP containing
* Priority_Level_AVP
* Pre_emption_Capablity_AVP
* Pre_emption_Vulnerability_AVP
* ;
* ;
* ;
* to the EPC_PCRF_A entity
* }
* }
* </pre>
* @see TS 103 653-1 clause 7.7
*/
function f_mtc_check_TP_GX_PGW_CCR_01(
DiameterInterfaceMonitor p_monitorCompRef,
in boolean p_checkMessage := false,
in boolean p_forward_to_mtc := false
) runs on ImsTestCoordinator {
if (isvalue(p_monitorCompRef)){
var template DIAMETER_MSG mw_diameter_msg_pass := { cCR_MSG := mw_CCR_SubscriberIMSI_qosInformation_class5(INITIAL_REQUEST_E) };
var template DIAMETER_MSG mw_diameter_msg_fail := { cCR_MSG := mw_CCR_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
},
{0, omit},
"TP_RX_PGW_CCR_01 - CCR",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
}
} // End of function f_mtc_check_TP_GX_PGW_CCR_01
/**
* Starts monitor component behavior for TP_GX_PGW_CCR_02
* @param p_monitorCompRef Reference to monitor component
* <pre>
* Test objective "Verify that when IUT is invoked with a delete session request the CC-Request is sent towards PCRF."
*
* <pre>
*
* Config Id CF_VxLTE_RMI
*
* Initial conditions with {
* the UE_A entity isAttachedTo the EPC_B and
* the UE_A entity isNotRegisteredTo the IMS_A
* }
*
* ensure that {
* when {
* the EPC_PGW_A entity invokes delete_session_request
* }
* then {
* the EPC_PGW_B entity sends an CCR containing
* CC_Request_Type_AVP
* indicating value TERMINATION_REQUEST
* ;
* to the EPC_PCRF_B entity
* }
* }
* }
* </pre>
* @see TS 103 653-1 clause 7.7
*/
function f_mtc_check_TP_GX_PGW_CCR_02(
DiameterInterfaceMonitor p_monitorCompRef,
in boolean p_checkMessage := false,
in boolean p_forward_to_mtc := false
) runs on ImsTestCoordinator {
if (isvalue(p_monitorCompRef)){
var template DIAMETER_MSG mw_diameter_msg_pass := { cCR_MSG := mw_CCR_RequestType(TERMINATION_REQUEST_E) };
var template DIAMETER_MSG mw_diameter_msg_fail := { cCR_MSG := mw_CCR_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
156
157
158
159
160
161
162
163
164
165
166
167
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
},
{0, omit},
"TP_RX_PGW_CCR_02 - CCR",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
}
} // End of function f_mtc_check_TP_GX_PGW_CCR_02
/**
* Starts monitor component behavior for TP_GX_PGW_RAA_01
* @param p_monitorCompRef Reference to monitor component
* <pre>
* Test objective "IUT successfully processes all mandatory AVPs in an RA-Request received due provision of PCC rules and sends RA-Answer."
*
* <pre>
*
* Config Id CF_VxLTE_INT
*
* Initial conditions with {
* the UE_A entity isNotRegisteredTo the IMS_A
* }
*
* ensure that {
* when {
* the EPC_PCRF_A entity sends an RAR containing
* Charging_Rule_Install_AVP containing
* Charging_Rule_Definition_AVP containing
* Charging_Rule_Name_AVP containing
* Flows_AVP containing
* Media_Component_Number_AVP
* indicating value 0
* ,
* Flow_Status_AVP
* indicating value ENABLED
* ;
* ;
* ;
* ;
* ;
* to the EPC_PGW_A entity
* }
* then {
* the EPC_PGW_A entity sends the RAA containing
* Result_Code_AVP
* indicating value DIAMETER_SUCCESS
* ;
* to the EPC_PCRF_A entity
* }
* }
* </pre>
* @see TS 103 653-1 clause 7.7
*/
function f_mtc_check_TP_GX_PGW_RAA_01(
DiameterInterfaceMonitor p_monitorCompRef,
in boolean p_checkMessage := false,
in boolean p_forward_to_mtc := false
) runs on ImsTestCoordinator {
if (isvalue(p_monitorCompRef)){
var template DIAMETER_MSG mw_diameter_msg_pass := { rAR_MSG := mw_RAR_ChargingRuleInstall(mw_chrgRuleInstall) };
var template DIAMETER_MSG mw_diameter_msg_fail := { cCR_MSG := mw_CCR_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
},
{0, omit},
"TP_RX_PGW_RAA_01 - RAR",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
mw_diameter_msg_pass := { rAA_MSG := mw_RAA_resultCode };
mw_diameter_msg_fail := { rAA_MSG := mw_RAA_Gx_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
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
},
{0, omit},
"TP_RX_PGW_RAA_01 - RAA",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
}
} // End of function f_mtc_check_TP_GX_PGW_RAA_01
/**
* Starts monitor component behavior for TP_GX_PGW_RAA_02
* @param p_monitorCompRef Reference to monitor component
* <pre>
* Test objective "IUT successfully processes an RA-Request received due to the Session Bearer procedure and sends RA-Answer with Result_Code_AVP."
*
* <pre>
*
* Config Id CF_VxLTE_INT
*
* Initial conditions with {
* the UE_A entity isAttachedTo the EPC_A and
* the UE_A entity isRegisteredTo the IMS_A
* }
*
* ensure that {
* when {
* the EPC_PCRF_A entity sends an RAR
* to the EPC_PGW_A entity
* }
* then {
* the EPC_PGW_A entity sends the RAA containing
* Result_Code_AVP
* indicating value DIAMETER_SUCCESS
* ;
* to the EPC_PCRF_A entity
* }
* }
* </pre>
* @see TS 103 653-1 clause 7.7
*/
function f_mtc_check_TP_GX_PGW_RAA_02(
DiameterInterfaceMonitor p_monitorCompRef,
in boolean p_checkMessage := false,
in boolean p_forward_to_mtc := false
) runs on ImsTestCoordinator {
if (isvalue(p_monitorCompRef)){
var template DIAMETER_MSG mw_diameter_msg_pass := { rAR_MSG := mw_RAR_Gx_basic };
var template DIAMETER_MSG mw_diameter_msg_fail := { rAR_MSG := mw_RAR_dummy };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
},
{0, omit},
"TP_RX_PGW_RAA_02 - RAR",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
mw_diameter_msg_pass := { rAA_MSG := mw_RAA_resultCode };
mw_diameter_msg_fail := { rAA_MSG := mw_RAA_Gx_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
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
},
{0, omit},
"TP_RX_PGW_RAA_02 - RAA",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
}
} // End of function f_mtc_check_TP_GX_PGW_RAA_02
/**
* Starts monitor component behavior for TP_GX_PGW_RAA_03
* @param p_monitorCompRef Reference to monitor component
* <pre>
* Test objective "IUT successfully processes an RA-Request received due to the Session Bearer procedure and sends RA-Answer with Result_Code_AVP."
*
* <pre>
*
* Config Id CF_VxLTE_INT
*
* Initial conditions with {
* the UE_A entity isAttachedTo the EPC_A and
* the UE_A entity isRegisteredTo the IMS_A and
* the UE_A entity previouslyEstablishedCallWith the UE_B
* }
*
* ensure that {
* when {
* the EPC_PCRF_A entity sends an RAR
* to the EPC_PGW_A entity
* }
* then {
* the EPC_PGW_A entity sends the RAA containing
* Result_Code_AVP
* indicating value DIAMETER_SUCCESS
* ;
* to the EPC_PCRF_A entity
* }
* </pre>
* @see TS 103 653-1 clause 7.7
*/
function f_mtc_check_TP_GX_PGW_RAA_03(
DiameterInterfaceMonitor p_monitorCompRef,
in boolean p_checkMessage := false,
in boolean p_forward_to_mtc := false
) runs on ImsTestCoordinator {
if (isvalue(p_monitorCompRef)){
var template DIAMETER_MSG mw_diameter_msg_pass := { rAR_MSG := mw_RAR_Gx_basic };
var template DIAMETER_MSG mw_diameter_msg_fail := { rAR_MSG := mw_RAR_dummy };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
},
{0, omit},
"TP_RX_PGW_RAA_03 - RAR",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
mw_diameter_msg_pass := { rAA_MSG := mw_RAA_resultCode };
mw_diameter_msg_fail := { rAA_MSG := mw_RAA_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
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
},
{0, omit},
"TP_RX_PGW_RAA_03 - RAA",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
}
} // End of function f_mtc_check_TP_GX_PGW_RAA_03
/**
* Starts monitor component behavior for TP_GX_PGW_RAA_04
* @param p_monitorCompRef Reference to monitor component
* <pre>
* Test objective "IUT successfully processes an RA-Request received due to removal of Session Bearer procedure and sends RA-Answer with Result_Code_AVP."
*
* <pre>
*
* Config Id CF_VxLTE_INT
*
* Initial conditions with {
* the UE_A entity isAttachedTo the EPC_A and
* the UE_A entity isRegisteredTo the IMS_A
* }
*
* ensure that {
* when {
* the EPC_PCRF_A entity sends an RAR containing
* Charging_Rule_Remove_AVP containing
* Charging_Rule_Name_AVP
* ;;
* to the EPC_PGW_A entity
* }
* then {
* the EPC_PGW_A entity sends the RAA containing
* Result_Code_AVP
* indicating value DIAMETER_SUCCESS
* ;
* to the EPC_PCRF_A entity
* }
* </pre>
* @see TS 103 653-1 clause 7.7
*/
function f_mtc_check_TP_GX_PGW_RAA_04(
DiameterInterfaceMonitor p_monitorCompRef,
in boolean p_checkMessage := false,
in boolean p_forward_to_mtc := false
) runs on ImsTestCoordinator {
if (isvalue(p_monitorCompRef)){
var template DIAMETER_MSG mw_diameter_msg_pass := { rAR_MSG := mw_RAR_ChargingRuleRemove };
var template DIAMETER_MSG mw_diameter_msg_fail := { rAR_MSG := mw_RAR_Gx_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
},
{0, omit},
"TP_RX_PGW_RAA_04 - RAR",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
mw_diameter_msg_pass := { rAA_MSG := mw_RAA_resultCode };
mw_diameter_msg_fail := { rAA_MSG := mw_RAA_Gx_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
},
{0, omit},
"TP_RX_PGW_RAA_04 - RAA",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
}
} // End of function f_mtc_check_TP_GX_PGW_RAA_04
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
} // end group g_PGW
group g_PCRF {
/**
* Starts monitor component behavior for TP_GX_PCRF_CCA_01
* @param p_monitorCompRef Reference to monitor component
* <pre>
* Test objective "Verify that IUT when receives CC-Request for PCC Rules sends a CC-Answer in case of attachment procedure."
*
* <pre>
*
* Config Id CF_VxLTE_INT
*
* Initial conditions with {
* the UE_A entity isNotAttachedTo the EPC_A and
* the UE_A entity isNotRegisteredTo the IMS_A
* }
*
* ensure that {
* when {
* the EPC_PGW_A entity sends an CCR containing
* CC_Request_Type_AVP
* indicating value INITIAL_REQUEST
* Subscription_Id_AVP containing
* Subscription_Id_Type_AVP
* indicating value END_USER_IMSI
* ;,
* IP_CAN_Type_AVP
* RAT_Type_AVP
* Called_Station_Id_AVP
* PDN_Connection_Id_AVP
* Framed_IP_Address_AVP
* "or" Framed_IP6_IP_Address_AVP
* Bearer_Usage_AVP
* indicating value IMS_SIGNALLING
* QoS_Information_AVP
* APN_Aggregate_Max_Requested_Bandwidth_UL_AVP
* APN_Aggregate_Max_Requested_Bandwidth_DL_AVP
* Bearer_Identifier_AVP
* Default_EPS_Bearer_QoS_AVP containing
* QoS_Class_Identifier_AVP
* indicating value '5'
* Allocation_Retention_Priority_AVP containing
* Priority_Level_AVP
* Pre_emption_Capablity_AVP
* Pre_emption_Vulnerability_AVP
* ;
* ;
* ;
* to the EPC_PCRF_A entity
* }
* then {
* the EPC_PCRF_A entity sends the CCA containing
* Result_Code_AVP
* indicating value DIAMETER_SUCCESS
* to the EPC_PGW_A entity
* }
* }
* </pre>
* @see TS 103 653-1 clause 7.7
*/
function f_mtc_check_TP_GX_PCRF_CCA_01(
DiameterInterfaceMonitor p_monitorCompRef,
in boolean p_checkMessage := false,
in boolean p_forward_to_mtc := false
) runs on ImsTestCoordinator {
if (isvalue(p_monitorCompRef)){
var template DIAMETER_MSG mw_diameter_msg_pass := { cCR_MSG := mw_CCR_SubscriberIMSI_qosInformation_class5(INITIAL_REQUEST_E) };
var template DIAMETER_MSG mw_diameter_msg_fail := { cCR_MSG := mw_CCR_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
},
{0, omit},
"TP_RX_PCRF_CCA_01 - CCR",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
mw_diameter_msg_pass := { cCA_MSG := mw_CCA_resultCode };
mw_diameter_msg_fail := { cCA_MSG := mw_CCA_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
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
},
{0, omit},
"TP_RX_PCRF_CCA_01 - CCA",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
}
} // End of function f_mtc_check_TP_GX_PCRF_CCA_01
/**
* Starts monitor component behavior for TP_GX_PCRF_CCA_02
* @param p_monitorCompRef Reference to monitor component
* <pre>
* Test objective "Verify that IUT when receives CC-Request for PCC Rules sends a CC-Answer in case of detachment procedure."
*
* <pre>
*
* Config Id CF_VxLTE_INT
*
* Initial conditions with {
* the UE_A entity isNotAttachedTo the EPC_A and
* the UE_A entity isNotRegisteredTo the IMS_A
* }
*
* ensure that {
* when {
* the EPC_PGW_A entity sends an CCR containing
* CC_Request_Type_AVP
* indicating value TERMINATION_REQUEST
* ;
* to the EPC_PCRF_A entity
* }
* then {
* the EPC_PCRF_A entity sends the CCA containing
* Result_Code_AVP
* indicating value DIAMETER_SUCCESS
* ;
* to the EPC_PGW_A entity
* }
* }
* </pre>
* @see TS 103 653-1 clause 7.7
*/
function f_mtc_check_TP_GX_PCRF_CCA_02(
DiameterInterfaceMonitor p_monitorCompRef,
in boolean p_checkMessage := false,
in boolean p_forward_to_mtc := false
) runs on ImsTestCoordinator {
if (isvalue(p_monitorCompRef)){
var template DIAMETER_MSG mw_diameter_msg_pass := { cCR_MSG := mw_CCR_RequestType(TERMINATION_REQUEST_E) };
var template DIAMETER_MSG mw_diameter_msg_fail := { cCR_MSG := mw_CCR_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
},
{0, omit},
"TP_RX_PCRF_CCA_02 - CCR",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
mw_diameter_msg_pass := { cCA_MSG := mw_CCA_resultCode };
mw_diameter_msg_fail := { cCA_MSG := mw_CCA_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
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
},
{0, omit},
"TP_RX_PCRF_CCA_02 - CCA",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
}
} // End of function f_mtc_check_TP_GX_PCRF_CCA_02
/**
* Starts monitor component behavior for TP_GX_PCRF_CCA_03
* @param p_monitorCompRef Reference to monitor component
* <pre>
* Test objective "Verify that IUT when receives CC-Request for PCC Rules sends a CC-Answer in case of detachment procedure."
* <pre>
*
* Config Id CF_VxLTE_INT
*
* Initial conditions with {
* the UE_A entity isAttachedTo the EPC_A and
* the UE_A entity isNotRegisteredTo the IMS_A
* }
*
* ensure that {
* when {
* the EPC_PGW_A entity sends an CCR containing
* CC_Request_Type_AVP
* indicating value TERMINATION_REQUEST
* ;
* to the EPC_PCRF_A entity
* }
* then {
* the EPC_PCRF_A entity sends the CCA containing
* Result_Code_AVP
* indicating value DIAMETER_SUCCESS
* ;
* to the EPC_PGW_A entity
* }
* }
* </pre>
* @see TS 103 653-1 clause 7.7
*/
function f_mtc_check_TP_GX_PCRF_CCA_03(
DiameterInterfaceMonitor p_monitorCompRef,
in boolean p_checkMessage := false,
in boolean p_forward_to_mtc := false
) runs on ImsTestCoordinator {
if (isvalue(p_monitorCompRef)){
var template DIAMETER_MSG mw_diameter_msg_pass := { cCR_MSG := mw_CCR_RequestType(TERMINATION_REQUEST_E) };
var template DIAMETER_MSG mw_diameter_msg_fail := { cCR_MSG := mw_CCR_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
},
{0, omit},
"TP_RX_PCRF_CCA_03 - CCR",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
mw_diameter_msg_pass := { cCA_MSG := mw_CCA_resultCode };
mw_diameter_msg_fail := { cCA_MSG := mw_CCA_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
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
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
},
{0, omit},
"TP_RX_PCRF_CCA_03 - CCA",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
}
} // End of function f_mtc_check_TP_GX_PCRF_CCA_03
/**
* Starts monitor component behavior for TP_GX_PCRF_CCA_04
* @param p_monitorCompRef Reference to monitor component
* <pre>
* Test objective "Verify that IUT receives CC-Answer from home PCRF and it sends CC-Answer towards home P-GW."
*
* Reference
"TS 129 212 (V15.3.0) [9], clauses 4.5.1 (item 1) and 4a.5.1 (item 1)"
*
* Config Id CF_VxLTE_RMI
*
* Initial conditions with {
* the UE_A entity isNotAttachedTo the EPC_B and
* the UE_A entity isNotRegisteredTo the IMS_A
* }
*
* ensure that {
* when {
* the EPC_PCRF_A entity sends an CCA
* to the EPC_PCRF_B entity
* }
* then {
* the EPC_PCRF_B entity sends the CCA containing
* Result_Code_AVP
* indicating value DIAMETER_SUCCESS
* QoS_Information_AVP containing
* APN_Aggregate_Max_Requested_Bandwidth_UL_AVP
* APN_Aggregate_Max_Requested_Bandwidth_DL_AVP
* Bearer_Identifier_AVP;,
* Default_EPS_Bearer_QoS_AVP containing
* QoS_Class_Identifier_AVP
* indicating value '5'
* Allocation_Retention_Priority_AVP containing
* Priority_Level_AVP
* Pre_emption_Capablity_AVP
* Pre_emption_Vulnerability_AVP
* ;
* ;
* ;
* to the EPC_PGW_B entity
* }
* }
* </pre>
* @see TS 103 653-1 clause 7.7
*/
function f_mtc_check_TP_GX_PCRF_CCA_04(
DiameterInterfaceMonitor p_monitorCompRef,
in boolean p_checkMessage := false,
in boolean p_forward_to_mtc := false
) runs on ImsTestCoordinator {
if (isvalue(p_monitorCompRef)){
var template DIAMETER_MSG mw_diameter_msg_pass := { cCA_MSG := mw_CCA_qosInformation_class5 };
var template DIAMETER_MSG mw_diameter_msg_fail := { cCA_MSG := mw_CCA_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
813
814
815
816
817
818
819
820
821
822
823
824
825
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
852
853
854
855
856
857
858
859
860
861
862
},
{0, omit},
"TP_RX_PCRF_CCA_04 - CCA",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
}
} // End of function f_mtc_check_TP_GX_PCRF_CCA_04
/**
* Starts monitor component behavior for TP_GX_PCRF_CCA_04
* @param p_monitorCompRef Reference to monitor component
* <pre>
* Test objective "Verify that IUT receives CC-Answer from home PCRF and it sends CC-Answer towards home P-GW."
*
* Reference
"TS 129 212 (V15.3.0) [9], clauses 4.5.1 (item 1) and 4a.5.1 (item 1)"
*
* Config Id CF_VxLTE_RMI
*
* Initial conditions with {
* the UE_A entity isAttachedTo the EPC_B and
* the UE_A entity isNotRegisteredTo the IMS_A
* }
*
* ensure that {
* when {
* the EPC_PCRF_A entity sends an CCA
* to the EPC_PCRF_B entity
* }
* then {
* the EPC_PCRF_B entity sends the CCA containing
* Result_Code_AVP
* indicating value DIAMETER_SUCCESS
* ;
* to the EPC_PGW_B entity
* }
* }
* </pre>
* @see TS 103 653-1 clause 7.7
*/
function f_mtc_check_TP_GX_PCRF_CCA_05(
DiameterInterfaceMonitor p_monitorCompRef,
in boolean p_checkMessage := false,
in boolean p_forward_to_mtc := false
) runs on ImsTestCoordinator {
if (isvalue(p_monitorCompRef)){
var template DIAMETER_MSG mw_diameter_msg_pass := { cCA_MSG := mw_CCA_resultCode };
var template DIAMETER_MSG mw_diameter_msg_fail := { cCA_MSG := mw_CCA_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
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
},
{0, omit},
"TP_RX_PCRF_CCA_05 - CCA",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
}
} // End of function f_mtc_check_TP_GX_PCRF_CCA_05
/**
* Starts monitor component behavior for TP_GX_PCRF_RAR_01
* @param p_monitorCompRef Reference to monitor component
* <pre>
* Test objective "When IUT receives AA-Request from P-CSCF successfully sends an RA-Request due to the Session Bearer procedure"
*
* <pre>
*
* Config Id CF_VxLTE_INT
*
* Initial conditions with {
* the UE_A entity isAttachedTo the EPC_A and
* the UE_A entity isRegisteredTo the IMS_A
* }
*
* ensure that {
* when {
* the IMS_P_CSCF_A entity sends an AAR
* to the EPC_PCRF_A entity
* }
* then {
* the EPC_PCRF_A entity sends the RAR containing
* Charging_Rule_Install_AVP containing
* Charging_Rule_Definition_AVP containing
* Charging_Rule_Name_AVP
* Flow_Information_AVP containing
* Flow_Description_AVP
* Flow_Status_AVP
* Flows_AVP containing
* Media_Component_Number_AVP
* ;,
* QOS_Information_AVP containing
* QOS_Class_Identifier_AVP
* indicating value
* "QCI_1 for voice or
* QCI_2 for video";,
* Max_Requested_Bandwidth_UL_AVP
* Max_Requested_Bandwidth_DL_AVP
* Guaranteed_Bitrate_UL_AVP
* Guaranteed_Bitrate_DL_AVP
* Allocation_Retention_Priority_AVP
* ;
* ;
* ;
* ;
* to the EPC_PGW_A entity
* }
* }
* </pre>
* @see TS 103 653-1 clause 7.7
*/
function f_mtc_check_TP_GX_PCRF_RAR_01(
DiameterInterfaceMonitor p_monitorCompRef,
in boolean p_checkMessage := false,
in boolean p_forward_to_mtc := false
) runs on ImsTestCoordinator {
if (isvalue(p_monitorCompRef)){
var template DIAMETER_MSG mw_diameter_msg_pass := { rAR_MSG := mw_RAR_ChargingRuleInstall(mw_chrgRuleInstall_Qos) };
var template DIAMETER_MSG mw_diameter_msg_fail := { rAR_MSG := mw_RAR_Gx_basic };
p_monitorCompRef.start (
f_Iot_Diameter_receive(
{
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
},
{0, omit},
"TP_RX_PCRF_RAR_01 - RAR",
p_forward_to_mtc,
p_checkMessage
)
);
p_monitorCompRef.done;
}
} // End of function f_mtc_check_TP_GX_PCRF_RAR_01
/**
* Starts monitor component behavior for TP_GX_PCRF_RAR_02
* @param p_monitorCompRef Reference to monitor component
* <pre>
* Test objective "When IUT receives ST-Request from P-CSCF to remove all relevant previously created bearers then IUT sends an RA-Request."
*
* <pre>
*
* Config Id CF_VxLTE_INT
*
* Initial conditions with {
* the UE_A entity isAttachedTo the EPC_A and
* the UE_A entity isRegisteredTo the IMS_A and
* the UE_A entity previouslyEstablishedCallWith the UE_B
* }
*
* ensure that {
* when {
* the IMS_P_CSCF_A entity sends an STR
* to the EPC_PCRF_A entity
* }
* then {
* the EPC_PCRF_A entity sends the RAR containing
* Charging_Rule_Remove_AVP containing
* Charging_Rule_Name_AVP
* ;
* ;
* to the EPC_PGW_A entity
* }
* }
* </pre>
* @see TS 103 653-1 clause 7.7
*/
function f_mtc_check_TP_GX_PCRF_RAR_02(
DiameterInterfaceMonitor p_monitorCompRef,
in boolean p_checkMessage := false,
in boolean p_forward_to_mtc := false
) runs on ImsTestCoordinator {
if (isvalue(p_monitorCompRef)){
var template DIAMETER_MSG mw_diameter_msg_pass := { rAR_MSG := mw_RAR_ChargingRuleRemove };