Newer
Older
pintar
committed
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done
// TESTBODY
//Awaiting MESSAGE
f_awaitingMESSAGE(mw_MESSAGE_Request_noPchargingFunction_UE);
f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync
f_send200OK();
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done
// POSTAMBLE
// send REGISTER, await 401, send REGISTER, await 200 OK
f_RemoveRegistration(vc_cSeq); // deregistration in SUT
f_SIP_postamble_UE_withoutRegistration();
} // end function f_TC_RO_CTF_FH_UE_02
pintar
committed
* @desc This is the test case function (SIP originating side - CSCF) for f_TC_RO_CTF_FH_CSCF_02
* Test function is adopted and comes from TS 102 790 - f_TC_IMST2_MW_GEN_09_IMS
pintar
committed
function f_TC_RO_CTF_FH_CSCF_02(in CSeq p_cSeq_s) runs on ImsComponent {
var GenValue v_genValue := {tokenOrHost := "host"};
pintar
committed
f_IMS_preamble_woRegistration( p_cSeq_s); //c_userProfile_SCSCFwithHomeUE,
//f_init_interfaceprofile(c_interfaceProfile_IMS_SUT_ICSCF);
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
// Testbody
pintar
committed
// prepare and send MESSAGE UE1_SUThome
LibIms_Steps.f_setHeadersMESSAGE(p_cSeq_s, vc_requestUri);// c_userProfile_UE1atSUThome
f_SendMESSAGE(m_MESSAGE_Request_PCharging_IMS(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via, omit, omit, omit, m_pChargingVector_origIoi_fixedValue(v_genValue)));
pintar
committed
f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync
// await response - 200 OK ...
f_awaitingResponse(mw_Response_Base (c_statusLine200,vc_callId, vc_cSeq));
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
pintar
committed
//Postamble
pintar
committed
f_SIP_postamble_IMS1_withoutRegistration();
pintar
committed
} // end function f_TC_RO_CTF_FH_CSCF_02
} // End of group TP_RO_CTF_FH
// 5.2.3.2.8 Failover
group TP_RO_CTF_FA {
pintar
committed
* @desc This is the test case function (SIP terminating side - UE1) for f_TC_RO_CTF_FA_UE_02
* Test function is adopted and comes from TS 102 790 - f_TC_IMST2_MW_GEN_09_UE1
pintar
committed
function f_TC_RO_CTF_FA_UE_02(in CSeq p_cSeq_s) runs on ImsComponent {
pintar
committed
var REGISTER_Request v_register;
pintar
committed
v_register := valueof(m_REGISTER_Request_Base(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via_REG, vc_contact, vc_authorization));
// preamble with send REGISTER, await 401, send REGISTER, await 200 OK and user profile setting
f_IMS_preamble_withRegistration(p_cSeq_s, v_register); //c_userProfile_UE1atSUThome, c_interfaceProfile_IMS_SUT_PCSCF1,
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());// sync point preamble done
// TESTBODY
pintar
committed
//Awaiting MESSAGE
f_awaitingMESSAGE(mw_MESSAGE_Request_noPchargingFunction_UE);
pintar
committed
f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync
pintar
committed
f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict()); // sync
pintar
committed
f_send200OK();
pintar
committed
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());// sync point test body done
// POSTAMBLE
pintar
committed
// send REGISTER, await 401, send REGISTER, await 200 OK
f_RemoveRegistration(vc_cSeq); // deregistration in SUT
f_SIP_postamble_UE_withoutRegistration();
pintar
committed
} // end function f_TC_RO_CTF_FA_UE_02
pintar
committed
* @desc This is the test case function (SIP originating side - CSCF) for f_TC_RO_CTF_FA_CSCF_02
* Test function is adopted and comes from TS 102 790 - f_TC_IMST2_MW_GEN_09_IMS
* @param p_cSeq_s
*/
pintar
committed
function f_TC_RO_CTF_FA_CSCF_02(in CSeq p_cSeq_s) runs on ImsComponent {
var GenValue v_genValue := {tokenOrHost := "host"};
pintar
committed
f_IMS_preamble_woRegistration( p_cSeq_s); //c_userProfile_SCSCFwithHomeUE,
//f_init_interfaceprofile(c_interfaceProfile_IMS_SUT_ICSCF);
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
pintar
committed
pintar
committed
// prepare and send MESSAGE UE1_SUThome
LibIms_Steps.f_setHeadersMESSAGE(p_cSeq_s, vc_requestUri);// c_userProfile_UE1atSUThome
f_SendMESSAGE(m_MESSAGE_Request_PCharging_IMS(vc_requestUri, vc_callId, p_cSeq_s, vc_from, vc_to, vc_via, omit, omit, omit, m_pChargingVector_origIoi_fixedValue(v_genValue)));
pintar
committed
f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync
pintar
committed
f_selfOrClientSyncAndVerdict(c_sync2, f_getVerdict()); // sync
pintar
committed
// await response - 200 OK ...
f_awaitingResponse(mw_Response_Base (c_statusLine200,vc_callId, vc_cSeq));
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
pintar
committed
//Postamble
pintar
committed
f_SIP_postamble_IMS1_withoutRegistration();
pintar
committed
} // end function f_TC_RO_CTF_FA_CSCF_02
} // End of group TP_RO_CTF_FA
// 5.2.3.2.9 Credit Pooling
group TP_RO_CTF_CP {
} // End of group TP_RO_CTF_CP
// 5.2.3.2.10 Other Procedures
group TP_RO_CTF_OP {
} // End of group TP_RO_CTF_OP
}//End of group TP_RO_CTF_Role
} // End of group TP_RO_Role
} // End of module DiameterRfRo_SIP_TCFunctions