Loading AtsImsIot/AtsImsIot_Behavior.ttcn +45 −0 Original line number Diff line number Diff line Loading @@ -1713,6 +1713,51 @@ group checksTC_IMS_SS_0007 { } /** * @desc Starts monitor component behavior for TP_IMS_5117_06 * @param p_monitorCompRef Reference to monitor component */ function f_mtc_check_TP_IMS_5117_06_gm( ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ) runs on ImsTestCoordinator { p_monitorCompRef.start( f_imsIot_receive( {mw_SipResponse(mdw_2XX_Base)}, {}, {0, omit}, "TP_IMS_5117_06", false, p_checkMessage ) ); p_monitorCompRef.done; } /** * @desc Starts monitor component behavior for TP_IMS_5117_06 * @param p_monitorCompRef Reference to monitor component */ function f_mtc_check_TP_IMS_5117_06_mw( ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ) runs on ImsTestCoordinator { p_monitorCompRef.start( f_imsIot_receive( {mw_SipResponse(mw_TP_IMS_5117_06_mw)}, {mw_SipResponse(mdw_2XX_Base)}, {0, omit}, "TP_IMS_5117_06", false, p_checkMessage ) ); p_monitorCompRef.done; } /** * @desc Starts monitor component behavior for TP_IMS_5118_01 * @param p_monitorCompRef Reference to monitor component Loading AtsImsIot/AtsImsIot_Templates.ttcn +15 −0 Original line number Diff line number Diff line Loading @@ -455,6 +455,21 @@ module AtsImsIot_Templates { } } template Response mw_TP_IMS_5117_06_mw modifies mdw_2XX_Base := { msgHeader := { pAssertedID := { fieldName := P_ASSERTED_ID_E, pAssertedIDValueList := { *, { nameAddr := mw_NameAddr(mw_SIP_URI_Base)}, *, {nameAddr := mw_NameAddr(mw_TEL_URI_Base)}, * } } } } template Response mw_TP_IMS_5118_01_mw modifies mw_200OK_Base := { msgHeader := { pChargingVector := { Loading AtsImsIot/AtsImsIot_TestCases_MESS.ttcn +52 −0 Original line number Diff line number Diff line Loading @@ -124,4 +124,56 @@ module AtsImsIot_TestCases_MESS { f_cf_monitor_down(v_gmB); f_cf_monitor_down(v_mw); } /** * @desc * IMS network handles messaging with TEL URI identities correctly * (ETSI TS 186 011-2 V2.3.1 cause 4.5.4.1) */ testcase TC_IMS_MESS_0003() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); // map/connect component ports f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_monitor_up(v_gmA); f_cf_monitor_up(v_gmB); f_cf_monitor_up(v_mw); // preamble f_PR_user_home_registration(v_ueA, f_getTelUserId(PX_EUT_A)); f_PR_user_home_registration(v_ueB, f_getTelUserId(PX_EUT_B)); // test body f_mtc_userSendMessage(v_ueA, "test"); f_mtc_check_TP_IMS_5097_07_gm(v_gmA, false); f_mtc_check_TP_IMS_5097_07_mw(v_mw, false); f_mtc_userCheckMessageReceipt(v_ueB); f_mtc_check_TP_IMS_5117_02_gm(v_gmB, true);// message not removed from port queue f_mtc_check_TP_IMS_5118_01_gm(v_gmB, true);// message not removed from port queue f_mtc_check_TP_IMS_5117_06_gm(v_gmB, false);// message removed from port queue f_mtc_check_TP_IMS_5117_02_mw(v_mw, true);// message not removed from port queue f_mtc_check_TP_IMS_5118_01_mw(v_mw, true);// message not removed from port queue f_mtc_check_TP_IMS_5117_06_mw(v_mw, false);// message removed from port queue // postabmle f_PO_user_home_deregistration(v_ueA); f_PO_user_home_deregistration(v_ueB); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_monitor_down(v_gmA); f_cf_monitor_down(v_gmB); f_cf_monitor_down(v_mw); } } No newline at end of file Loading
AtsImsIot/AtsImsIot_Behavior.ttcn +45 −0 Original line number Diff line number Diff line Loading @@ -1713,6 +1713,51 @@ group checksTC_IMS_SS_0007 { } /** * @desc Starts monitor component behavior for TP_IMS_5117_06 * @param p_monitorCompRef Reference to monitor component */ function f_mtc_check_TP_IMS_5117_06_gm( ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ) runs on ImsTestCoordinator { p_monitorCompRef.start( f_imsIot_receive( {mw_SipResponse(mdw_2XX_Base)}, {}, {0, omit}, "TP_IMS_5117_06", false, p_checkMessage ) ); p_monitorCompRef.done; } /** * @desc Starts monitor component behavior for TP_IMS_5117_06 * @param p_monitorCompRef Reference to monitor component */ function f_mtc_check_TP_IMS_5117_06_mw( ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ) runs on ImsTestCoordinator { p_monitorCompRef.start( f_imsIot_receive( {mw_SipResponse(mw_TP_IMS_5117_06_mw)}, {mw_SipResponse(mdw_2XX_Base)}, {0, omit}, "TP_IMS_5117_06", false, p_checkMessage ) ); p_monitorCompRef.done; } /** * @desc Starts monitor component behavior for TP_IMS_5118_01 * @param p_monitorCompRef Reference to monitor component Loading
AtsImsIot/AtsImsIot_Templates.ttcn +15 −0 Original line number Diff line number Diff line Loading @@ -455,6 +455,21 @@ module AtsImsIot_Templates { } } template Response mw_TP_IMS_5117_06_mw modifies mdw_2XX_Base := { msgHeader := { pAssertedID := { fieldName := P_ASSERTED_ID_E, pAssertedIDValueList := { *, { nameAddr := mw_NameAddr(mw_SIP_URI_Base)}, *, {nameAddr := mw_NameAddr(mw_TEL_URI_Base)}, * } } } } template Response mw_TP_IMS_5118_01_mw modifies mw_200OK_Base := { msgHeader := { pChargingVector := { Loading
AtsImsIot/AtsImsIot_TestCases_MESS.ttcn +52 −0 Original line number Diff line number Diff line Loading @@ -124,4 +124,56 @@ module AtsImsIot_TestCases_MESS { f_cf_monitor_down(v_gmB); f_cf_monitor_down(v_mw); } /** * @desc * IMS network handles messaging with TEL URI identities correctly * (ETSI TS 186 011-2 V2.3.1 cause 4.5.4.1) */ testcase TC_IMS_MESS_0003() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); // map/connect component ports f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_monitor_up(v_gmA); f_cf_monitor_up(v_gmB); f_cf_monitor_up(v_mw); // preamble f_PR_user_home_registration(v_ueA, f_getTelUserId(PX_EUT_A)); f_PR_user_home_registration(v_ueB, f_getTelUserId(PX_EUT_B)); // test body f_mtc_userSendMessage(v_ueA, "test"); f_mtc_check_TP_IMS_5097_07_gm(v_gmA, false); f_mtc_check_TP_IMS_5097_07_mw(v_mw, false); f_mtc_userCheckMessageReceipt(v_ueB); f_mtc_check_TP_IMS_5117_02_gm(v_gmB, true);// message not removed from port queue f_mtc_check_TP_IMS_5118_01_gm(v_gmB, true);// message not removed from port queue f_mtc_check_TP_IMS_5117_06_gm(v_gmB, false);// message removed from port queue f_mtc_check_TP_IMS_5117_02_mw(v_mw, true);// message not removed from port queue f_mtc_check_TP_IMS_5118_01_mw(v_mw, true);// message not removed from port queue f_mtc_check_TP_IMS_5117_06_mw(v_mw, false);// message removed from port queue // postabmle f_PO_user_home_deregistration(v_ueA); f_PO_user_home_deregistration(v_ueB); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_monitor_down(v_gmA); f_cf_monitor_down(v_gmB); f_cf_monitor_down(v_mw); } } No newline at end of file