Loading BC/ttcn/AtsIms_Gm_TCFunctions.ttcn +28 −14 Original line number Diff line number Diff line Loading @@ -269,16 +269,37 @@ module AtsIms_Gm_TCFunctions { function f_TC_IMST2_GM_REG_05_UE1(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_preamble_woRegistration(c_userProfile_UE1atSUThome, p_cSeq_s); // assignment of PIXIT // values to component // variable f_setHeaders_REGISTER(p_cSeq_s); f_SendREGISTER(m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip f_awaitingResponse(mw_Response_Base(c_statusLine401, *, p_cSeq_s)); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync // point // preamble // done // TESTBODY // TODO write test body f_setHeadersOnReceiptOfResponse(p_cSeq_s, vc_response); // set headers via, cseq and authorization (invalid private user identiy) LibIms_Steps.f_init_userprofile(c_userProfile_IBCFwithUnknownUE); // invalid f_setHeaders_2ndREGISTER_authorizationWithDifferentUserName(); LibIms_Steps.f_init_userprofile(c_userProfile_UE1atSUThome); // restore valid // Re-send protected REGISTER f_SendREGISTER(m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization));//LibSip f_awaitingResponse(mw_Response_Base(c_statusLine401, *, p_cSeq_s)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync // point // test Loading @@ -290,6 +311,7 @@ module AtsIms_Gm_TCFunctions { // postamble // done f_SIP_postamble_UE1_withoutRegistration(); } // end function f_Sip_TC_IMST2_GM_REG_05_UE1 /* Loading @@ -304,26 +326,17 @@ module AtsIms_Gm_TCFunctions { // values to component // variable f_SendREGISTER(m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip f_awaitingResponse(mw_Response_Base(c_statusLine401, *, p_cSeq_s)); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync // point // preamble // done // TESTBODY f_setHeadersOnReceiptOfResponse(p_cSeq_s, vc_response); // set headers via, cseq and authorization (invalid private user identiy) LibIms_Steps.f_init_userprofile(c_userProfile_IBCFwithUnknownUE); // invalid f_setHeaders_2ndREGISTER_authorizationWithDifferentUserName(); f_setHeaders_REGISTER(p_cSeq_s); LibIms_Steps.f_init_userprofile(c_userProfile_UE1atSUThome); // restore valid // Re-send protected REGISTER // send protected REGISTER f_SendREGISTER(m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization));//LibSip f_awaitingResponse(mw_Response_Base(c_statusLine401, *, Loading @@ -340,6 +353,7 @@ module AtsIms_Gm_TCFunctions { // postamble // done f_SIP_postamble_UE1_withoutRegistration(); } // end function f_Sip_TC_IMST2_GM_REG_06_UE1 /* Loading Loading @@ -394,7 +408,7 @@ module AtsIms_Gm_TCFunctions { p_cSeq_s); // assignment of PIXIT // values to component // variable f_setHeaders_REGISTER(p_cSeq_s); f_SendREGISTER(m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, Loading Loading
BC/ttcn/AtsIms_Gm_TCFunctions.ttcn +28 −14 Original line number Diff line number Diff line Loading @@ -269,16 +269,37 @@ module AtsIms_Gm_TCFunctions { function f_TC_IMST2_GM_REG_05_UE1(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_preamble_woRegistration(c_userProfile_UE1atSUThome, p_cSeq_s); // assignment of PIXIT // values to component // variable f_setHeaders_REGISTER(p_cSeq_s); f_SendREGISTER(m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip f_awaitingResponse(mw_Response_Base(c_statusLine401, *, p_cSeq_s)); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync // point // preamble // done // TESTBODY // TODO write test body f_setHeadersOnReceiptOfResponse(p_cSeq_s, vc_response); // set headers via, cseq and authorization (invalid private user identiy) LibIms_Steps.f_init_userprofile(c_userProfile_IBCFwithUnknownUE); // invalid f_setHeaders_2ndREGISTER_authorizationWithDifferentUserName(); LibIms_Steps.f_init_userprofile(c_userProfile_UE1atSUThome); // restore valid // Re-send protected REGISTER f_SendREGISTER(m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization));//LibSip f_awaitingResponse(mw_Response_Base(c_statusLine401, *, p_cSeq_s)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync // point // test Loading @@ -290,6 +311,7 @@ module AtsIms_Gm_TCFunctions { // postamble // done f_SIP_postamble_UE1_withoutRegistration(); } // end function f_Sip_TC_IMST2_GM_REG_05_UE1 /* Loading @@ -304,26 +326,17 @@ module AtsIms_Gm_TCFunctions { // values to component // variable f_SendREGISTER(m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization)); // LibSip f_awaitingResponse(mw_Response_Base(c_statusLine401, *, p_cSeq_s)); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync // point // preamble // done // TESTBODY f_setHeadersOnReceiptOfResponse(p_cSeq_s, vc_response); // set headers via, cseq and authorization (invalid private user identiy) LibIms_Steps.f_init_userprofile(c_userProfile_IBCFwithUnknownUE); // invalid f_setHeaders_2ndREGISTER_authorizationWithDifferentUserName(); f_setHeaders_REGISTER(p_cSeq_s); LibIms_Steps.f_init_userprofile(c_userProfile_UE1atSUThome); // restore valid // Re-send protected REGISTER // send protected REGISTER f_SendREGISTER(m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization));//LibSip f_awaitingResponse(mw_Response_Base(c_statusLine401, *, Loading @@ -340,6 +353,7 @@ module AtsIms_Gm_TCFunctions { // postamble // done f_SIP_postamble_UE1_withoutRegistration(); } // end function f_Sip_TC_IMST2_GM_REG_06_UE1 /* Loading Loading @@ -394,7 +408,7 @@ module AtsIms_Gm_TCFunctions { p_cSeq_s); // assignment of PIXIT // values to component // variable f_setHeaders_REGISTER(p_cSeq_s); f_SendREGISTER(m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, Loading