Loading AtsCommon/SipIsup_IMS_TCFunctions.ttcn +166 −30 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ module SipIsup_IMS_TCFunctions { */ function f_IMS_TC_101_001(in CSeq p_cSeq_s) runs on ImsComponent { //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody Loading Loading @@ -89,7 +89,7 @@ module SipIsup_IMS_TCFunctions { }); //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody Loading Loading @@ -139,7 +139,7 @@ module SipIsup_IMS_TCFunctions { }); //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody Loading Loading @@ -173,7 +173,7 @@ module SipIsup_IMS_TCFunctions { */ function f_IMS_TC_101_004(in CSeq p_cSeq_s) runs on ImsComponent { var SDP_attribute_list v_attribute_list := valueof({ m_attribute_PCMU, var SDP_attribute_list v_attribute_list_invite := valueof({ m_attribute_PCMU, m_attribute_curr(c_qos, c_local, c_none), m_attribute_curr(c_qos, c_remote, c_none), m_attribute_des(c_qos, c_mandatory, c_local, c_sendrecv), Loading @@ -187,15 +187,15 @@ module SipIsup_IMS_TCFunctions { }); //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable 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 vc_sdp_local := valueof(m_SDP_media_attr_preconditions(valueof(m_media_dynPT(PX_SIP_SDP_dyn, PX_SIP_SDP_encoding)), vc_userprofile, v_attribute_list)); vc_sdp_local := valueof(m_SDP_media_attr_preconditions(valueof(m_media_dynPT(PX_SIP_SDP_dyn, PX_SIP_SDP_encoding)), vc_userprofile, v_attribute_list_invite)); 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, m_Supported_100rel_prec, omit, m_MBody_SDP(vc_sdp_local))); f_SendINVITE(m_INVITE_Request_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, m_Require_prec, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); vc_iut_CSeq := vc_cSeq; f_awaitingResponse(mw_Response_Base(c_statusLine183,vc_callId, vc_cSeq)); Loading @@ -208,18 +208,35 @@ module SipIsup_IMS_TCFunctions { ) ) {setverdict(fail); log("FAIL: Attribute in 183 does not match");} log("FAIL: Attribute in 183 Session Progress does not match");} if (not match(vc_response.msgHeader.require, valueof(m_Require_100rel))) {setverdict(fail); log("FAIL: Require header field does not contain option tag precondition");} LibIms_Steps.f_setHeadersPRACK(vc_cSeq); f_SendPRACK(m_PRACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_rAck)); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq)); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); vc_sdp_local := valueof(m_SDP_media_attr_preconditions(valueof(m_media_dynPT(PX_SIP_SDP_dyn, PX_SIP_SDP_encoding)), vc_userprofile, v_attribute_list_update)); f_SendUPDATE(m_UPDATE_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq)); if (not(f_check_attribute(vc_sdp_remote, m_attribute_curr(c_qos, c_local, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_curr(c_qos, c_remote, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_des(c_qos, c_mandatory, c_local, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_des(c_qos, c_mandatory, c_remote, c_sendrecv)) ) ) {setverdict(fail); log("FAIL: Attribute in 200 OK UPDATE does not match");} f_awaitingResponse(mw_Response_Base(c_statusLine180, vc_callId, vc_iut_CSeq)); f_SendPRACK(m_PRACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_rAck)); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq)); f_check_Ringing(); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_iut_CSeq)); Loading @@ -236,6 +253,125 @@ module SipIsup_IMS_TCFunctions { f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_101_004 /* * @desc This is the test case function (SIP side) for TC_101_005 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_101_005(in CSeq p_cSeq_s) runs on ImsComponent { var SDP_attribute_list v_attribute_list_invite := valueof({ m_attribute_PCMU, m_attribute_curr(c_qos, c_local, c_none), m_attribute_curr(c_qos, c_remote, c_none), m_attribute_des(c_qos, c_mandatory, c_local, c_sendrecv), m_attribute_des(c_qos, c_none, c_remote, c_sendrecv) }); var SDP_attribute_list v_attribute_list_update := valueof({ m_attribute_PCMU, m_attribute_curr(c_qos, c_local, c_sendrecv), m_attribute_curr(c_qos, c_remote, c_none), m_attribute_des(c_qos, c_mandatory, c_local, c_sendrecv), m_attribute_des(c_qos, c_mandatory, c_remote, c_sendrecv) }); //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 vc_sdp_local := valueof(m_SDP_media_attr_preconditions(valueof(m_media_dynPT(PX_SIP_SDP_dyn, PX_SIP_SDP_encoding)), vc_userprofile, v_attribute_list_invite)); 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, m_Supported_prec, omit, m_MBody_SDP(vc_sdp_local))); vc_iut_CSeq := vc_cSeq; f_awaitingResponse(mw_Response_Base(c_statusLine183,vc_callId, vc_cSeq)); if (not(f_check_attribute(vc_sdp_remote, m_attribute_curr(c_qos, c_local, c_none)) and f_check_attribute(vc_sdp_remote, m_attribute_curr(c_qos, c_remote, c_none)) and f_check_attribute(vc_sdp_remote, m_attribute_des(c_qos, c_mandatory, c_local, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_des(c_qos, c_mandatory, c_remote, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_conf(c_qos, c_remote, c_sendrecv)) ) ) {setverdict(fail); log("FAIL: Attribute in 183 Session Progress does not match");} if (not match(vc_response.msgHeader.require, valueof(m_Require_100rel))) {setverdict(fail); log("FAIL: Require header field does not contain option tag precondition");} f_SendPRACK(m_PRACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_rAck)); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq)); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); vc_sdp_local := valueof(m_SDP_media_attr_preconditions(valueof(m_media_dynPT(PX_SIP_SDP_dyn, PX_SIP_SDP_encoding)), vc_userprofile, v_attribute_list_update)); f_SendUPDATE(m_UPDATE_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq)); if (not(f_check_attribute(vc_sdp_remote, m_attribute_curr(c_qos, c_local, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_curr(c_qos, c_remote, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_des(c_qos, c_mandatory, c_local, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_des(c_qos, c_mandatory, c_remote, c_sendrecv)) ) ) {setverdict(fail); log("FAIL: Attribute in 200 OK UPDATE does not match");} f_awaitingResponse(mw_Response_Base(c_statusLine180, vc_callId, vc_iut_CSeq)); f_SendPRACK(m_PRACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_rAck)); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq)); f_check_Ringing(); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_iut_CSeq)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_check_Conversation(); //Send BYE and awaiting response f_terminateCall_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_101_005 /* * @desc This is the test case function (SIP side) for TC_101_006 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_101_006(in CSeq p_cSeq_s) runs on ImsComponent { var SDP_attribute_list v_attribute_list_invite := valueof({ m_attribute_PCMU, m_attribute_curr(c_qos, c_local, c_none), m_attribute_curr(c_qos, c_remote, c_none), m_attribute_des(c_qos, c_mandatory, c_local, c_sendrecv), m_attribute_des(c_qos, c_none, c_remote, c_sendrecv) }); //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 vc_sdp_local := valueof(m_SDP_media_attr_preconditions(valueof(m_media_dynPT(PX_SIP_SDP_dyn, PX_SIP_SDP_encoding)), vc_userprofile, v_attribute_list_invite)); 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, m_Require_prec, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine580,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_101_006 } // end group TP101_SendingIAM group TP102_Sending_SAM { Loading Loading @@ -287,7 +423,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -390,7 +526,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -491,7 +627,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -528,7 +664,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -618,7 +754,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -663,7 +799,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -700,7 +836,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -748,7 +884,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -793,7 +929,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -841,7 +977,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -888,7 +1024,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -941,7 +1077,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -983,7 +1119,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -1052,7 +1188,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -1159,7 +1295,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -1227,7 +1363,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading
AtsCommon/SipIsup_IMS_TCFunctions.ttcn +166 −30 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ module SipIsup_IMS_TCFunctions { */ function f_IMS_TC_101_001(in CSeq p_cSeq_s) runs on ImsComponent { //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody Loading Loading @@ -89,7 +89,7 @@ module SipIsup_IMS_TCFunctions { }); //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody Loading Loading @@ -139,7 +139,7 @@ module SipIsup_IMS_TCFunctions { }); //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // Testbody Loading Loading @@ -173,7 +173,7 @@ module SipIsup_IMS_TCFunctions { */ function f_IMS_TC_101_004(in CSeq p_cSeq_s) runs on ImsComponent { var SDP_attribute_list v_attribute_list := valueof({ m_attribute_PCMU, var SDP_attribute_list v_attribute_list_invite := valueof({ m_attribute_PCMU, m_attribute_curr(c_qos, c_local, c_none), m_attribute_curr(c_qos, c_remote, c_none), m_attribute_des(c_qos, c_mandatory, c_local, c_sendrecv), Loading @@ -187,15 +187,15 @@ module SipIsup_IMS_TCFunctions { }); //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable 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 vc_sdp_local := valueof(m_SDP_media_attr_preconditions(valueof(m_media_dynPT(PX_SIP_SDP_dyn, PX_SIP_SDP_encoding)), vc_userprofile, v_attribute_list)); vc_sdp_local := valueof(m_SDP_media_attr_preconditions(valueof(m_media_dynPT(PX_SIP_SDP_dyn, PX_SIP_SDP_encoding)), vc_userprofile, v_attribute_list_invite)); 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, m_Supported_100rel_prec, omit, m_MBody_SDP(vc_sdp_local))); f_SendINVITE(m_INVITE_Request_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, m_Require_prec, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); vc_iut_CSeq := vc_cSeq; f_awaitingResponse(mw_Response_Base(c_statusLine183,vc_callId, vc_cSeq)); Loading @@ -208,18 +208,35 @@ module SipIsup_IMS_TCFunctions { ) ) {setverdict(fail); log("FAIL: Attribute in 183 does not match");} log("FAIL: Attribute in 183 Session Progress does not match");} if (not match(vc_response.msgHeader.require, valueof(m_Require_100rel))) {setverdict(fail); log("FAIL: Require header field does not contain option tag precondition");} LibIms_Steps.f_setHeadersPRACK(vc_cSeq); f_SendPRACK(m_PRACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_rAck)); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq)); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); vc_sdp_local := valueof(m_SDP_media_attr_preconditions(valueof(m_media_dynPT(PX_SIP_SDP_dyn, PX_SIP_SDP_encoding)), vc_userprofile, v_attribute_list_update)); f_SendUPDATE(m_UPDATE_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq)); if (not(f_check_attribute(vc_sdp_remote, m_attribute_curr(c_qos, c_local, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_curr(c_qos, c_remote, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_des(c_qos, c_mandatory, c_local, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_des(c_qos, c_mandatory, c_remote, c_sendrecv)) ) ) {setverdict(fail); log("FAIL: Attribute in 200 OK UPDATE does not match");} f_awaitingResponse(mw_Response_Base(c_statusLine180, vc_callId, vc_iut_CSeq)); f_SendPRACK(m_PRACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_rAck)); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq)); f_check_Ringing(); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_iut_CSeq)); Loading @@ -236,6 +253,125 @@ module SipIsup_IMS_TCFunctions { f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_101_004 /* * @desc This is the test case function (SIP side) for TC_101_005 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_101_005(in CSeq p_cSeq_s) runs on ImsComponent { var SDP_attribute_list v_attribute_list_invite := valueof({ m_attribute_PCMU, m_attribute_curr(c_qos, c_local, c_none), m_attribute_curr(c_qos, c_remote, c_none), m_attribute_des(c_qos, c_mandatory, c_local, c_sendrecv), m_attribute_des(c_qos, c_none, c_remote, c_sendrecv) }); var SDP_attribute_list v_attribute_list_update := valueof({ m_attribute_PCMU, m_attribute_curr(c_qos, c_local, c_sendrecv), m_attribute_curr(c_qos, c_remote, c_none), m_attribute_des(c_qos, c_mandatory, c_local, c_sendrecv), m_attribute_des(c_qos, c_mandatory, c_remote, c_sendrecv) }); //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 vc_sdp_local := valueof(m_SDP_media_attr_preconditions(valueof(m_media_dynPT(PX_SIP_SDP_dyn, PX_SIP_SDP_encoding)), vc_userprofile, v_attribute_list_invite)); 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, m_Supported_prec, omit, m_MBody_SDP(vc_sdp_local))); vc_iut_CSeq := vc_cSeq; f_awaitingResponse(mw_Response_Base(c_statusLine183,vc_callId, vc_cSeq)); if (not(f_check_attribute(vc_sdp_remote, m_attribute_curr(c_qos, c_local, c_none)) and f_check_attribute(vc_sdp_remote, m_attribute_curr(c_qos, c_remote, c_none)) and f_check_attribute(vc_sdp_remote, m_attribute_des(c_qos, c_mandatory, c_local, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_des(c_qos, c_mandatory, c_remote, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_conf(c_qos, c_remote, c_sendrecv)) ) ) {setverdict(fail); log("FAIL: Attribute in 183 Session Progress does not match");} if (not match(vc_response.msgHeader.require, valueof(m_Require_100rel))) {setverdict(fail); log("FAIL: Require header field does not contain option tag precondition");} f_SendPRACK(m_PRACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_rAck)); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq)); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); vc_sdp_local := valueof(m_SDP_media_attr_preconditions(valueof(m_media_dynPT(PX_SIP_SDP_dyn, PX_SIP_SDP_encoding)), vc_userprofile, v_attribute_list_update)); f_SendUPDATE(m_UPDATE_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_contact, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq)); if (not(f_check_attribute(vc_sdp_remote, m_attribute_curr(c_qos, c_local, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_curr(c_qos, c_remote, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_des(c_qos, c_mandatory, c_local, c_sendrecv)) and f_check_attribute(vc_sdp_remote, m_attribute_des(c_qos, c_mandatory, c_remote, c_sendrecv)) ) ) {setverdict(fail); log("FAIL: Attribute in 200 OK UPDATE does not match");} f_awaitingResponse(mw_Response_Base(c_statusLine180, vc_callId, vc_iut_CSeq)); f_SendPRACK(m_PRACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via, vc_rAck)); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_cSeq)); f_check_Ringing(); f_awaitingResponse(mw_Response_Base(c_statusLine200, vc_callId, vc_iut_CSeq)); f_SendACK(m_ACK_Request_Base(vc_requestUri, vc_callId, vc_cSeq, vc_from, vc_to, vc_via)); f_check_Conversation(); //Send BYE and awaiting response f_terminateCall_IMS(vc_requestUri, vc_callId, vc_cSeq, vc_caller_From, vc_caller_To); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); f_SIP_postamble_IMS1_withoutRegistration(); } // end function f_IMS_TC_101_005 /* * @desc This is the test case function (SIP side) for TC_101_006 * @param p_CSeq_s Transaction Id */ function f_IMS_TC_101_006(in CSeq p_cSeq_s) runs on ImsComponent { var SDP_attribute_list v_attribute_list_invite := valueof({ m_attribute_PCMU, m_attribute_curr(c_qos, c_local, c_none), m_attribute_curr(c_qos, c_remote, c_none), m_attribute_des(c_qos, c_mandatory, c_local, c_sendrecv), m_attribute_des(c_qos, c_none, c_remote, c_sendrecv) }); //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 vc_sdp_local := valueof(m_SDP_media_attr_preconditions(valueof(m_media_dynPT(PX_SIP_SDP_dyn, PX_SIP_SDP_encoding)), vc_userprofile, v_attribute_list_invite)); 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, m_Require_prec, vc_route, vc_recordRoute, omit, omit, m_MBody_SDP(vc_sdp_local))); f_awaitingResponse(mw_Response_Base(c_statusLine580,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_101_006 } // end group TP101_SendingIAM group TP102_Sending_SAM { Loading Loading @@ -287,7 +423,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -390,7 +526,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -491,7 +627,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -528,7 +664,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -618,7 +754,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -663,7 +799,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -700,7 +836,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -748,7 +884,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -793,7 +929,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -841,7 +977,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -888,7 +1024,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -941,7 +1077,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -983,7 +1119,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -1052,7 +1188,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -1159,7 +1295,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading Loading @@ -1227,7 +1363,7 @@ module SipIsup_IMS_TCFunctions { // PREAMBLE // IMS component interface initialization //c_userProfile_ICSCFwithHomeUE or c_userProfile_IBCFwithHomeUE f_IMS_preamble_IMGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_IMS_preamble_MGCF(c_userProfile_ICSCFwithHomeUE, p_cSeq_s); // assignment of PIXIT values to component variable f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done // TESTBODY Loading