Commit 9057e88d authored by Iztok Juvancic's avatar Iztok Juvancic
Browse files

addedt td's

parent 39c9cf6f
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
@@ -170,9 +170,52 @@ module AtsIms5gIot_TD_5GREG {
                }
            } // End of testcase TD_VoNR_ECO_RMI_5RG_01

            // To perform UE emergency 5G registration to the network with USIM and establish an emergency PDU session
            testcase TD_VoNR_ECO_RMI_5RG_02() 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_GX_INTERFACENAME,
                                                        PX_DIAMETER_S6A_INTERFACENAME,
                                                        PX_NGAP_N1N2_INTERFACENAME,
                                                        PX_HTTP_N5_INTERFACENAME
                                                        })){
                    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
                    // Step 1, 2
                    f_mtc_check_TP_N1N2_AMF_ECO_REG_02(vc_5g_monitor_components.ngap, true);
                    // Step 3
                    f_mtc_check_TP_N1N2_AMF_ECO_PDUE_01(vc_5g_monitor_components.ngap, 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_ECO_RMI_5RG_02

        } // End of group Network_5G_RegistrationRoaming


    } // End of group Interoperability  

} // End of module AtsIms5gIot_TD_5GREG