Loading DiameterRfRo/ttcn/DiameterRfRo_TCFunctions.ttcn +22 −1 Original line number Diff line number Diff line Loading @@ -243,6 +243,27 @@ module DiameterRfRo_TCFunctions { } // End of group TP_RF_CDF_Role // 5.2.2.2. CTF Role group TP_RF_CTF_Role { // 5.2.2.2.2 Message Syntax group TP_RF_CTF_MS_Role { /** * @desc Verify that the IUT can send an AC-Request to indicate a Charging Data Transfer. * @verdict pass on success, fail on error or inconc on timeout only */ function f_TC_CDF_MS_01() runs on DiameterRfRo { //TODO } // End of function f_TC_CTF_MS_01 }//end of group TP_RF_CTF_MS_Role // 5.2.2.2.3 Type of Charging group TP_RF_CTF_TC_Role { }//end of group TP_RF_CTF_TC_Role // 5.2.2.2.4 Error cases group TP_RF_CTF_EC_Role { }//end of group TP_RF_CTF_EC_Role { } // End of group TP_RF_CTF_Role } // End of group TP_RF_Role } // End of module DiameterRfRo_Rf_TCFunctions No newline at end of file DiameterRfRo/ttcn/DiameterRfRo_TestCases.ttcn +69 −1 Original line number Diff line number Diff line Loading @@ -292,8 +292,76 @@ module DiameterRfRo_TestCases group ErrorCases { } // End of group ErrorCasses } // End of group group TP_RF_CDF_Role } // End of group TP_RF_CDF_Role // 5.2.2.2. CTF Role group TP_RF_CTF_Role { // 5.2.2.2.2 Message Syntax group TP_RF_CTF_MS_Role { /** * @desc Verify that the IUT can send an AC-Request to indicate a Charging Data Transfer. * <pre> * Pics Selection: PICS_CTF_IUT * Initial conditions: * with { * * } * Expected behaviour: * ensure that the IUT sends an AC-Request * containing a Session-ID AVP * containing an Origin-Host AVP * containing an Origin-Realm AVP * containing a Destination-Realm AVP * containing an Accounting-Record-Type AVP * containing an Accounting-Record-Number AVP * containing an Acct-Application-Id AVP * indicating the value 3 * </pre> * * @version 0.0.16 * @see ETSI DTS/INT 00121-2 V0.0.16 (2015-09) TP_RF_CTF_MS_01 */ testcase TC_RF_CTF_MS_01() runs on DiameterRfRo system TestAdapter { // Local variables var DiameterRfRo v_diameterRf_cdf; var ImsComponent v_imsComponent_ue; var ImsComponent v_imsComponent_cscf; // Test control if (not PICS_CTF_IUT) { log("*** " & __SCOPE__ & ": ERROR: 'PICS_CTF_IUT' required for executing the TC. ***"); stop; } // Test component configuration f_cf_1Rf_1Gm_1Mw_cdfUp(v_diameterRf_cdf, v_imsComponent_ue, v_imsComponent_cscf); // Start v_diameterRf_cdf.start(f_TC_CTF_MS_01()); if (PX_SIPsupport) { // v_imsComponent_ue.start(f_TC_CTF_MS_01); // v_imsComponent_cscf.start(f_TC_CTF_MS_01); } // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Rf_1Gm_1Mw_cdfDown(v_diameterRf_cdf, v_imsComponent_ue, v_imsComponent_cscf) } // End of testcase TC_RF_CDF_MS_01 }//end of group TP_RF_CTF_MS_Role // 5.2.2.2.3 Type of Charging group TP_RF_CTF_TC_Role { }//end of group TP_RF_CTF_TC_Role // 5.2.2.2.4 Error cases group TP_RF_CTF_EC_Role { }//end of group TP_RF_CTF_EC_Role { } // End of group TP_RF_CTF_Role } // End of group TP_RFRole group TP_RORole { } // End of group TP_RORole } // End of module DiameterRfRo_TestCases No newline at end of file Loading
DiameterRfRo/ttcn/DiameterRfRo_TCFunctions.ttcn +22 −1 Original line number Diff line number Diff line Loading @@ -243,6 +243,27 @@ module DiameterRfRo_TCFunctions { } // End of group TP_RF_CDF_Role // 5.2.2.2. CTF Role group TP_RF_CTF_Role { // 5.2.2.2.2 Message Syntax group TP_RF_CTF_MS_Role { /** * @desc Verify that the IUT can send an AC-Request to indicate a Charging Data Transfer. * @verdict pass on success, fail on error or inconc on timeout only */ function f_TC_CDF_MS_01() runs on DiameterRfRo { //TODO } // End of function f_TC_CTF_MS_01 }//end of group TP_RF_CTF_MS_Role // 5.2.2.2.3 Type of Charging group TP_RF_CTF_TC_Role { }//end of group TP_RF_CTF_TC_Role // 5.2.2.2.4 Error cases group TP_RF_CTF_EC_Role { }//end of group TP_RF_CTF_EC_Role { } // End of group TP_RF_CTF_Role } // End of group TP_RF_Role } // End of module DiameterRfRo_Rf_TCFunctions No newline at end of file
DiameterRfRo/ttcn/DiameterRfRo_TestCases.ttcn +69 −1 Original line number Diff line number Diff line Loading @@ -292,8 +292,76 @@ module DiameterRfRo_TestCases group ErrorCases { } // End of group ErrorCasses } // End of group group TP_RF_CDF_Role } // End of group TP_RF_CDF_Role // 5.2.2.2. CTF Role group TP_RF_CTF_Role { // 5.2.2.2.2 Message Syntax group TP_RF_CTF_MS_Role { /** * @desc Verify that the IUT can send an AC-Request to indicate a Charging Data Transfer. * <pre> * Pics Selection: PICS_CTF_IUT * Initial conditions: * with { * * } * Expected behaviour: * ensure that the IUT sends an AC-Request * containing a Session-ID AVP * containing an Origin-Host AVP * containing an Origin-Realm AVP * containing a Destination-Realm AVP * containing an Accounting-Record-Type AVP * containing an Accounting-Record-Number AVP * containing an Acct-Application-Id AVP * indicating the value 3 * </pre> * * @version 0.0.16 * @see ETSI DTS/INT 00121-2 V0.0.16 (2015-09) TP_RF_CTF_MS_01 */ testcase TC_RF_CTF_MS_01() runs on DiameterRfRo system TestAdapter { // Local variables var DiameterRfRo v_diameterRf_cdf; var ImsComponent v_imsComponent_ue; var ImsComponent v_imsComponent_cscf; // Test control if (not PICS_CTF_IUT) { log("*** " & __SCOPE__ & ": ERROR: 'PICS_CTF_IUT' required for executing the TC. ***"); stop; } // Test component configuration f_cf_1Rf_1Gm_1Mw_cdfUp(v_diameterRf_cdf, v_imsComponent_ue, v_imsComponent_cscf); // Start v_diameterRf_cdf.start(f_TC_CTF_MS_01()); if (PX_SIPsupport) { // v_imsComponent_ue.start(f_TC_CTF_MS_01); // v_imsComponent_cscf.start(f_TC_CTF_MS_01); } // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Rf_1Gm_1Mw_cdfDown(v_diameterRf_cdf, v_imsComponent_ue, v_imsComponent_cscf) } // End of testcase TC_RF_CDF_MS_01 }//end of group TP_RF_CTF_MS_Role // 5.2.2.2.3 Type of Charging group TP_RF_CTF_TC_Role { }//end of group TP_RF_CTF_TC_Role // 5.2.2.2.4 Error cases group TP_RF_CTF_EC_Role { }//end of group TP_RF_CTF_EC_Role { } // End of group TP_RF_CTF_Role } // End of group TP_RFRole group TP_RORole { } // End of group TP_RORole } // End of module DiameterRfRo_TestCases No newline at end of file