Loading AtsImsIot/AtsImsIot_Behavior.ttcn +15 −13 Original line number Diff line number Diff line Loading @@ -984,16 +984,14 @@ group checksTC_IMS_REG_0004 { * @param p_monitorCompRef Reference to monitor component */ function f_mtc_check_TP_IMS_5093_01_UE_mw( ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ImsInterfaceMonitor p_monitorCompRef, ImsUserInfo v_anyValidUser, boolean p_checkMessage ) runs on ImsTestCoordinator { var charstring v_hostname := "foo"; var integer PX_UE_B := 1; // TODO this is just temporary, UE PIXIT needs to be determined f_getUEHostname(PX_UE_B, v_hostname); // TODO needs recheck, maybe in more detail with userOrTelephoneSubscriber etc var template SipUrl v_request_uri := mw_SipUrl_Number(v_anyValidUser.publicId); p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mdw_TP_IMS_5093_01_UE_mw(?, mw_SIP_URI(v_hostname)))}, // TODO getHostname(PCSCF) how to hande the callid? {mw_SipRequest(mdw_TP_IMS_5093_01_UE_mw(?, v_request_uri))}, {mw_SipRequest(mw_NOTIFY_Request_Base(?))}, {0, omit}, "TP_IMS_5093_01_mw", Loading @@ -1012,13 +1010,12 @@ group checksTC_IMS_REG_0004 { ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ) runs on ImsTestCoordinator { var charstring v_hostname := "foo"; //f_getHostname(PX_EUT_A, "pcscf", v_hostname); // needs recheck var template SipUrl v_request_uri := mw_SipUrl_Host(f_GetEUTPcscfAddress(PX_EUT_A)); p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mdw_TP_IMS_5093_01_IMS_mw(?, mw_SIP_URI(v_hostname)))}, // TODO getHostname(PCSCF) how to hande the callid? {mw_SipRequest(mw_MESSAGE_Request_Base(?))}, {mw_SipRequest(mdw_TP_IMS_5093_01_IMS_mw(?, v_request_uri))}, {mw_SipRequest(mw_NOTIFY_Request_Base(?))}, {0, omit}, "TP_IMS_5093_01_mw", false, Loading @@ -1028,6 +1025,7 @@ group checksTC_IMS_REG_0004 { p_monitorCompRef.done; } } // end group group checksTC_IMS_REG_0006{ /** Loading @@ -1037,13 +1035,15 @@ group checksTC_IMS_REG_0004 { function f_mtc_check_TP_IMS_5094_01_UE(ImsInterfaceMonitor p_monitorCompRef) runs on ImsTestCoordinator { var template SipUrl v_request_uri := mw_SipUrl_Host(f_GetEUTPcscfAddress(PX_EUT_A)); var charstring v_hostname := "foo"; var integer PX_UE_B := 1; // TODO this is just temporary, UE PIXIT needs to be determined f_getUEHostname(PX_UE_B, v_hostname); // TODO needs recheck, maybe in more detail with userOrTelephoneSubscriber etc p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mdw_TP_IMS_5094_01_UE(?, mw_SIP_URI(v_hostname)))}, // TODO getHostname(PCSCF) how to hande the callid? {mw_SipRequest(mdw_TP_IMS_5094_01_UE(?, v_request_uri))}, // TODO getHostname(PCSCF) how to hande the callid? {mw_SipRequest(mw_MESSAGE_Request_Base(?))}, {0, omit}, "TP_IMS_5094_01_mw", Loading @@ -1061,12 +1061,14 @@ group checksTC_IMS_REG_0004 { function f_mtc_check_TP_IMS_5094_01_IMS(ImsInterfaceMonitor p_monitorCompRef) runs on ImsTestCoordinator { var template SipUrl v_request_uri := mw_SipUrl_Host(f_GetEUTPcscfAddress(PX_EUT_A)); var charstring v_hostname := "foo"; //f_getHostname(PX_EUT_A, "pcscf", v_hostname); // needs recheck p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mdw_TP_IMS_5094_01_IMS_mw(?, mw_SIP_URI(v_hostname)))}, // TODO getHostname(PCSCF) how to hande the callid? {mw_SipRequest(mdw_TP_IMS_5094_01_IMS_mw(?, v_request_uri))}, // TODO getHostname(PCSCF) how to hande the callid? {mw_SipRequest(mw_MESSAGE_Request_Base(?))}, {0, omit}, "TP_IMS_5094_01_mw", Loading AtsImsIot/AtsImsIot_Templates.ttcn +6 −20 Original line number Diff line number Diff line Loading @@ -905,24 +905,24 @@ module AtsImsIot_Templates { } template NOTIFY_Request mdw_TP_IMS_5093_01_UE_mw(template CallId p_callId, template SipUrl p_UE_SIP_URI) modifies mw_NOTIFY_Request_Base := { requestLine := { requestUri := p_UE_SIP_URI }, // TODO check if this is the UE_SIP_URI requestLine := { requestUri := p_UE_SIP_URI }, msgHeader := { event := { fieldName := EVENT_E, eventType := pattern "*reg*", // TODO check content eventType := pattern "*reg*", eventParams := *}, route := ? }, // TODO route header indicating the original Route_header from SUBSCRIBE route := ? }, // TODO route header indicating the original Route_header from SUBSCRIBE (SUBSCRIBE not defined in the test description) messageBody := ? // TODO } template NOTIFY_Request mdw_TP_IMS_5093_01_IMS_mw(template CallId p_callId, template SipUrl p_PCSCF_SIP_URI) modifies mw_NOTIFY_Request_Base := { requestLine := { requestUri := p_PCSCF_SIP_URI }, // TODO check if this is the P-CSCF_SIP_URI requestLine := { requestUri := p_PCSCF_SIP_URI }, msgHeader := { event := { fieldName := EVENT_E, eventType := pattern "*reg*", // TODO check content eventType := pattern "*reg*", eventParams := *}, route := ? }, // TODO route header indicating the original Route_header from SUBSCRIBE route := ? }, // TODO route header indicating the original Route_header from SUBSCRIBE (SUBSCRIBE not defined in the test description) messageBody := ? // TODO } Loading Loading @@ -1091,19 +1091,5 @@ module AtsImsIot_Templates { } //end group group config { template SipUrl mw_SIP_URI (charstring p_host):= { scheme := "sip", userInfo := *, hostPort := { host := p_host, portField := * }, urlParameters := *, headers := * } } // end group }//end module AtsImsIot/AtsImsIot_TestCases_REG.ttcn +1 −2 Original line number Diff line number Diff line Loading @@ -267,7 +267,6 @@ module AtsImsIot_TestCases_REG { * e.g., when a user runs out of credit * @see ETSI TS 186 011-2 V2.3.1 cause 4.5.2.7 */ // @TODO testcase TC_IMS_REG_0005() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); Loading @@ -284,7 +283,7 @@ module AtsImsIot_TestCases_REG { // IMS_B receives a network_originated_deregistration_event // Check1 when manually f_mtc_check_TP_IMS_5093_01_UE_mw(v_mw, false); // check1 then - 1st NOTIFY f_mtc_check_TP_IMS_5093_01_UE_mw(v_mw, v_anyValidUser, false); // check1 then - 1st NOTIFY f_mtc_check_TP_IMS_5093_01_IMS_mw(v_mw, false); // check1 then - 2nd NOTIFY f_mtc_userCheckNoRegistration(v_ueB, v_anyValidUser); // Test Sequence Step 2 - check that user is not registered anymore (de-registration) Loading Loading
AtsImsIot/AtsImsIot_Behavior.ttcn +15 −13 Original line number Diff line number Diff line Loading @@ -984,16 +984,14 @@ group checksTC_IMS_REG_0004 { * @param p_monitorCompRef Reference to monitor component */ function f_mtc_check_TP_IMS_5093_01_UE_mw( ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ImsInterfaceMonitor p_monitorCompRef, ImsUserInfo v_anyValidUser, boolean p_checkMessage ) runs on ImsTestCoordinator { var charstring v_hostname := "foo"; var integer PX_UE_B := 1; // TODO this is just temporary, UE PIXIT needs to be determined f_getUEHostname(PX_UE_B, v_hostname); // TODO needs recheck, maybe in more detail with userOrTelephoneSubscriber etc var template SipUrl v_request_uri := mw_SipUrl_Number(v_anyValidUser.publicId); p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mdw_TP_IMS_5093_01_UE_mw(?, mw_SIP_URI(v_hostname)))}, // TODO getHostname(PCSCF) how to hande the callid? {mw_SipRequest(mdw_TP_IMS_5093_01_UE_mw(?, v_request_uri))}, {mw_SipRequest(mw_NOTIFY_Request_Base(?))}, {0, omit}, "TP_IMS_5093_01_mw", Loading @@ -1012,13 +1010,12 @@ group checksTC_IMS_REG_0004 { ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ) runs on ImsTestCoordinator { var charstring v_hostname := "foo"; //f_getHostname(PX_EUT_A, "pcscf", v_hostname); // needs recheck var template SipUrl v_request_uri := mw_SipUrl_Host(f_GetEUTPcscfAddress(PX_EUT_A)); p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mdw_TP_IMS_5093_01_IMS_mw(?, mw_SIP_URI(v_hostname)))}, // TODO getHostname(PCSCF) how to hande the callid? {mw_SipRequest(mw_MESSAGE_Request_Base(?))}, {mw_SipRequest(mdw_TP_IMS_5093_01_IMS_mw(?, v_request_uri))}, {mw_SipRequest(mw_NOTIFY_Request_Base(?))}, {0, omit}, "TP_IMS_5093_01_mw", false, Loading @@ -1028,6 +1025,7 @@ group checksTC_IMS_REG_0004 { p_monitorCompRef.done; } } // end group group checksTC_IMS_REG_0006{ /** Loading @@ -1037,13 +1035,15 @@ group checksTC_IMS_REG_0004 { function f_mtc_check_TP_IMS_5094_01_UE(ImsInterfaceMonitor p_monitorCompRef) runs on ImsTestCoordinator { var template SipUrl v_request_uri := mw_SipUrl_Host(f_GetEUTPcscfAddress(PX_EUT_A)); var charstring v_hostname := "foo"; var integer PX_UE_B := 1; // TODO this is just temporary, UE PIXIT needs to be determined f_getUEHostname(PX_UE_B, v_hostname); // TODO needs recheck, maybe in more detail with userOrTelephoneSubscriber etc p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mdw_TP_IMS_5094_01_UE(?, mw_SIP_URI(v_hostname)))}, // TODO getHostname(PCSCF) how to hande the callid? {mw_SipRequest(mdw_TP_IMS_5094_01_UE(?, v_request_uri))}, // TODO getHostname(PCSCF) how to hande the callid? {mw_SipRequest(mw_MESSAGE_Request_Base(?))}, {0, omit}, "TP_IMS_5094_01_mw", Loading @@ -1061,12 +1061,14 @@ group checksTC_IMS_REG_0004 { function f_mtc_check_TP_IMS_5094_01_IMS(ImsInterfaceMonitor p_monitorCompRef) runs on ImsTestCoordinator { var template SipUrl v_request_uri := mw_SipUrl_Host(f_GetEUTPcscfAddress(PX_EUT_A)); var charstring v_hostname := "foo"; //f_getHostname(PX_EUT_A, "pcscf", v_hostname); // needs recheck p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mdw_TP_IMS_5094_01_IMS_mw(?, mw_SIP_URI(v_hostname)))}, // TODO getHostname(PCSCF) how to hande the callid? {mw_SipRequest(mdw_TP_IMS_5094_01_IMS_mw(?, v_request_uri))}, // TODO getHostname(PCSCF) how to hande the callid? {mw_SipRequest(mw_MESSAGE_Request_Base(?))}, {0, omit}, "TP_IMS_5094_01_mw", Loading
AtsImsIot/AtsImsIot_Templates.ttcn +6 −20 Original line number Diff line number Diff line Loading @@ -905,24 +905,24 @@ module AtsImsIot_Templates { } template NOTIFY_Request mdw_TP_IMS_5093_01_UE_mw(template CallId p_callId, template SipUrl p_UE_SIP_URI) modifies mw_NOTIFY_Request_Base := { requestLine := { requestUri := p_UE_SIP_URI }, // TODO check if this is the UE_SIP_URI requestLine := { requestUri := p_UE_SIP_URI }, msgHeader := { event := { fieldName := EVENT_E, eventType := pattern "*reg*", // TODO check content eventType := pattern "*reg*", eventParams := *}, route := ? }, // TODO route header indicating the original Route_header from SUBSCRIBE route := ? }, // TODO route header indicating the original Route_header from SUBSCRIBE (SUBSCRIBE not defined in the test description) messageBody := ? // TODO } template NOTIFY_Request mdw_TP_IMS_5093_01_IMS_mw(template CallId p_callId, template SipUrl p_PCSCF_SIP_URI) modifies mw_NOTIFY_Request_Base := { requestLine := { requestUri := p_PCSCF_SIP_URI }, // TODO check if this is the P-CSCF_SIP_URI requestLine := { requestUri := p_PCSCF_SIP_URI }, msgHeader := { event := { fieldName := EVENT_E, eventType := pattern "*reg*", // TODO check content eventType := pattern "*reg*", eventParams := *}, route := ? }, // TODO route header indicating the original Route_header from SUBSCRIBE route := ? }, // TODO route header indicating the original Route_header from SUBSCRIBE (SUBSCRIBE not defined in the test description) messageBody := ? // TODO } Loading Loading @@ -1091,19 +1091,5 @@ module AtsImsIot_Templates { } //end group group config { template SipUrl mw_SIP_URI (charstring p_host):= { scheme := "sip", userInfo := *, hostPort := { host := p_host, portField := * }, urlParameters := *, headers := * } } // end group }//end module
AtsImsIot/AtsImsIot_TestCases_REG.ttcn +1 −2 Original line number Diff line number Diff line Loading @@ -267,7 +267,6 @@ module AtsImsIot_TestCases_REG { * e.g., when a user runs out of credit * @see ETSI TS 186 011-2 V2.3.1 cause 4.5.2.7 */ // @TODO testcase TC_IMS_REG_0005() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); Loading @@ -284,7 +283,7 @@ module AtsImsIot_TestCases_REG { // IMS_B receives a network_originated_deregistration_event // Check1 when manually f_mtc_check_TP_IMS_5093_01_UE_mw(v_mw, false); // check1 then - 1st NOTIFY f_mtc_check_TP_IMS_5093_01_UE_mw(v_mw, v_anyValidUser, false); // check1 then - 1st NOTIFY f_mtc_check_TP_IMS_5093_01_IMS_mw(v_mw, false); // check1 then - 2nd NOTIFY f_mtc_userCheckNoRegistration(v_ueB, v_anyValidUser); // Test Sequence Step 2 - check that user is not registered anymore (de-registration) Loading