Loading DiameterS9/ttcn/DiameterS9_Gxx_TCFunctions.ttcn3 +411 −19 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ module DiameterS9_Gxx_TCFunctions { group TP_VPCRFRole_HSE{ /* * @desc This is the test case function f_TC_VPCRF_HSE_01_Gxx * @desc This is the test case function f_TC_VPCRF_HSE_01_BBERF * @param */ function f_TC_VPCRF_HSE_01_BBERF1() Loading @@ -58,7 +58,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); Loading Loading @@ -94,7 +94,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); Loading Loading @@ -133,7 +133,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); Loading Loading @@ -169,7 +169,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); Loading Loading @@ -207,7 +207,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); Loading Loading @@ -245,7 +245,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); Loading @@ -256,7 +256,7 @@ module DiameterS9_Gxx_TCFunctions { group TP_VPCRFRole_HPQ{ /* * @desc This is the test case function f_TC_VPCRF_HPQ_01_Gxx * @desc This is the test case function f_TC_VPCRF_HPQ_01_BBERF * @param */ function f_TC_VPCRF_HPQ_01_BBERF1() Loading @@ -270,7 +270,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); Loading @@ -293,7 +293,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); Loading @@ -302,7 +302,7 @@ module DiameterS9_Gxx_TCFunctions { } // end function f_TC_VPCRF_HPQ_02_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HPQ_03_Gxx * @desc This is the test case function f_TC_VPCRF_HPQ_03_BBERF * @param */ function f_TC_VPCRF_HPQ_03_BBERF1() Loading @@ -316,7 +316,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); Loading @@ -339,7 +339,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); Loading Loading @@ -430,7 +430,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); Loading Loading @@ -463,7 +463,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); Loading @@ -474,7 +474,7 @@ module DiameterS9_Gxx_TCFunctions { group TP_VPCRFRole_HMB{ /* * @desc This is the test case function f_TC_VPCRF_HMB_01_Gxx * @desc This is the test case function f_TC_VPCRF_HMB_01_BBERF1 * @param */ function f_TC_VPCRF_HMB_01_BBERF1() Loading @@ -490,7 +490,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); Loading @@ -499,7 +499,7 @@ module DiameterS9_Gxx_TCFunctions { } // end function f_TC_VPCRF_HMB_01_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HMB_01_Gxx * @desc This is the test case function f_TC_VPCRF_HMB_01_BBERF2 * @param */ function f_TC_VPCRF_HMB_01_BBERF2() Loading @@ -516,14 +516,406 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_01_BBERF2 /* * @desc This is the test case function f_TC_VPCRF_HMB_02_BBERF1 * @param */ function f_TC_VPCRF_HMB_02_BBERF1() runs on DiameterComponent { f_preamble_BBERF(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2b(); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_02_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HMB_02_BBERF2 * @param */ function f_TC_VPCRF_HMB_02_BBERF2() runs on DiameterComponent { f_preamble_BBERF2(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2b(); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_02_BBERF2 /* * @desc This is the test case function f_TC_VPCRF_HMB_03_BBERF1 * @param */ function f_TC_VPCRF_HMB_03_BBERF1() runs on DiameterComponent { f_TC_VPCRF_HMB_01_BBERF1(); } // end function f_TC_VPCRF_HMB_03_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HMB_03_BBERF2 * @param */ function f_TC_VPCRF_HMB_03_BBERF2() runs on DiameterComponent { f_preamble_BBERF2(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2a(); //CCR SESSION MODIFICATION f_send_CCR(m_CCR_Gxx_UpdateRequest(vc_sessionId, vc_originHost, vc_originRealm, vc_destinationRealm, {m_subscription_Id(valueof(m_subscription_Id_Type(END_USER_IMSI_E)), valueof(m_subscription_Id_Data(PX_SUBSCRIPTION_ID_DATA)))}, omit, {m_qoSRuleReport_RuleName({m_qoSRuleName_dummy(PX_QOS_RULE_NAME)})} ) ); f_awaiting_CCA(mw_CCA_Gxx_basic(vc_sessionId, vc_originHost, vc_originRealm)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_03_BBERF2 /* * @desc This is the test case function f_TC_VPCRF_HMB_04_BBERF1 * @param */ function f_TC_VPCRF_HMB_04_BBERF1() runs on DiameterComponent { f_TC_VPCRF_HMB_02_BBERF1(); } // end function f_TC_VPCRF_HMB_04_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HMB_04_BBERF2 * @param */ function f_TC_VPCRF_HMB_04_BBERF2() runs on DiameterComponent { f_preamble_BBERF2(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2b(); //CCR SESSION MODIFICATION f_send_CCR(m_CCR_Gxx_UpdateRequest(vc_sessionId, vc_originHost, vc_originRealm, vc_destinationRealm, {m_subscription_Id(valueof(m_subscription_Id_Type(END_USER_IMSI_E)), valueof(m_subscription_Id_Data(PX_SUBSCRIPTION_ID_DATA)))}, m_called_Station_Id(PX_CALLED_STATION_ID_PDN), {m_qoSRuleReport_RuleName({m_qoSRuleName_dummy(PX_QOS_RULE_NAME)})} ) ); f_awaiting_CCA(mw_CCA_Gxx_basic(vc_sessionId, vc_originHost, vc_originRealm)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_04_BBERF2 /* * @desc This is the test case function f_TC_VPCRF_HMB_05_BBERF1 * @param */ function f_TC_VPCRF_HMB_05_BBERF1() runs on DiameterComponent { f_preamble_BBERF(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2a(); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_05_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HMB_05_BBERF2 * @param */ function f_TC_VPCRF_HMB_05_BBERF2() runs on DiameterComponent { f_preamble_BBERF2(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2a(); f_terminate_session_BBERF_case2a(); // postamble f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_05_BBERF2 /* * @desc This is the test case function f_TC_VPCRF_HMB_06_BBERF1 * @param */ function f_TC_VPCRF_HMB_06_BBERF1() runs on DiameterComponent { f_preamble_BBERF(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2b(); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_06_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HMB_06_BBERF2 * @param */ function f_TC_VPCRF_HMB_06_BBERF2() runs on DiameterComponent { f_preamble_BBERF2(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2b(); f_terminate_session_BBERF_case2b(); // postamble f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_06_BBERF2 /* * @desc This is the test case function f_TC_VPCRF_HMB_07_BBERF1 * @param */ function f_TC_VPCRF_HMB_07_BBERF1() runs on DiameterComponent { f_TC_VPCRF_HMB_01_BBERF1(); } // end function f_TC_VPCRF_HMB_01_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HMB_07_BBERF2 * @param */ function f_TC_VPCRF_HMB_07_BBERF2() runs on DiameterComponent { f_TC_VPCRF_HMB_01_BBERF2();//In case if RAR message is forwarded to BBERF, RAR message have to be checked in this function } // end function f_TC_VPCRF_HMB_07_BBERF2 }// end group TP_VPCRFRole_HMB group TP_VPCRFRole_HDS{ /* * @desc This is the test case function f_TC_VPCRF_HDS_01_BBERF * @param */ function f_TC_VPCRF_HDS_01_BBERF1() runs on DiameterComponent { f_TC_VPCRF_HMB_02_BBERF1(); } // end function f_TC_VPCRF_HDS_01_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HDS_01_BBERF * @param */ function f_TC_VPCRF_HDS_01_BBERF2() runs on DiameterComponent { f_preamble_BBERF2(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync //CCR INITIAL REQUEST f_send_CCR(m_CCR_Gxx_InitialRequest_SessLink_PDNConn (vc_sessionId, vc_originHost, vc_originRealm, vc_destinationRealm, f_framedIpAddress4_send(PX_UE1_framedIpAddress), f_framedIpAddress6_send(PX_UE1_framedIp6Address), {m_subscription_Id(valueof(m_subscription_Id_Type(END_USER_IMSI_E)), valueof(m_subscription_Id_Data(PX_SUBSCRIPTION_ID_DATA)))}, {m_anGwAddress(f_IPAdress(PX_SGW_AGW_ipv4,PX_SGW_AGW_ipv6))}, omit,//calledStation omit,//PDN_Connection m_sessionLinkingIndicator_dummy(SESSION_LINKING_DEFERRED_E) ) ); f_awaiting_CCA(mw_CCA_Gxx_basic(vc_sessionId, vc_originHost, vc_originRealm)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HDS_01_BBERF2 }// end group TP_VPCRFRole_HDS group TP_VPCRFRole_HSL{ /* * @desc This is the test case function f_TC_VPCRF_HSL_01_BBERF * @param */ function f_TC_VPCRF_HSL_01_BBERF1() runs on DiameterComponent { f_TC_VPCRF_HMB_02_BBERF1(); } // end function f_TC_VPCRF_HSL_01_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HSL_01_BBERF * @param */ function f_TC_VPCRF_HSL_01_BBERF2() runs on DiameterComponent { f_preamble_BBERF2(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync //CCR INITIAL REQUEST f_send_CCR(m_CCR_Gxx_InitialRequest_SessLink_PDNConn (vc_sessionId, vc_originHost, vc_originRealm, vc_destinationRealm, f_framedIpAddress4_send(PX_UE1_framedIpAddress), f_framedIpAddress6_send(PX_UE1_framedIp6Address), {m_subscription_Id(valueof(m_subscription_Id_Type(END_USER_IMSI_E)), valueof(m_subscription_Id_Data(PX_SUBSCRIPTION_ID_DATA)))}, {m_anGwAddress(f_IPAdress(PX_SGW_AGW_ipv4,PX_SGW_AGW_ipv6))}, m_called_Station_Id(PX_CALLED_STATION_ID_PDN),//calledStation m_pDN_Connection_ID(PX_PDN_CONNECTION_ID_DATA),//PDN_Connection omit ) ); f_awaiting_CCA(mw_CCA_Gxx_basic(vc_sessionId, vc_originHost, vc_originRealm)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HSL_01_BBERF2 }// end group TP_VPCRFRole_HSL } // group TP_VPCRFRole }// end module DiameterS9_Gxx_TCFunctions No newline at end of file DiameterS9/ttcn/DiameterS9_Gxx_Templates.ttcn +28 −1 Original line number Diff line number Diff line Loading @@ -37,13 +37,15 @@ module DiameterS9_Gxx_Templates { } //end group DummyAVPHeaders group SpecificAVPHeaders { group sendingTemplatesForAVPs{ // due to no need of AVP templates duplication they are located with DiameterS9_Templates module }//end group sendingTemplatesForAVPs group awaitingTemplatesForAVPs{ // due to no need of AVP templates duplication they are located with DiameterS9_Templates module }//end group awaitingTemplatesForAVPs } //end group SpecificAVPHeaders } //end group HeaderFieldTemplates /** Message templates for RAR, RAA, CCR, CCA.... methods */ /** Message templates for RAR, RAA, CCR, CCA.... methods for Gx and Gxx interface */ group GxMessageTemplates { group Gxbase_templates { group Gxbasic_request_templates_send { Loading Loading @@ -348,6 +350,31 @@ module DiameterS9_Gxx_Templates { } } template CCR_MSG m_CCR_Gxx_InitialRequest_SessLink_PDNConn (template Session_Id_AVP p_sessionId, template Origin_Host_AVP p_originHost, template Origin_Realm_AVP p_originRealm, template Destination_Realm_AVP p_destinationRealm, template Framed_IP_Address_AVP p_framedIpAddress, template Framed_IPv6_Prefix_AVP p_framedIp6Address, template CCR_MSG.cCR_Body.subscription_Id p_subscriptionId, template CCR_MSG.cCR_Body.aN_GW_Address p_anGwAddress, template CCR_MSG.cCR_Body.called_Station_Id p_calledStationId, template CCR_MSG.cCR_Body.pDN_Connection_ID p_pDN_Connection_ID, template CCR_MSG.cCR_Body.session_Linking_Indicator p_session_Linking_Indicator) modifies m_CCR_Gxx_basic := { cCR_Body := { framed_IP_Address := p_framedIpAddress, framed_IPv6_Prefix := p_framedIp6Address, iP_CAN_Type := m_iP_CAN_Type (PX_IP_CAN_TYPE), rAT_Type := m_rAT_Type (PX_RAT_TYPE), subscription_Id := p_subscriptionId, aN_GW_Address := p_anGwAddress, called_Station_Id := p_calledStationId, pDN_Connection_ID := p_pDN_Connection_ID, session_Linking_Indicator := p_session_Linking_Indicator } } template CCR_MSG m_CCR_Gxx_UpdateRequest (template Session_Id_AVP p_sessionId, template Origin_Host_AVP p_originHost, template Origin_Realm_AVP p_originRealm, Loading DiameterS9/ttcn/DiameterS9_PICS.ttcn +1 −1 Original line number Diff line number Diff line /** * @author STF 466 * @version $Id:$ * @version $Id$ * @desc This module provides the PICS used for the DiameterS9 tests. * See ETSI DTS/INT-095-1 */ Loading DiameterS9/ttcn/DiameterS9_PIXITS.ttcn +8 −16 Original line number Diff line number Diff line Loading @@ -260,15 +260,7 @@ module DiameterS9_PIXITS //TODO check if following PIXITS will be used in S9 // /** @desc UInt32, PIXIT item A-7/18 // * Maximum aggregate bite rate in bits per second for the uplink direction for the APN-Aggregate-Max-Bitrate-UL AVP // */ // modulepar UInt32 PX_APN_AGGREGATE_MAX_BITRATE_UL_AVP_DATA := 100; // // /** @desc octetstring, PIXIT item A-7/19 // * The offset between universal time and local time in steps of 15 minutes for the 3GPP-MS-TimeZone AVP for CCR messages // */ // modulepar octetstring PX_3GPP_MS_TIMEZONE_DATA := '08'O; /** @desc UTF8String, PIXIT item A-7/20 * A PDN for the Called-Station-Id AVP Loading @@ -279,12 +271,12 @@ module DiameterS9_PIXITS // * An Emergency address for the Called-Station-Id AVP // */ // modulepar UTF8String PX_CALLED_STATION_ID_EMERGENCY := "Emergency"; // // /** @desc octetstring, PIXIT item A-7/22 // * An identity for the PDN connection for the PDN-Connection-ID AVP // */ // modulepar octetstring PX_PDN_CONNECTION_ID_DATA := '08'O; // /** @desc octetstring, PIXIT item A-7/22 * An identity for the PDN connection for the PDN-Connection-ID AVP */ modulepar octetstring PX_PDN_CONNECTION_ID_DATA := '08'O; // /** @desc octetstring, PIXIT item A-7/23 // * avp_Data within Bearer_Identifier_AVP is of octetstring type // */ Loading DiameterS9/ttcn/DiameterS9_S9_TCFunctions.ttcn3 +513 −116 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
DiameterS9/ttcn/DiameterS9_Gxx_TCFunctions.ttcn3 +411 −19 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ module DiameterS9_Gxx_TCFunctions { group TP_VPCRFRole_HSE{ /* * @desc This is the test case function f_TC_VPCRF_HSE_01_Gxx * @desc This is the test case function f_TC_VPCRF_HSE_01_BBERF * @param */ function f_TC_VPCRF_HSE_01_BBERF1() Loading @@ -58,7 +58,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); Loading Loading @@ -94,7 +94,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); Loading Loading @@ -133,7 +133,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); Loading Loading @@ -169,7 +169,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); Loading Loading @@ -207,7 +207,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); Loading Loading @@ -245,7 +245,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); Loading @@ -256,7 +256,7 @@ module DiameterS9_Gxx_TCFunctions { group TP_VPCRFRole_HPQ{ /* * @desc This is the test case function f_TC_VPCRF_HPQ_01_Gxx * @desc This is the test case function f_TC_VPCRF_HPQ_01_BBERF * @param */ function f_TC_VPCRF_HPQ_01_BBERF1() Loading @@ -270,7 +270,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); Loading @@ -293,7 +293,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); Loading @@ -302,7 +302,7 @@ module DiameterS9_Gxx_TCFunctions { } // end function f_TC_VPCRF_HPQ_02_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HPQ_03_Gxx * @desc This is the test case function f_TC_VPCRF_HPQ_03_BBERF * @param */ function f_TC_VPCRF_HPQ_03_BBERF1() Loading @@ -316,7 +316,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); Loading @@ -339,7 +339,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); Loading Loading @@ -430,7 +430,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); Loading Loading @@ -463,7 +463,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); Loading @@ -474,7 +474,7 @@ module DiameterS9_Gxx_TCFunctions { group TP_VPCRFRole_HMB{ /* * @desc This is the test case function f_TC_VPCRF_HMB_01_Gxx * @desc This is the test case function f_TC_VPCRF_HMB_01_BBERF1 * @param */ function f_TC_VPCRF_HMB_01_BBERF1() Loading @@ -490,7 +490,7 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); Loading @@ -499,7 +499,7 @@ module DiameterS9_Gxx_TCFunctions { } // end function f_TC_VPCRF_HMB_01_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HMB_01_Gxx * @desc This is the test case function f_TC_VPCRF_HMB_01_BBERF2 * @param */ function f_TC_VPCRF_HMB_01_BBERF2() Loading @@ -516,14 +516,406 @@ module DiameterS9_Gxx_TCFunctions { f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF(); // postamble f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_01_BBERF2 /* * @desc This is the test case function f_TC_VPCRF_HMB_02_BBERF1 * @param */ function f_TC_VPCRF_HMB_02_BBERF1() runs on DiameterComponent { f_preamble_BBERF(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2b(); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_02_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HMB_02_BBERF2 * @param */ function f_TC_VPCRF_HMB_02_BBERF2() runs on DiameterComponent { f_preamble_BBERF2(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2b(); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_02_BBERF2 /* * @desc This is the test case function f_TC_VPCRF_HMB_03_BBERF1 * @param */ function f_TC_VPCRF_HMB_03_BBERF1() runs on DiameterComponent { f_TC_VPCRF_HMB_01_BBERF1(); } // end function f_TC_VPCRF_HMB_03_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HMB_03_BBERF2 * @param */ function f_TC_VPCRF_HMB_03_BBERF2() runs on DiameterComponent { f_preamble_BBERF2(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2a(); //CCR SESSION MODIFICATION f_send_CCR(m_CCR_Gxx_UpdateRequest(vc_sessionId, vc_originHost, vc_originRealm, vc_destinationRealm, {m_subscription_Id(valueof(m_subscription_Id_Type(END_USER_IMSI_E)), valueof(m_subscription_Id_Data(PX_SUBSCRIPTION_ID_DATA)))}, omit, {m_qoSRuleReport_RuleName({m_qoSRuleName_dummy(PX_QOS_RULE_NAME)})} ) ); f_awaiting_CCA(mw_CCA_Gxx_basic(vc_sessionId, vc_originHost, vc_originRealm)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_03_BBERF2 /* * @desc This is the test case function f_TC_VPCRF_HMB_04_BBERF1 * @param */ function f_TC_VPCRF_HMB_04_BBERF1() runs on DiameterComponent { f_TC_VPCRF_HMB_02_BBERF1(); } // end function f_TC_VPCRF_HMB_04_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HMB_04_BBERF2 * @param */ function f_TC_VPCRF_HMB_04_BBERF2() runs on DiameterComponent { f_preamble_BBERF2(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2b(); //CCR SESSION MODIFICATION f_send_CCR(m_CCR_Gxx_UpdateRequest(vc_sessionId, vc_originHost, vc_originRealm, vc_destinationRealm, {m_subscription_Id(valueof(m_subscription_Id_Type(END_USER_IMSI_E)), valueof(m_subscription_Id_Data(PX_SUBSCRIPTION_ID_DATA)))}, m_called_Station_Id(PX_CALLED_STATION_ID_PDN), {m_qoSRuleReport_RuleName({m_qoSRuleName_dummy(PX_QOS_RULE_NAME)})} ) ); f_awaiting_CCA(mw_CCA_Gxx_basic(vc_sessionId, vc_originHost, vc_originRealm)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_04_BBERF2 /* * @desc This is the test case function f_TC_VPCRF_HMB_05_BBERF1 * @param */ function f_TC_VPCRF_HMB_05_BBERF1() runs on DiameterComponent { f_preamble_BBERF(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2a(); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2a(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_05_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HMB_05_BBERF2 * @param */ function f_TC_VPCRF_HMB_05_BBERF2() runs on DiameterComponent { f_preamble_BBERF2(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2a(); f_terminate_session_BBERF_case2a(); // postamble f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_05_BBERF2 /* * @desc This is the test case function f_TC_VPCRF_HMB_06_BBERF1 * @param */ function f_TC_VPCRF_HMB_06_BBERF1() runs on DiameterComponent { f_preamble_BBERF(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2b(); f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_06_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HMB_06_BBERF2 * @param */ function f_TC_VPCRF_HMB_06_BBERF2() runs on DiameterComponent { f_preamble_BBERF2(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync //CCR INITIAL REQUEST f_initiate_session_BBERF_case2b(); f_terminate_session_BBERF_case2b(); // postamble f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HMB_06_BBERF2 /* * @desc This is the test case function f_TC_VPCRF_HMB_07_BBERF1 * @param */ function f_TC_VPCRF_HMB_07_BBERF1() runs on DiameterComponent { f_TC_VPCRF_HMB_01_BBERF1(); } // end function f_TC_VPCRF_HMB_01_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HMB_07_BBERF2 * @param */ function f_TC_VPCRF_HMB_07_BBERF2() runs on DiameterComponent { f_TC_VPCRF_HMB_01_BBERF2();//In case if RAR message is forwarded to BBERF, RAR message have to be checked in this function } // end function f_TC_VPCRF_HMB_07_BBERF2 }// end group TP_VPCRFRole_HMB group TP_VPCRFRole_HDS{ /* * @desc This is the test case function f_TC_VPCRF_HDS_01_BBERF * @param */ function f_TC_VPCRF_HDS_01_BBERF1() runs on DiameterComponent { f_TC_VPCRF_HMB_02_BBERF1(); } // end function f_TC_VPCRF_HDS_01_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HDS_01_BBERF * @param */ function f_TC_VPCRF_HDS_01_BBERF2() runs on DiameterComponent { f_preamble_BBERF2(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync //CCR INITIAL REQUEST f_send_CCR(m_CCR_Gxx_InitialRequest_SessLink_PDNConn (vc_sessionId, vc_originHost, vc_originRealm, vc_destinationRealm, f_framedIpAddress4_send(PX_UE1_framedIpAddress), f_framedIpAddress6_send(PX_UE1_framedIp6Address), {m_subscription_Id(valueof(m_subscription_Id_Type(END_USER_IMSI_E)), valueof(m_subscription_Id_Data(PX_SUBSCRIPTION_ID_DATA)))}, {m_anGwAddress(f_IPAdress(PX_SGW_AGW_ipv4,PX_SGW_AGW_ipv6))}, omit,//calledStation omit,//PDN_Connection m_sessionLinkingIndicator_dummy(SESSION_LINKING_DEFERRED_E) ) ); f_awaiting_CCA(mw_CCA_Gxx_basic(vc_sessionId, vc_originHost, vc_originRealm)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HDS_01_BBERF2 }// end group TP_VPCRFRole_HDS group TP_VPCRFRole_HSL{ /* * @desc This is the test case function f_TC_VPCRF_HSL_01_BBERF * @param */ function f_TC_VPCRF_HSL_01_BBERF1() runs on DiameterComponent { f_TC_VPCRF_HMB_02_BBERF1(); } // end function f_TC_VPCRF_HSL_01_BBERF1 /* * @desc This is the test case function f_TC_VPCRF_HSL_01_BBERF * @param */ function f_TC_VPCRF_HSL_01_BBERF2() runs on DiameterComponent { f_preamble_BBERF2(); f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync f_selfOrClientSyncAndVerdict(c_sync1, f_getVerdict()); // sync //CCR INITIAL REQUEST f_send_CCR(m_CCR_Gxx_InitialRequest_SessLink_PDNConn (vc_sessionId, vc_originHost, vc_originRealm, vc_destinationRealm, f_framedIpAddress4_send(PX_UE1_framedIpAddress), f_framedIpAddress6_send(PX_UE1_framedIp6Address), {m_subscription_Id(valueof(m_subscription_Id_Type(END_USER_IMSI_E)), valueof(m_subscription_Id_Data(PX_SUBSCRIPTION_ID_DATA)))}, {m_anGwAddress(f_IPAdress(PX_SGW_AGW_ipv4,PX_SGW_AGW_ipv6))}, m_called_Station_Id(PX_CALLED_STATION_ID_PDN),//calledStation m_pDN_Connection_ID(PX_PDN_CONNECTION_ID_DATA),//PDN_Connection omit ) ); f_awaiting_CCA(mw_CCA_Gxx_basic(vc_sessionId, vc_originHost, vc_originRealm)); f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync f_terminate_session_BBERF_case2b(); // postamble f_postamble_BBERF(); f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync } // end function f_TC_VPCRF_HSL_01_BBERF2 }// end group TP_VPCRFRole_HSL } // group TP_VPCRFRole }// end module DiameterS9_Gxx_TCFunctions No newline at end of file
DiameterS9/ttcn/DiameterS9_Gxx_Templates.ttcn +28 −1 Original line number Diff line number Diff line Loading @@ -37,13 +37,15 @@ module DiameterS9_Gxx_Templates { } //end group DummyAVPHeaders group SpecificAVPHeaders { group sendingTemplatesForAVPs{ // due to no need of AVP templates duplication they are located with DiameterS9_Templates module }//end group sendingTemplatesForAVPs group awaitingTemplatesForAVPs{ // due to no need of AVP templates duplication they are located with DiameterS9_Templates module }//end group awaitingTemplatesForAVPs } //end group SpecificAVPHeaders } //end group HeaderFieldTemplates /** Message templates for RAR, RAA, CCR, CCA.... methods */ /** Message templates for RAR, RAA, CCR, CCA.... methods for Gx and Gxx interface */ group GxMessageTemplates { group Gxbase_templates { group Gxbasic_request_templates_send { Loading Loading @@ -348,6 +350,31 @@ module DiameterS9_Gxx_Templates { } } template CCR_MSG m_CCR_Gxx_InitialRequest_SessLink_PDNConn (template Session_Id_AVP p_sessionId, template Origin_Host_AVP p_originHost, template Origin_Realm_AVP p_originRealm, template Destination_Realm_AVP p_destinationRealm, template Framed_IP_Address_AVP p_framedIpAddress, template Framed_IPv6_Prefix_AVP p_framedIp6Address, template CCR_MSG.cCR_Body.subscription_Id p_subscriptionId, template CCR_MSG.cCR_Body.aN_GW_Address p_anGwAddress, template CCR_MSG.cCR_Body.called_Station_Id p_calledStationId, template CCR_MSG.cCR_Body.pDN_Connection_ID p_pDN_Connection_ID, template CCR_MSG.cCR_Body.session_Linking_Indicator p_session_Linking_Indicator) modifies m_CCR_Gxx_basic := { cCR_Body := { framed_IP_Address := p_framedIpAddress, framed_IPv6_Prefix := p_framedIp6Address, iP_CAN_Type := m_iP_CAN_Type (PX_IP_CAN_TYPE), rAT_Type := m_rAT_Type (PX_RAT_TYPE), subscription_Id := p_subscriptionId, aN_GW_Address := p_anGwAddress, called_Station_Id := p_calledStationId, pDN_Connection_ID := p_pDN_Connection_ID, session_Linking_Indicator := p_session_Linking_Indicator } } template CCR_MSG m_CCR_Gxx_UpdateRequest (template Session_Id_AVP p_sessionId, template Origin_Host_AVP p_originHost, template Origin_Realm_AVP p_originRealm, Loading
DiameterS9/ttcn/DiameterS9_PICS.ttcn +1 −1 Original line number Diff line number Diff line /** * @author STF 466 * @version $Id:$ * @version $Id$ * @desc This module provides the PICS used for the DiameterS9 tests. * See ETSI DTS/INT-095-1 */ Loading
DiameterS9/ttcn/DiameterS9_PIXITS.ttcn +8 −16 Original line number Diff line number Diff line Loading @@ -260,15 +260,7 @@ module DiameterS9_PIXITS //TODO check if following PIXITS will be used in S9 // /** @desc UInt32, PIXIT item A-7/18 // * Maximum aggregate bite rate in bits per second for the uplink direction for the APN-Aggregate-Max-Bitrate-UL AVP // */ // modulepar UInt32 PX_APN_AGGREGATE_MAX_BITRATE_UL_AVP_DATA := 100; // // /** @desc octetstring, PIXIT item A-7/19 // * The offset between universal time and local time in steps of 15 minutes for the 3GPP-MS-TimeZone AVP for CCR messages // */ // modulepar octetstring PX_3GPP_MS_TIMEZONE_DATA := '08'O; /** @desc UTF8String, PIXIT item A-7/20 * A PDN for the Called-Station-Id AVP Loading @@ -279,12 +271,12 @@ module DiameterS9_PIXITS // * An Emergency address for the Called-Station-Id AVP // */ // modulepar UTF8String PX_CALLED_STATION_ID_EMERGENCY := "Emergency"; // // /** @desc octetstring, PIXIT item A-7/22 // * An identity for the PDN connection for the PDN-Connection-ID AVP // */ // modulepar octetstring PX_PDN_CONNECTION_ID_DATA := '08'O; // /** @desc octetstring, PIXIT item A-7/22 * An identity for the PDN connection for the PDN-Connection-ID AVP */ modulepar octetstring PX_PDN_CONNECTION_ID_DATA := '08'O; // /** @desc octetstring, PIXIT item A-7/23 // * avp_Data within Bearer_Identifier_AVP is of octetstring type // */ Loading
DiameterS9/ttcn/DiameterS9_S9_TCFunctions.ttcn3 +513 −116 File changed.Preview size limit exceeded, changes collapsed. Show changes