Loading ttcn/AtsIms5gIot/AtsIms5gIot_TD_FB5Gto4G.ttcn +71 −0 Original line number Diff line number Diff line Loading @@ -25,4 +25,75 @@ module AtsIms5gIot_TD_FB5Gto4G { import from AtsIms5gIot_TestSystem all; import from AtsIms5gIot_Functions all; group Emergency_Fallback5Gto4G { testcase TD_VoNR_EMC_INT_FB_01() runs on FiveGNRTestCoordinator system FiveGNRIotSystemInterface { var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser ( c_userUE_A_emergency ); var ImsUserInfo v_userInfoA := f_getSipUserId ( PX_EUT_A ); f_set5GNRMonIterfacesAvailability(); // Check required monitor interfaces due to TD if (f_check5GNRRequiredMonitorInterface({ PX_DIAMETER_RX_INTERFACENAME, PX_SIP_MW_PE_INTERFACENAME, PX_SIP_MM_B_PSAP_INTERFACENAME, // E-CSCF -> PSAP PX_SIP_ML_E_LRF_INTERFACENAME, // E-CSCF -> LRF PX_NGAP_N1N2_INTERFACENAME, PX_HTTP_N5_INTERFACENAME })){ var SipMessage v_sip; f_cf_create5GNRMonitor(); // map/connect component ports f_cf_adapter_up ( ); f_cf_user_up ( v_ueA ); f_cf_5GNRMonitor_Up(); // preamble f_mtc_userRadioEnabled ( v_ueA, true, true ); // UA-A trigger an initial network_attachment by enabling radio interface of its mobile // test body // Event 1,2 //f_mtc_check_TP_RTP_ECO_03(vc_5g_monitor_components.rtp, true); //Event 3 //f_mtc_check_TP_NGAP_GNB_MMP_01(vc_5g_monitor_components.ngap, true); //Event 8 //f_mtc_check_TP_NGAP_AMF_MMP_01(vc_5g_monitor_components.ngap, true); //Event 4 //f_mtc_check_TP_N26_AMF_01(vc_5g_monitor_components.n26, true); //Event 7 //f_mtc_check_TP_N26_AMF_02(vc_5g_monitor_components.n26, true); //Event 12,13 //f_mtc_check_TP_N26_AMF_03(vc_5g_monitor_components.n26, true); //Event 5 //f_mtc_check_TP_S1AP_MME_HAS_10(vc_5g_monitor_components.s1ap, true); //Event 6 //f_mtc_check_TP_S1AP_ENB_HAS_06(vc_5g_monitor_components.s1ap, true); //Event 11 //f_mtc_check_TP_S1AP_ENB_HAS_10(vc_5g_monitor_components.s1ap, true); //Event 14,15 //f_mtc_check_TP_RTP_ECO_03(vc_5g_monitor_components.rtp, true); // postamble f_mtc_userRadioEnabled ( v_ueA, false, true ); //unmap/disconnect component ports f_cf_user_down ( v_ueA ); f_cf_5GNRMonitor_Down(); f_cf_adapter_down ( ); }else{ //log... setverdict (inconc,"At least one required monitor interface SHALL be selected! Check PIXITs") } } // End of testcase TD_VoNR_EMC_INT_FB_01 }//End of group Emergency_Fallback5Gto4G } // End of module AtsIms5gIot_TD_FB5Gto4G Loading
ttcn/AtsIms5gIot/AtsIms5gIot_TD_FB5Gto4G.ttcn +71 −0 Original line number Diff line number Diff line Loading @@ -25,4 +25,75 @@ module AtsIms5gIot_TD_FB5Gto4G { import from AtsIms5gIot_TestSystem all; import from AtsIms5gIot_Functions all; group Emergency_Fallback5Gto4G { testcase TD_VoNR_EMC_INT_FB_01() runs on FiveGNRTestCoordinator system FiveGNRIotSystemInterface { var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser ( c_userUE_A_emergency ); var ImsUserInfo v_userInfoA := f_getSipUserId ( PX_EUT_A ); f_set5GNRMonIterfacesAvailability(); // Check required monitor interfaces due to TD if (f_check5GNRRequiredMonitorInterface({ PX_DIAMETER_RX_INTERFACENAME, PX_SIP_MW_PE_INTERFACENAME, PX_SIP_MM_B_PSAP_INTERFACENAME, // E-CSCF -> PSAP PX_SIP_ML_E_LRF_INTERFACENAME, // E-CSCF -> LRF PX_NGAP_N1N2_INTERFACENAME, PX_HTTP_N5_INTERFACENAME })){ var SipMessage v_sip; f_cf_create5GNRMonitor(); // map/connect component ports f_cf_adapter_up ( ); f_cf_user_up ( v_ueA ); f_cf_5GNRMonitor_Up(); // preamble f_mtc_userRadioEnabled ( v_ueA, true, true ); // UA-A trigger an initial network_attachment by enabling radio interface of its mobile // test body // Event 1,2 //f_mtc_check_TP_RTP_ECO_03(vc_5g_monitor_components.rtp, true); //Event 3 //f_mtc_check_TP_NGAP_GNB_MMP_01(vc_5g_monitor_components.ngap, true); //Event 8 //f_mtc_check_TP_NGAP_AMF_MMP_01(vc_5g_monitor_components.ngap, true); //Event 4 //f_mtc_check_TP_N26_AMF_01(vc_5g_monitor_components.n26, true); //Event 7 //f_mtc_check_TP_N26_AMF_02(vc_5g_monitor_components.n26, true); //Event 12,13 //f_mtc_check_TP_N26_AMF_03(vc_5g_monitor_components.n26, true); //Event 5 //f_mtc_check_TP_S1AP_MME_HAS_10(vc_5g_monitor_components.s1ap, true); //Event 6 //f_mtc_check_TP_S1AP_ENB_HAS_06(vc_5g_monitor_components.s1ap, true); //Event 11 //f_mtc_check_TP_S1AP_ENB_HAS_10(vc_5g_monitor_components.s1ap, true); //Event 14,15 //f_mtc_check_TP_RTP_ECO_03(vc_5g_monitor_components.rtp, true); // postamble f_mtc_userRadioEnabled ( v_ueA, false, true ); //unmap/disconnect component ports f_cf_user_down ( v_ueA ); f_cf_5GNRMonitor_Down(); f_cf_adapter_down ( ); }else{ //log... setverdict (inconc,"At least one required monitor interface SHALL be selected! Check PIXITs") } } // End of testcase TD_VoNR_EMC_INT_FB_01 }//End of group Emergency_Fallback5Gto4G } // End of module AtsIms5gIot_TD_FB5Gto4G