Loading AtsCommon/SipIsup_IMS_TCFunctions.ttcn +199 −8 Original line number Diff line number Diff line Loading @@ -10101,21 +10101,212 @@ module SipIsup_IMS_TCFunctions { } // end group TP509_CDIV group TP510_CW { /* @desc This is the test case function (SIP side) for TC_510_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_510_001(in CSeq p_cSeq_s) runs on ImsComponent { //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody // INVITE UE1 LibIms_Steps.f_setHeadersINVITE(vc_cSeq, c_userProfile_ISUP); f_SendINVITE(m_INVITE_Request_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, omit, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine180,vc_callId, vc_cSeq)); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());// sync 1 f_check_Ringing(); f_awaitingResponse(mw_Response_Base(c_statusLine200,vc_callId, vc_cSeq)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_check_Conversation(); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_510_001 /* * @desc This is the test case function (SIP side) for TC_510_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_510_002(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_510_001(p_cSeq_s); } // end function f_IMS_TC_510_002 } // end group TP510_CW group TP511_UUS { /* @desc This is the test case function (SIP side) for TC_511_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_511_001(in CSeq p_cSeq_s) runs on ImsComponent { //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody // INVITE UE1 LibIms_Steps.f_setHeadersINVITE(vc_cSeq, c_userProfile_ISUP); f_SendINVITE(m_INVITE_Request_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, omit, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine180,vc_callId, vc_cSeq)); f_check_Ringing(); f_awaitingResponse(mw_Response_Base(c_statusLine200,vc_callId, vc_cSeq)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_check_Conversation(); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());// sync 1 f_check_Conversation(); f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict());// sync 2 //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_511_001 /* * @desc This is the test case function (SIP side) for TC_511_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_511_002(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_511_001(p_cSeq_s); } // end function f_IMS_TC_511_002 /*TODO: 511_003 and 511_004 testcase functions **/ } // end group TP511_UUS group TP512_ECT { /* * @desc This is the test case function (SIP side) for TC_512_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_512_001(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_511_001(p_cSeq_s); } // end function f_IMS_TC_512_002 /* * @desc This is the test case function (SIP side) for TC_512_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_512_002(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_511_001(p_cSeq_s); } // end function f_IMS_TC_512_002 } // end group TP512_ECT group TP513_CCBS { /* * @desc This is the test case function (SIP side) for TC_513_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_513_001(in CSeq p_cSeq_s) runs on ImsComponent { //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody // INVITE UE1 LibIms_Steps.f_setHeadersINVITE(vc_cSeq, c_userProfile_ISUP); f_SendINVITE(m_INVITE_Request_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, omit, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine486,vc_callId, vc_cSeq)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_513_001 } // end group TP513_CCBS group TP514_CCNR { /* * @desc This is the test case function (SIP side) for TC_514_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_514_001(in CSeq p_cSeq_s) runs on ImsComponent { //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody // INVITE UE1 LibIms_Steps.f_setHeadersINVITE(vc_cSeq, c_userProfile_ISUP); f_SendINVITE(m_INVITE_Request_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, omit, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine180,vc_callId, vc_cSeq)); f_check_Ringing(); f_awaitingResponse(mw_Response_Base(c_statusLine200,vc_callId, vc_cSeq)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_check_Conversation(); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_514_001 } // end group TP514_CCNR group TP515_ACR { /* * @desc This is the test case function (SIP side) for TC_515_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_515_001(in CSeq p_cSeq_s) runs on ImsComponent { //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody // INVITE UE1 LibIms_Steps.f_setHeadersINVITE(vc_cSeq, c_userProfile_ISUP); f_SendINVITE(m_INVITE_Request_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, omit, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Reason(c_statusLine603,vc_callId, vc_cSeq,24)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_515_001 } //end group TP515_ACR group TP516_CUG { Loading Loading @@ -10148,8 +10339,8 @@ module SipIsup_IMS_TCFunctions { f_check_Conversation(); //Send BYE and awaiting response f_terminateCall_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); Loading Loading @@ -10184,8 +10375,8 @@ module SipIsup_IMS_TCFunctions { f_check_Conversation(); //Send BYE and awaiting response f_terminateCall_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); Loading Loading @@ -10220,8 +10411,8 @@ module SipIsup_IMS_TCFunctions { f_check_Conversation(); //Send BYE and awaiting response f_terminateCall_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); Loading Loading @@ -10256,8 +10447,8 @@ module SipIsup_IMS_TCFunctions { f_check_Conversation(); //Send BYE and awaiting response f_terminateCall_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); Loading Loading
AtsCommon/SipIsup_IMS_TCFunctions.ttcn +199 −8 Original line number Diff line number Diff line Loading @@ -10101,21 +10101,212 @@ module SipIsup_IMS_TCFunctions { } // end group TP509_CDIV group TP510_CW { /* @desc This is the test case function (SIP side) for TC_510_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_510_001(in CSeq p_cSeq_s) runs on ImsComponent { //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody // INVITE UE1 LibIms_Steps.f_setHeadersINVITE(vc_cSeq, c_userProfile_ISUP); f_SendINVITE(m_INVITE_Request_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, omit, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine180,vc_callId, vc_cSeq)); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());// sync 1 f_check_Ringing(); f_awaitingResponse(mw_Response_Base(c_statusLine200,vc_callId, vc_cSeq)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_check_Conversation(); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_510_001 /* * @desc This is the test case function (SIP side) for TC_510_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_510_002(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_510_001(p_cSeq_s); } // end function f_IMS_TC_510_002 } // end group TP510_CW group TP511_UUS { /* @desc This is the test case function (SIP side) for TC_511_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_511_001(in CSeq p_cSeq_s) runs on ImsComponent { //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody // INVITE UE1 LibIms_Steps.f_setHeadersINVITE(vc_cSeq, c_userProfile_ISUP); f_SendINVITE(m_INVITE_Request_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, omit, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine180,vc_callId, vc_cSeq)); f_check_Ringing(); f_awaitingResponse(mw_Response_Base(c_statusLine200,vc_callId, vc_cSeq)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_check_Conversation(); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict());// sync 1 f_check_Conversation(); f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict());// sync 2 //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_511_001 /* * @desc This is the test case function (SIP side) for TC_511_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_511_002(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_511_001(p_cSeq_s); } // end function f_IMS_TC_511_002 /*TODO: 511_003 and 511_004 testcase functions **/ } // end group TP511_UUS group TP512_ECT { /* * @desc This is the test case function (SIP side) for TC_512_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_512_001(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_511_001(p_cSeq_s); } // end function f_IMS_TC_512_002 /* * @desc This is the test case function (SIP side) for TC_512_002 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_512_002(in CSeq p_cSeq_s) runs on ImsComponent { f_IMS_TC_511_001(p_cSeq_s); } // end function f_IMS_TC_512_002 } // end group TP512_ECT group TP513_CCBS { /* * @desc This is the test case function (SIP side) for TC_513_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_513_001(in CSeq p_cSeq_s) runs on ImsComponent { //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody // INVITE UE1 LibIms_Steps.f_setHeadersINVITE(vc_cSeq, c_userProfile_ISUP); f_SendINVITE(m_INVITE_Request_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, omit, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine486,vc_callId, vc_cSeq)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_513_001 } // end group TP513_CCBS group TP514_CCNR { /* * @desc This is the test case function (SIP side) for TC_514_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_514_001(in CSeq p_cSeq_s) runs on ImsComponent { //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody // INVITE UE1 LibIms_Steps.f_setHeadersINVITE(vc_cSeq, c_userProfile_ISUP); f_SendINVITE(m_INVITE_Request_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, omit, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine180,vc_callId, vc_cSeq)); f_check_Ringing(); f_awaitingResponse(mw_Response_Base(c_statusLine200,vc_callId, vc_cSeq)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_check_Conversation(); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_514_001 } // end group TP514_CCNR group TP515_ACR { /* * @desc This is the test case function (SIP side) for TC_515_001 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_515_001(in CSeq p_cSeq_s) runs on ImsComponent { //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody // INVITE UE1 LibIms_Steps.f_setHeadersINVITE(vc_cSeq, c_userProfile_ISUP); f_SendINVITE(m_INVITE_Request_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, omit, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Reason(c_statusLine603,vc_callId, vc_cSeq,24)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_515_001 } //end group TP515_ACR group TP516_CUG { Loading Loading @@ -10148,8 +10339,8 @@ module SipIsup_IMS_TCFunctions { f_check_Conversation(); //Send BYE and awaiting response f_terminateCall_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); Loading Loading @@ -10184,8 +10375,8 @@ module SipIsup_IMS_TCFunctions { f_check_Conversation(); //Send BYE and awaiting response f_terminateCall_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); Loading Loading @@ -10220,8 +10411,8 @@ module SipIsup_IMS_TCFunctions { f_check_Conversation(); //Send BYE and awaiting response f_terminateCall_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); Loading Loading @@ -10256,8 +10447,8 @@ module SipIsup_IMS_TCFunctions { f_check_Conversation(); //Send BYE and awaiting response f_terminateCall_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To); //await BYE and send 200 OK f_awaitingBYE_sendReply(mw_BYE_Request_Base(vc_callId)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); Loading