Loading ttcn/DiameterShDh_TestCases.ttcn3 +117 −3 Original line number Diff line number Diff line Loading @@ -3543,7 +3543,7 @@ module DiameterShDh_TestCases { /** * @desc Verify that the IUT sends a SN-Request to subscribe to Notification. * <pre> * Pics Selection: PICS_HSS_IUT * Pics Selection: PICS_AS_AND_OSA_SCS_Role * Initial conditions: * with { * Loading Loading @@ -3581,7 +3581,7 @@ module DiameterShDh_TestCases { f_cf_1Sh_asUp(v_diameterSh_as); // Start v_diameterSh_as.start(f_TP_SH_AS_SN_01()); v_diameterSh_as.start(f_TC_SH_AS_SN_01()); // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); Loading Loading @@ -3741,6 +3741,68 @@ module DiameterShDh_TestCases { } // End of group TP_SLFRole_ProfileUpdate group TP_SLFRole_SubscriptionNotification{ /** * @desc Verify that the IUT processes an SN-Request and sends the corresponding SN-Answer. * <pre> * Pics Selection: PICS_SLF_Role * Initial conditions: * with { * * } * Expected behaviour: * Ensure that the IUT * on receipt of a SN-Request * containing a Session-ID AVP * containing a Vendor-Specific-Application-Id AVP * containing an Auth-Session-State AVP * containing an Origin-Host AVP * containing an Origin-Realm AVP * containing a Destination-Realm AVP * containing a User-Identity AVP * containing a Subs-Req-Type AVP * containing a Data-Reference AVP * sends a SN-Answer * containing a Session-ID AVP * containing a Vendor-Specific-Application-Id AVP * containing an Auth-Session-State AVP * containing an Origin-Host AVP * containing an Origin-Realm AVP * containing an Redirect-Host AVP * indicating the HSS identity to be used * not containing an Experimental-Result AVP * containing a Result-Code AVP * indicating DIAMETER_REDIRECT_INDICATION (3006). * </pre> * * @version 0.0.7 * @see ETSI TS 103 571-2 TP_DH_SLF_SN_01 */ testcase TP_DH_SLF_SN_01() runs on DiameterShDh system TestAdapter { // Local variables var DiameterShDh v_diameterSh_as; // Test control if (not PICS_AS_IUT) { log("*** " & __SCOPE__ & ": ERROR: 'PICS_HSS_IUT' required for executing the TC. ***"); stop; } // Test component configuration f_cf_1Sh_asUp(v_diameterSh_as); // Start v_diameterSh_as.start(f_TC_DH_SLF_SN_01()); // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Sh_asDown(v_diameterSh_as); } // End of testcase TP_DH_SLF_SN_01 } // End of group TP_SLFRole_SubscriptionNotification } // End of group TP_SLF_Role Loading Loading @@ -3879,6 +3941,58 @@ module DiameterShDh_TestCases { } // End of group TP_ASRole_ProfileUpdate group TP_ASRole_SubscriptionNotification{ /** * @desc Verify that the IUT for user data update procedure sends an SN-Request to the SLF and after reception * of an SN-Answer forwards the SN-Request to the HSS. * <pre> * Pics Selection: PICS_AS_AND_OSA__SCS_Role * Initial conditions: * with { * * } * Expected behaviour: * Ensure that the IUT * to indicate a subscription to notification procedure * sends a SN-Request to the SLF * on receipt of a SN-Answer from the SLF * containing a Redirect-Host AVP * indicating the HSS identity to be used * not containing an Experimental-Result AVP * containing a Result-Code AVP * indicating DIAMETER_REDIRECT_INDICATION (3006) * sends a SN-Request to the HSS * containing a Destination-Host AVP * containing a Destination-Realm AVP. * </pre> * * @version 0.0.7 * @see ETSI TS 103 571-2 TP_DH_AS_SN_01 */ testcase TP_DH_AS_SN_01() runs on DiameterShDh system TestAdapter { // Local variables var DiameterShDh v_diameterSh_as; // Test control if (not PICS_AS_IUT) { log("*** " & __SCOPE__ & ": ERROR: 'PICS_HSS_IUT' required for executing the TC. ***"); stop; } // Test component configuration f_cf_1Sh_asUp(v_diameterSh_as); // Start v_diameterSh_as.start(f_TC_DH_AS_SN_01()); // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Sh_asDown(v_diameterSh_as); } // End of testcase TP_DH_AS_SN_01 } // End of group TP_ASRole_SubscriptionNotification } // End of group TP_AS_OSARole Loading Loading
ttcn/DiameterShDh_TestCases.ttcn3 +117 −3 Original line number Diff line number Diff line Loading @@ -3543,7 +3543,7 @@ module DiameterShDh_TestCases { /** * @desc Verify that the IUT sends a SN-Request to subscribe to Notification. * <pre> * Pics Selection: PICS_HSS_IUT * Pics Selection: PICS_AS_AND_OSA_SCS_Role * Initial conditions: * with { * Loading Loading @@ -3581,7 +3581,7 @@ module DiameterShDh_TestCases { f_cf_1Sh_asUp(v_diameterSh_as); // Start v_diameterSh_as.start(f_TP_SH_AS_SN_01()); v_diameterSh_as.start(f_TC_SH_AS_SN_01()); // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); Loading Loading @@ -3741,6 +3741,68 @@ module DiameterShDh_TestCases { } // End of group TP_SLFRole_ProfileUpdate group TP_SLFRole_SubscriptionNotification{ /** * @desc Verify that the IUT processes an SN-Request and sends the corresponding SN-Answer. * <pre> * Pics Selection: PICS_SLF_Role * Initial conditions: * with { * * } * Expected behaviour: * Ensure that the IUT * on receipt of a SN-Request * containing a Session-ID AVP * containing a Vendor-Specific-Application-Id AVP * containing an Auth-Session-State AVP * containing an Origin-Host AVP * containing an Origin-Realm AVP * containing a Destination-Realm AVP * containing a User-Identity AVP * containing a Subs-Req-Type AVP * containing a Data-Reference AVP * sends a SN-Answer * containing a Session-ID AVP * containing a Vendor-Specific-Application-Id AVP * containing an Auth-Session-State AVP * containing an Origin-Host AVP * containing an Origin-Realm AVP * containing an Redirect-Host AVP * indicating the HSS identity to be used * not containing an Experimental-Result AVP * containing a Result-Code AVP * indicating DIAMETER_REDIRECT_INDICATION (3006). * </pre> * * @version 0.0.7 * @see ETSI TS 103 571-2 TP_DH_SLF_SN_01 */ testcase TP_DH_SLF_SN_01() runs on DiameterShDh system TestAdapter { // Local variables var DiameterShDh v_diameterSh_as; // Test control if (not PICS_AS_IUT) { log("*** " & __SCOPE__ & ": ERROR: 'PICS_HSS_IUT' required for executing the TC. ***"); stop; } // Test component configuration f_cf_1Sh_asUp(v_diameterSh_as); // Start v_diameterSh_as.start(f_TC_DH_SLF_SN_01()); // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Sh_asDown(v_diameterSh_as); } // End of testcase TP_DH_SLF_SN_01 } // End of group TP_SLFRole_SubscriptionNotification } // End of group TP_SLF_Role Loading Loading @@ -3879,6 +3941,58 @@ module DiameterShDh_TestCases { } // End of group TP_ASRole_ProfileUpdate group TP_ASRole_SubscriptionNotification{ /** * @desc Verify that the IUT for user data update procedure sends an SN-Request to the SLF and after reception * of an SN-Answer forwards the SN-Request to the HSS. * <pre> * Pics Selection: PICS_AS_AND_OSA__SCS_Role * Initial conditions: * with { * * } * Expected behaviour: * Ensure that the IUT * to indicate a subscription to notification procedure * sends a SN-Request to the SLF * on receipt of a SN-Answer from the SLF * containing a Redirect-Host AVP * indicating the HSS identity to be used * not containing an Experimental-Result AVP * containing a Result-Code AVP * indicating DIAMETER_REDIRECT_INDICATION (3006) * sends a SN-Request to the HSS * containing a Destination-Host AVP * containing a Destination-Realm AVP. * </pre> * * @version 0.0.7 * @see ETSI TS 103 571-2 TP_DH_AS_SN_01 */ testcase TP_DH_AS_SN_01() runs on DiameterShDh system TestAdapter { // Local variables var DiameterShDh v_diameterSh_as; // Test control if (not PICS_AS_IUT) { log("*** " & __SCOPE__ & ": ERROR: 'PICS_HSS_IUT' required for executing the TC. ***"); stop; } // Test component configuration f_cf_1Sh_asUp(v_diameterSh_as); // Start v_diameterSh_as.start(f_TC_DH_AS_SN_01()); // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(f_NrofComps(), {c_prDone, c_tbDone, c_poDone}); f_cf_1Sh_asDown(v_diameterSh_as); } // End of testcase TP_DH_AS_SN_01 } // End of group TP_ASRole_SubscriptionNotification } // End of group TP_AS_OSARole Loading