Loading BC/ttcn/AtsIms_Mw_TCFunctions.ttcn +22 −31 Original line number Diff line number Diff line Loading @@ -2769,38 +2769,36 @@ module AtsIms_Mw_TCFunctions * @desc This is the test case function for f_TC_IMST2_MW_INI_06_UE1 * @param p_cSeq_s */ function f_TC_IMST2_MW_INI_06_UE1(in CSeq p_cSeq_s) runs on ImsComponent { function f_TC_IMST2_MW_INI_06_UE1 ( in CSeq p_cSeq_s, template SecurityClient p_secClient, template SecurityVerify p_secVerify ) runs on ImsComponent { var REGISTER_Request v_register; var template RouteBody v_routeBody; v_register := valueof(m_REGISTER_Request_UE(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization, m_proxyRequire_secAgree, m_require_secAgree, m_securityClient({PX_SecAka}), m_securityVerify({PX_SecAka}) ,omit)); //LibIms v_register := valueof ( m_REGISTER_Request_UE ( vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization, m_proxyRequire_secAgree, m_require_secAgree, p_secClient, p_secVerify, omit )); v_routeBody := mw_routeBody ( mw_SipUrl_Host ( ( PX_IMS_SUT_PCSCF1_IPADDR, PX_IMS_SUT_PCSCF1_HOME_DOMAIN ) )); // preamble with send REGISTER, await 401, send REGISTER, await 200 OK and user profile setting f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome, p_cSeq_s, v_register); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY // TESTBODY // prepare and send INVITE UE@TS LibIms_Steps.f_setHeadersINVITE(p_cSeq_s, c_userProfile_ICSCFwithHomeUE); f_SendINVITE(m_INVITE_Request_UE(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via, vc_contact, omit, vc_route_REG, omit, m_MBody_SDP(vc_sdp_local))); // await response - 180 ... f_awaitingResponse(mw_Response_Base(c_statusLine180,vc_callId, vc_cSeq)); //TODO check for Record Route header when sec. association will be known f_awaitingResponse ( mw_Response_RecordRoute ( ( c_statusLine180 ), vc_callId, vc_cSeq, mw_recordroute ( v_routeBody ) )); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done // POSTAMBLE // POSTAMBLE // await response f_awaitingResponse(?); // send ACK LibSip_Steps.f_setHeadersACK(); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); // send REGISTER, await 401, send REGISTER, await 200 OK f_RemoveRegistration(vc_cSeq); // deregistration in SUT f_SIP_postamble_UE1_withoutRegistration(); } // end function f_TC_IMST2_MW_INI_06_UE1 /* Loading Loading @@ -2842,38 +2840,35 @@ module AtsIms_Mw_TCFunctions * @desc This is the test case function for f_TC_IMST2_MW_INI_07_UE1 * @param p_cSeq_s */ function f_TC_IMST2_MW_INI_07_UE1(in CSeq p_cSeq_s) runs on ImsComponent { function f_TC_IMST2_MW_INI_07_UE1 ( in CSeq p_cSeq_s, template SecurityClient p_secClient, template SecurityVerify p_secVerify ) runs on ImsComponent { var REGISTER_Request v_register; v_register := valueof(m_REGISTER_Request_UE(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization, m_proxyRequire_secAgree, m_require_secAgree, m_securityClient({PX_SecAka}), m_securityVerify({PX_SecAka}) ,omit)); //LibIms v_register := valueof ( m_REGISTER_Request_UE ( vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization, m_proxyRequire_secAgree, m_require_secAgree, p_secClient, p_secVerify, omit )); // preamble with send REGISTER, await 401, send REGISTER, await 200 OK and user profile setting f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome, p_cSeq_s, v_register); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY // TESTBODY // prepare and send INVITE UE@TS LibIms_Steps.f_setHeadersINVITE(p_cSeq_s, c_userProfile_ICSCFwithHomeUE); f_SendINVITE(m_INVITE_Request_UE(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via, vc_contact, omit, vc_route_REG, omit, m_MBody_SDP(vc_sdp_local))); // await response - 200 ... f_awaitingResponse(mw_Response_Base(c_statusLine200,vc_callId, vc_cSeq)); // send ACK LibSip_Steps.f_setHeadersACK(); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); //TODO check for Record Route header when sec. association will be known f_SendACK ( m_ACK_Request_route ( vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_route )); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done // POSTAMBLE // POSTAMBLE // send BYE await response f_terminateCall_UE(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To); // send REGISTER, await 401, send REGISTER, await 200 OK f_RemoveRegistration(vc_cSeq); // deregistration in SUT f_SIP_postamble_UE1_withoutRegistration(); } // end function f_TC_IMST2_MW_INI_07_UE1 /* Loading Loading @@ -6358,9 +6353,7 @@ module AtsIms_Mw_TCFunctions * @param p_cSeq_s */ function f_TC_IMST2_MW_EME_07_UE1(in CSeq p_cSeq_s) runs on ImsComponent { f_TC_IMST2_MW_EME_03_UE1(p_cSeq_s); } // end function f_TC_IMST2_MW_EME_07_UE1 /* Loading Loading @@ -6410,9 +6403,7 @@ module AtsIms_Mw_TCFunctions * @param p_cSeq_s */ function f_TC_IMST2_MW_EME_10_UE1(in CSeq p_cSeq_s) runs on ImsComponent { f_TC_IMST2_MW_EME_06_UE1(p_cSeq_s); } // end function f_TC_IMST2_MW_EME_10_UE1 /* Loading BC/ttcn/AtsIms_Mw_Testcases.ttcn +4 −4 Original line number Diff line number Diff line Loading @@ -1063,14 +1063,14 @@ module AtsIms_Mw_Testcases f_cf_1Mwi1Gm_M4aUp(v_imsComponent_ue1, v_imsComponent_mw); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_TC_IMST2_MW_INI_06_UE1(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_TC_IMST2_MW_INI_06_UE1 ( p_cSeq_s, m_securityClient ({ PX_SecAka }), m_securityVerify ({ PX_SecAka } ))); f_IncCSeq(p_cSeq_s); v_imsComponent_mw.start(f_TC_IMST2_MW_INI_06_IMS(p_cSeq_s)); // synchronize both PTCs on 2 sychronization points f_serverSync2Clients({c_prDone, c_tbDone}); f_cf_1Mwi1Gm_M4aDown(v_imsComponent_ue1, v_imsComponent_mw); } // end TC_IMST2_MW_INI_06 /* @desc TC_IMST2_MW_INI_07 / Config Ref: CF_1Mw1Gm UserProfileRef: M4a Loading @@ -1084,14 +1084,14 @@ module AtsIms_Mw_Testcases f_cf_1Mwi1Gm_M4aUp(v_imsComponent_ue1, v_imsComponent_mw); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_TC_IMST2_MW_INI_07_UE1(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_TC_IMST2_MW_INI_07_UE1 ( p_cSeq_s, m_securityClient ({ PX_SecAka }), m_securityVerify ({ PX_SecAka } ))); f_IncCSeq(p_cSeq_s); v_imsComponent_mw.start(f_TC_IMST2_MW_INI_07_IMS(p_cSeq_s)); // synchronize both PTCs on 2 sychronization points f_serverSync2Clients({c_prDone, c_tbDone}); f_cf_1Mwi1Gm_M4aDown(v_imsComponent_ue1, v_imsComponent_mw); } // end TC_IMST2_MW_INI_07 /* @desc TC_IMST2_MW_INI_08 / Config Ref: CF_1Mw1Gm UserProfileRef: M4b Loading Loading
BC/ttcn/AtsIms_Mw_TCFunctions.ttcn +22 −31 Original line number Diff line number Diff line Loading @@ -2769,38 +2769,36 @@ module AtsIms_Mw_TCFunctions * @desc This is the test case function for f_TC_IMST2_MW_INI_06_UE1 * @param p_cSeq_s */ function f_TC_IMST2_MW_INI_06_UE1(in CSeq p_cSeq_s) runs on ImsComponent { function f_TC_IMST2_MW_INI_06_UE1 ( in CSeq p_cSeq_s, template SecurityClient p_secClient, template SecurityVerify p_secVerify ) runs on ImsComponent { var REGISTER_Request v_register; var template RouteBody v_routeBody; v_register := valueof(m_REGISTER_Request_UE(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization, m_proxyRequire_secAgree, m_require_secAgree, m_securityClient({PX_SecAka}), m_securityVerify({PX_SecAka}) ,omit)); //LibIms v_register := valueof ( m_REGISTER_Request_UE ( vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization, m_proxyRequire_secAgree, m_require_secAgree, p_secClient, p_secVerify, omit )); v_routeBody := mw_routeBody ( mw_SipUrl_Host ( ( PX_IMS_SUT_PCSCF1_IPADDR, PX_IMS_SUT_PCSCF1_HOME_DOMAIN ) )); // preamble with send REGISTER, await 401, send REGISTER, await 200 OK and user profile setting f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome, p_cSeq_s, v_register); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY // TESTBODY // prepare and send INVITE UE@TS LibIms_Steps.f_setHeadersINVITE(p_cSeq_s, c_userProfile_ICSCFwithHomeUE); f_SendINVITE(m_INVITE_Request_UE(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via, vc_contact, omit, vc_route_REG, omit, m_MBody_SDP(vc_sdp_local))); // await response - 180 ... f_awaitingResponse(mw_Response_Base(c_statusLine180,vc_callId, vc_cSeq)); //TODO check for Record Route header when sec. association will be known f_awaitingResponse ( mw_Response_RecordRoute ( ( c_statusLine180 ), vc_callId, vc_cSeq, mw_recordroute ( v_routeBody ) )); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done // POSTAMBLE // POSTAMBLE // await response f_awaitingResponse(?); // send ACK LibSip_Steps.f_setHeadersACK(); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); // send REGISTER, await 401, send REGISTER, await 200 OK f_RemoveRegistration(vc_cSeq); // deregistration in SUT f_SIP_postamble_UE1_withoutRegistration(); } // end function f_TC_IMST2_MW_INI_06_UE1 /* Loading Loading @@ -2842,38 +2840,35 @@ module AtsIms_Mw_TCFunctions * @desc This is the test case function for f_TC_IMST2_MW_INI_07_UE1 * @param p_cSeq_s */ function f_TC_IMST2_MW_INI_07_UE1(in CSeq p_cSeq_s) runs on ImsComponent { function f_TC_IMST2_MW_INI_07_UE1 ( in CSeq p_cSeq_s, template SecurityClient p_secClient, template SecurityVerify p_secVerify ) runs on ImsComponent { var REGISTER_Request v_register; v_register := valueof(m_REGISTER_Request_UE(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization, m_proxyRequire_secAgree, m_require_secAgree, m_securityClient({PX_SecAka}), m_securityVerify({PX_SecAka}) ,omit)); //LibIms v_register := valueof ( m_REGISTER_Request_UE ( vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization, m_proxyRequire_secAgree, m_require_secAgree, p_secClient, p_secVerify, omit )); // preamble with send REGISTER, await 401, send REGISTER, await 200 OK and user profile setting f_IMS_preamble_withRegistration(c_userProfile_UE1atSUThome, p_cSeq_s, v_register); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY // TESTBODY // prepare and send INVITE UE@TS LibIms_Steps.f_setHeadersINVITE(p_cSeq_s, c_userProfile_ICSCFwithHomeUE); f_SendINVITE(m_INVITE_Request_UE(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via, vc_contact, omit, vc_route_REG, omit, m_MBody_SDP(vc_sdp_local))); // await response - 200 ... f_awaitingResponse(mw_Response_Base(c_statusLine200,vc_callId, vc_cSeq)); // send ACK LibSip_Steps.f_setHeadersACK(); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); //TODO check for Record Route header when sec. association will be known f_SendACK ( m_ACK_Request_route ( vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_route )); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done // POSTAMBLE // POSTAMBLE // send BYE await response f_terminateCall_UE(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To); // send REGISTER, await 401, send REGISTER, await 200 OK f_RemoveRegistration(vc_cSeq); // deregistration in SUT f_SIP_postamble_UE1_withoutRegistration(); } // end function f_TC_IMST2_MW_INI_07_UE1 /* Loading Loading @@ -6358,9 +6353,7 @@ module AtsIms_Mw_TCFunctions * @param p_cSeq_s */ function f_TC_IMST2_MW_EME_07_UE1(in CSeq p_cSeq_s) runs on ImsComponent { f_TC_IMST2_MW_EME_03_UE1(p_cSeq_s); } // end function f_TC_IMST2_MW_EME_07_UE1 /* Loading Loading @@ -6410,9 +6403,7 @@ module AtsIms_Mw_TCFunctions * @param p_cSeq_s */ function f_TC_IMST2_MW_EME_10_UE1(in CSeq p_cSeq_s) runs on ImsComponent { f_TC_IMST2_MW_EME_06_UE1(p_cSeq_s); } // end function f_TC_IMST2_MW_EME_10_UE1 /* Loading
BC/ttcn/AtsIms_Mw_Testcases.ttcn +4 −4 Original line number Diff line number Diff line Loading @@ -1063,14 +1063,14 @@ module AtsIms_Mw_Testcases f_cf_1Mwi1Gm_M4aUp(v_imsComponent_ue1, v_imsComponent_mw); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_TC_IMST2_MW_INI_06_UE1(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_TC_IMST2_MW_INI_06_UE1 ( p_cSeq_s, m_securityClient ({ PX_SecAka }), m_securityVerify ({ PX_SecAka } ))); f_IncCSeq(p_cSeq_s); v_imsComponent_mw.start(f_TC_IMST2_MW_INI_06_IMS(p_cSeq_s)); // synchronize both PTCs on 2 sychronization points f_serverSync2Clients({c_prDone, c_tbDone}); f_cf_1Mwi1Gm_M4aDown(v_imsComponent_ue1, v_imsComponent_mw); } // end TC_IMST2_MW_INI_06 /* @desc TC_IMST2_MW_INI_07 / Config Ref: CF_1Mw1Gm UserProfileRef: M4a Loading @@ -1084,14 +1084,14 @@ module AtsIms_Mw_Testcases f_cf_1Mwi1Gm_M4aUp(v_imsComponent_ue1, v_imsComponent_mw); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_TC_IMST2_MW_INI_07_UE1(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_TC_IMST2_MW_INI_07_UE1 ( p_cSeq_s, m_securityClient ({ PX_SecAka }), m_securityVerify ({ PX_SecAka } ))); f_IncCSeq(p_cSeq_s); v_imsComponent_mw.start(f_TC_IMST2_MW_INI_07_IMS(p_cSeq_s)); // synchronize both PTCs on 2 sychronization points f_serverSync2Clients({c_prDone, c_tbDone}); f_cf_1Mwi1Gm_M4aDown(v_imsComponent_ue1, v_imsComponent_mw); } // end TC_IMST2_MW_INI_07 /* @desc TC_IMST2_MW_INI_08 / Config Ref: CF_1Mw1Gm UserProfileRef: M4b Loading