Loading ttcn/DiameterShDh_TestCases.ttcn3 +63 −1 Original line number Original line Diff line number Diff line Loading @@ -2939,6 +2939,68 @@ module DiameterShDh_TestCases { } // End of testcase TP_SH_HSS_SN_08 } // End of testcase TP_SH_HSS_SN_08 /** * @desc Verify that the IUT, if the Subscription request type information element indicates a request to subscribe, * the IUT associates the AS Identity with the list of entities that need to be notified when the data identified by * the request is modified and sets the Result-Code to DIAMETER_SUCCESS in the Sh-Subs-Notify response. * * <pre> * Pics Selection: PICS_HSS_IUT * Initial conditions: * with { * * } * Expected behaviour: * Ensure that the IUT * on receipt of an 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 * indicaining Subscribe (0) * sends an SN-Answer * containing a Session-ID AVP * containing a Result-Code AVP * indicating DIAMETER_SUCCESS * containing a Vendor-Specific-Application-Id AVP * containing an Auth-Session-State AVP * containing an Origin-Host AVP * containing an Origin-Realm AVP. * </pre> * * @version 0.0.7 * @see ETSI TS 103 571-2 TP_SH_HSS_SN_09 */ testcase TP_SH_HSS_SN_09() 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_SH_HSS_SN_09()); // 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_SH_HSS_SN_09 } // End of group TP_HSSRole_SubscriptionNofification } // End of group TP_HSSRole_SubscriptionNofification group TP_HSSRole_PushNofification { group TP_HSSRole_PushNofification { Loading Loading
ttcn/DiameterShDh_TestCases.ttcn3 +63 −1 Original line number Original line Diff line number Diff line Loading @@ -2939,6 +2939,68 @@ module DiameterShDh_TestCases { } // End of testcase TP_SH_HSS_SN_08 } // End of testcase TP_SH_HSS_SN_08 /** * @desc Verify that the IUT, if the Subscription request type information element indicates a request to subscribe, * the IUT associates the AS Identity with the list of entities that need to be notified when the data identified by * the request is modified and sets the Result-Code to DIAMETER_SUCCESS in the Sh-Subs-Notify response. * * <pre> * Pics Selection: PICS_HSS_IUT * Initial conditions: * with { * * } * Expected behaviour: * Ensure that the IUT * on receipt of an 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 * indicaining Subscribe (0) * sends an SN-Answer * containing a Session-ID AVP * containing a Result-Code AVP * indicating DIAMETER_SUCCESS * containing a Vendor-Specific-Application-Id AVP * containing an Auth-Session-State AVP * containing an Origin-Host AVP * containing an Origin-Realm AVP. * </pre> * * @version 0.0.7 * @see ETSI TS 103 571-2 TP_SH_HSS_SN_09 */ testcase TP_SH_HSS_SN_09() 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_SH_HSS_SN_09()); // 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_SH_HSS_SN_09 } // End of group TP_HSSRole_SubscriptionNofification } // End of group TP_HSSRole_SubscriptionNofification group TP_HSSRole_PushNofification { group TP_HSSRole_PushNofification { Loading