Loading ttcn/AtsNGAP/NGAP_TCFunctions.ttcn +64 −2 Original line number Original line Diff line number Diff line Loading @@ -1168,9 +1168,72 @@ module NGAP_TCFunctions { group Configuration_Transfer_Procedures{ group Configuration_Transfer_Procedures{ //8.8.1 //8.8.1 group Uplink_RAN_Configuration_Transfer{ group Uplink_RAN_Configuration_Transfer{ /** * @desc Testcase function for TC_NGAP_gNB_CTP_01 */ function f_TC_NGAP_GNB_CTP_01() runs on aMFNGAPComponent { // Local variables // Preamble f_NGAP_amf_init(); f_NGAP_amf_UE_Register(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); // Body action("Trigger Uplink_RAN_Configuration_Transfer!"); f_recv_NGAP_PDU( mw_ngap_initMsg( mw_n2_UplinkRANConfigurationTransfer ) ); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Testbody done. ***"); // Postamble f_postamble_NGAP_gNB(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Postamble done. ***"); } } // End of group Uplink_RAN_Configuration_Transfer } // End of group Uplink_RAN_Configuration_Transfer //8.8.2 //8.8.2 group Downlink_RAN_Configuration_Transfer{ group Downlink_RAN_Configuration_Transfer{ /** * @desc Testcase function for TC_NGAP_aMF_CTP_01 */ function f_TC_NGAP_AMF_CTP_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 action("Trigger Downlink_RAN_Configuration_Transfer!"); f_recv_NGAP_PDU( mw_ngap_initMsg( mw_n2_DownlinkRANConfigurationTransfer ) ); 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 group Downlink_RAN_Configuration_Transfer } // End of group Downlink_RAN_Configuration_Transfer } // End of group Configuration_Transfer_Procedures } // End of group Configuration_Transfer_Procedures //8.9 //8.9 Loading Loading @@ -3161,4 +3224,3 @@ module NGAP_TCFunctions { } // End of group aMF_Role } // End of group aMF_Role } // End of module NGAP_TCFunctions } // End of module NGAP_TCFunctions No newline at end of file ttcn/AtsNGAP/NGAP_TestCases.ttcn +54 −0 Original line number Original line Diff line number Diff line Loading @@ -735,9 +735,63 @@ module NGAP_TestCases { group Configuration_Transfer_Procedures{ group Configuration_Transfer_Procedures{ //8.8.1 //8.8.1 group Uplink_RAN_Configuration_Transfer{ group Uplink_RAN_Configuration_Transfer{ /** * @desc Verify that the IUT can send an Uplink RAN Configuration Transfer message to transfer RAN configuration information to the AMF. */ testcase TC_NGAP_GNB_CTP_01() runs on aMFNGAPComponent system TestAdapter { // Local variables var aMFNGAPComponent v_ngap_amf; // Test control if ((not PICS_NGAP_GNB_IUT) and (not PICS_A3_7_1)){ log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_GNB_IUT and PICS_A3_7_1' shall be set to true for executing the TC. ***"); stop; } // Test component configuration f_cf_NGAP_aMF_Up(v_ngap_amf); // Start v_ngap_amf.start(f_TC_NGAP_GNB_CTP_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_GNB_CTP_01 } // End of group Uplink_RAN_Configuration_Transfer } // End of group Uplink_RAN_Configuration_Transfer //8.8.2 //8.8.2 group Downlink_RAN_Configuration_Transfer{ group Downlink_RAN_Configuration_Transfer{ /** * @desc Verify that the IUT can send an DOWNLINK RAN CONFIGURATION TRANSFER message to transfer RAN configuration information to the NG-RAN. */ testcase TC_NGAP_AMF_CTP_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_7_2)){ log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_AMF_IUT and PICS_A4_7_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_CTP_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_CTP_01 } // End of group Downlink_RAN_Configuration_Transfer } // End of group Downlink_RAN_Configuration_Transfer } // End of group Configuration_Transfer_Procedures } // End of group Configuration_Transfer_Procedures //8.9 //8.9 Loading Loading
ttcn/AtsNGAP/NGAP_TCFunctions.ttcn +64 −2 Original line number Original line Diff line number Diff line Loading @@ -1168,9 +1168,72 @@ module NGAP_TCFunctions { group Configuration_Transfer_Procedures{ group Configuration_Transfer_Procedures{ //8.8.1 //8.8.1 group Uplink_RAN_Configuration_Transfer{ group Uplink_RAN_Configuration_Transfer{ /** * @desc Testcase function for TC_NGAP_gNB_CTP_01 */ function f_TC_NGAP_GNB_CTP_01() runs on aMFNGAPComponent { // Local variables // Preamble f_NGAP_amf_init(); f_NGAP_amf_UE_Register(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); // Body action("Trigger Uplink_RAN_Configuration_Transfer!"); f_recv_NGAP_PDU( mw_ngap_initMsg( mw_n2_UplinkRANConfigurationTransfer ) ); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Testbody done. ***"); // Postamble f_postamble_NGAP_gNB(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Postamble done. ***"); } } // End of group Uplink_RAN_Configuration_Transfer } // End of group Uplink_RAN_Configuration_Transfer //8.8.2 //8.8.2 group Downlink_RAN_Configuration_Transfer{ group Downlink_RAN_Configuration_Transfer{ /** * @desc Testcase function for TC_NGAP_aMF_CTP_01 */ function f_TC_NGAP_AMF_CTP_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 action("Trigger Downlink_RAN_Configuration_Transfer!"); f_recv_NGAP_PDU( mw_ngap_initMsg( mw_n2_DownlinkRANConfigurationTransfer ) ); 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 group Downlink_RAN_Configuration_Transfer } // End of group Downlink_RAN_Configuration_Transfer } // End of group Configuration_Transfer_Procedures } // End of group Configuration_Transfer_Procedures //8.9 //8.9 Loading Loading @@ -3161,4 +3224,3 @@ module NGAP_TCFunctions { } // End of group aMF_Role } // End of group aMF_Role } // End of module NGAP_TCFunctions } // End of module NGAP_TCFunctions No newline at end of file
ttcn/AtsNGAP/NGAP_TestCases.ttcn +54 −0 Original line number Original line Diff line number Diff line Loading @@ -735,9 +735,63 @@ module NGAP_TestCases { group Configuration_Transfer_Procedures{ group Configuration_Transfer_Procedures{ //8.8.1 //8.8.1 group Uplink_RAN_Configuration_Transfer{ group Uplink_RAN_Configuration_Transfer{ /** * @desc Verify that the IUT can send an Uplink RAN Configuration Transfer message to transfer RAN configuration information to the AMF. */ testcase TC_NGAP_GNB_CTP_01() runs on aMFNGAPComponent system TestAdapter { // Local variables var aMFNGAPComponent v_ngap_amf; // Test control if ((not PICS_NGAP_GNB_IUT) and (not PICS_A3_7_1)){ log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_GNB_IUT and PICS_A3_7_1' shall be set to true for executing the TC. ***"); stop; } // Test component configuration f_cf_NGAP_aMF_Up(v_ngap_amf); // Start v_ngap_amf.start(f_TC_NGAP_GNB_CTP_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_GNB_CTP_01 } // End of group Uplink_RAN_Configuration_Transfer } // End of group Uplink_RAN_Configuration_Transfer //8.8.2 //8.8.2 group Downlink_RAN_Configuration_Transfer{ group Downlink_RAN_Configuration_Transfer{ /** * @desc Verify that the IUT can send an DOWNLINK RAN CONFIGURATION TRANSFER message to transfer RAN configuration information to the NG-RAN. */ testcase TC_NGAP_AMF_CTP_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_7_2)){ log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_AMF_IUT and PICS_A4_7_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_CTP_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_CTP_01 } // End of group Downlink_RAN_Configuration_Transfer } // End of group Downlink_RAN_Configuration_Transfer } // End of group Configuration_Transfer_Procedures } // End of group Configuration_Transfer_Procedures //8.9 //8.9 Loading