Loading ttcn/AtsNGAP/NGAP_TCFunctions.ttcn +41 −0 Original line number Diff line number Diff line Loading @@ -1511,6 +1511,47 @@ module NGAP_TCFunctions { } // End of group AMF_CP_Relocation_Indication //8.3.8 group RAN_CP_Relocation_Indication{ /** * @desc Testcase function for f_TC_NGAP_GNB_CMP_15 */ function f_TC_NGAP_GNB_CMP_15() runs on aMFNGAPComponent { // Preamble f_NGAP_amf_init(); f_NGAP_amf_UE_Register(); // TODO: hasEstablishedInitialContext f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); // Body action("Trigger a RAN CP relocation indication procedure"); f_recv_NGAP_PDU( mw_ngap_initMsg( mw_n2_RANCPRelocationIndication ( PX_RAN_UE_NGAP_ID, ?, ?, ?, ? ) )); 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 function f_TC_NGAP_GNB_CMP_15 } // End of group RAN_CP_Relocation_Indication //8.3.9 group Retrieve_UE_Information{ Loading ttcn/AtsNGAP/NGAP_TestCases.ttcn +28 −0 Original line number Diff line number Diff line Loading @@ -666,6 +666,34 @@ module NGAP_TestCases { } // End of group AMF_CP_Relocation_Indication //8.3.8 group RAN_CP_Relocation_Indication{ /** * @desc Test objective "Verify that the IUT can send a RAN CP Relocation Indication that contains mandatory IEs" */ testcase TC_NGAP_GNB_CMP_15() runs on aMFNGAPComponent system TestAdapter { // Local variables var aMFNGAPComponent v_ngap_amf; // Test control if ((not PICS_NGAP_GNB_IUT) and (not PICS_A3_2_8)){ log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_GNB_IUT and PICS_A3_2_8' 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_CMP_15()); // 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_CMP_15 } // End of group RAN_CP_Relocation_Indication //8.3.9 group Retrieve_UE_Information{ Loading Loading
ttcn/AtsNGAP/NGAP_TCFunctions.ttcn +41 −0 Original line number Diff line number Diff line Loading @@ -1511,6 +1511,47 @@ module NGAP_TCFunctions { } // End of group AMF_CP_Relocation_Indication //8.3.8 group RAN_CP_Relocation_Indication{ /** * @desc Testcase function for f_TC_NGAP_GNB_CMP_15 */ function f_TC_NGAP_GNB_CMP_15() runs on aMFNGAPComponent { // Preamble f_NGAP_amf_init(); f_NGAP_amf_UE_Register(); // TODO: hasEstablishedInitialContext f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); log("*** " & __SCOPE__ & ": INFO: Preamble done. ***"); // Body action("Trigger a RAN CP relocation indication procedure"); f_recv_NGAP_PDU( mw_ngap_initMsg( mw_n2_RANCPRelocationIndication ( PX_RAN_UE_NGAP_ID, ?, ?, ?, ? ) )); 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 function f_TC_NGAP_GNB_CMP_15 } // End of group RAN_CP_Relocation_Indication //8.3.9 group Retrieve_UE_Information{ Loading
ttcn/AtsNGAP/NGAP_TestCases.ttcn +28 −0 Original line number Diff line number Diff line Loading @@ -666,6 +666,34 @@ module NGAP_TestCases { } // End of group AMF_CP_Relocation_Indication //8.3.8 group RAN_CP_Relocation_Indication{ /** * @desc Test objective "Verify that the IUT can send a RAN CP Relocation Indication that contains mandatory IEs" */ testcase TC_NGAP_GNB_CMP_15() runs on aMFNGAPComponent system TestAdapter { // Local variables var aMFNGAPComponent v_ngap_amf; // Test control if ((not PICS_NGAP_GNB_IUT) and (not PICS_A3_2_8)){ log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_GNB_IUT and PICS_A3_2_8' 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_CMP_15()); // 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_CMP_15 } // End of group RAN_CP_Relocation_Indication //8.3.9 group Retrieve_UE_Information{ Loading