Loading ttcn/AtsNGAP/NGAP_TCFunctions.ttcn +67 −14 Original line number Diff line number Diff line Loading @@ -4886,6 +4886,32 @@ module NGAP_TCFunctions { } // End of group Initial_UE_Message //8.6.2 group Downlink_NAS_Transport{ /** * @desc Testcase function for TC_NGAP_AMF_NAS_01 */ function f_TC_NGAP_AMF_NAS_01() runs on gNBNGAPComponent { // Local variables // Preamble f_NGAP_gnb_init(); f_NGAP_gnb_UE_Register(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); // Body f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Testbody done. ***"); // Postamble f_postamble_NGAP_AMF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Postamble done. ***"); } // End of function f_TC_NGAP_AMF_NAS_01 } // End of group Downlink_NAS_Transport //8.6.3 group Uplink_NAS_Transport{ Loading @@ -4895,6 +4921,33 @@ module NGAP_TCFunctions { } // End of group NAS_Non_Delivery_Indication //8.6.5 group Rerout_NAS_Request{ /** * @desc Testcase function for TC_NGAP_AMF_NAS_02 */ function f_TC_NGAP_AMF_NAS_02() runs on gNBNGAPComponent { // Local variables // Preamble f_NGAP_gnb_init(); f_NGAP_gnb_UE_Register(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); // Body f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Testbody done. ***"); // Postamble f_postamble_NGAP_AMF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Postamble done. ***"); } // End of function f_TC_NGAP_AMF_NAS_02 } // End of group Rerout_NAS_Request } // End of group Transport_of_NAS_Messages_Procedures //8.7 Loading ttcn/AtsNGAP/NGAP_TestCases.ttcn +57 −0 Original line number Diff line number Diff line Loading @@ -2762,6 +2762,34 @@ module NGAP_TestCases { } // End of group Initial_UE_Message //8.6.2 group Downlink_NAS_Transport{ /** * @desc "Verify that the IUT can send an DOWNLINK NAS TRANSPORT message to carry NAS information over the NG interface." */ testcase TC_NGAP_AMF_NAS_01() runs on gNBNGAPComponent system TestAdapter { // Local variables var gNBNGAPComponent v_ngap_gnb; // Test control if ((not PICS_NGAP_AMF_IUT) and (not PICS_A4_5_2)){ log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_AMF_IUT and PICS_A4_5_2' shall be set to true for executing the TC. ***"); stop; } // Test component configuration f_cf_NGAP_gNB_Up(v_ngap_gnb); // Start v_ngap_gnb.start(f_TC_NGAP_AMF_NAS_01()); // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone}); f_cf_Down/*gNBoraMF*/(); } // End of testcase TC_NGAP_AMF_NAS_01 } // End of group Downlink_NAS_Transport //8.6.3 group Uplink_NAS_Transport{ Loading @@ -2771,6 +2799,35 @@ module NGAP_TestCases { } // End of group NAS_Non_Delivery_Indication //8.6.5 group Rerout_NAS_Request{ /** * @desc "Verify that the IUT can send an REROUTE NAS REQUEST message to reroute the INITIAL UE MESSAGE message to another AMF." */ testcase TC_NGAP_AMF_NAS_02() runs on gNBNGAPComponent system TestAdapter { // Local variables var gNBNGAPComponent v_ngap_gnb; // Test control if ((not PICS_NGAP_AMF_IUT) and (not PICS_A4_5_5)){ log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_AMF_IUT and PICS_A4_5_5' shall be set to true for executing the TC. ***"); stop; } // Test component configuration f_cf_NGAP_gNB_Up(v_ngap_gnb); // Start v_ngap_gnb.start(f_TC_NGAP_AMF_NAS_02()); // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone}); f_cf_Down/*gNBoraMF*/(); } // End of testcase TC_NGAP_AMF_NAS_02 } // End of group Rerout_NAS_Request } // End of group Transport_of_NAS_Messages_Procedures //8.7 Loading Loading
ttcn/AtsNGAP/NGAP_TCFunctions.ttcn +67 −14 Original line number Diff line number Diff line Loading @@ -4886,6 +4886,32 @@ module NGAP_TCFunctions { } // End of group Initial_UE_Message //8.6.2 group Downlink_NAS_Transport{ /** * @desc Testcase function for TC_NGAP_AMF_NAS_01 */ function f_TC_NGAP_AMF_NAS_01() runs on gNBNGAPComponent { // Local variables // Preamble f_NGAP_gnb_init(); f_NGAP_gnb_UE_Register(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); // Body f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Testbody done. ***"); // Postamble f_postamble_NGAP_AMF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Postamble done. ***"); } // End of function f_TC_NGAP_AMF_NAS_01 } // End of group Downlink_NAS_Transport //8.6.3 group Uplink_NAS_Transport{ Loading @@ -4895,6 +4921,33 @@ module NGAP_TCFunctions { } // End of group NAS_Non_Delivery_Indication //8.6.5 group Rerout_NAS_Request{ /** * @desc Testcase function for TC_NGAP_AMF_NAS_02 */ function f_TC_NGAP_AMF_NAS_02() runs on gNBNGAPComponent { // Local variables // Preamble f_NGAP_gnb_init(); f_NGAP_gnb_UE_Register(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); // Body f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Testbody done. ***"); // Postamble f_postamble_NGAP_AMF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Postamble done. ***"); } // End of function f_TC_NGAP_AMF_NAS_02 } // End of group Rerout_NAS_Request } // End of group Transport_of_NAS_Messages_Procedures //8.7 Loading
ttcn/AtsNGAP/NGAP_TestCases.ttcn +57 −0 Original line number Diff line number Diff line Loading @@ -2762,6 +2762,34 @@ module NGAP_TestCases { } // End of group Initial_UE_Message //8.6.2 group Downlink_NAS_Transport{ /** * @desc "Verify that the IUT can send an DOWNLINK NAS TRANSPORT message to carry NAS information over the NG interface." */ testcase TC_NGAP_AMF_NAS_01() runs on gNBNGAPComponent system TestAdapter { // Local variables var gNBNGAPComponent v_ngap_gnb; // Test control if ((not PICS_NGAP_AMF_IUT) and (not PICS_A4_5_2)){ log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_AMF_IUT and PICS_A4_5_2' shall be set to true for executing the TC. ***"); stop; } // Test component configuration f_cf_NGAP_gNB_Up(v_ngap_gnb); // Start v_ngap_gnb.start(f_TC_NGAP_AMF_NAS_01()); // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone}); f_cf_Down/*gNBoraMF*/(); } // End of testcase TC_NGAP_AMF_NAS_01 } // End of group Downlink_NAS_Transport //8.6.3 group Uplink_NAS_Transport{ Loading @@ -2771,6 +2799,35 @@ module NGAP_TestCases { } // End of group NAS_Non_Delivery_Indication //8.6.5 group Rerout_NAS_Request{ /** * @desc "Verify that the IUT can send an REROUTE NAS REQUEST message to reroute the INITIAL UE MESSAGE message to another AMF." */ testcase TC_NGAP_AMF_NAS_02() runs on gNBNGAPComponent system TestAdapter { // Local variables var gNBNGAPComponent v_ngap_gnb; // Test control if ((not PICS_NGAP_AMF_IUT) and (not PICS_A4_5_5)){ log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_AMF_IUT and PICS_A4_5_5' shall be set to true for executing the TC. ***"); stop; } // Test component configuration f_cf_NGAP_gNB_Up(v_ngap_gnb); // Start v_ngap_gnb.start(f_TC_NGAP_AMF_NAS_02()); // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone}); f_cf_Down/*gNBoraMF*/(); } // End of testcase TC_NGAP_AMF_NAS_02 } // End of group Rerout_NAS_Request } // End of group Transport_of_NAS_Messages_Procedures //8.7 Loading