Commit 626ff5a1 authored by ulrichst's avatar ulrichst
Browse files

added TC TP_SH_AS_SN_01

parent 255578b1
Loading
Loading
Loading
Loading
+51 −0
Original line number Original line Diff line number Diff line
@@ -3539,6 +3539,57 @@ module DiameterShDh_TestCases {
            } // End of group TP_ASRole_UserData
            } // End of group TP_ASRole_UserData
            
            
            group TP_ASRole_SubscriptionNotification{
            group TP_ASRole_SubscriptionNotification{
                
                /**
                 * @desc Verify that the IUT sends a SN-Request to subscribe to Notification.
                 * <pre>
                 * Pics Selection: PICS_HSS_IUT
                 * Initial conditions: 
                 *     with {
                 *        
                 *     }
                 * Expected behaviour:
                 *     Ensure that the IUT
                 *         to indicate to subscribe to Notification
                 *         sends 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
                 *             containing a Data-Reference AVP.

                 * </pre>
                 * 
                 * @version    0.0.7
                 * @see        ETSI TS 103 571-2 TP_SH_AS_SN_01
                 */
                testcase TP_SH_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_TP_SH_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_SH_AS_SN_01 
                
            } // End of group TP_ASRole_SubscriptionNotification
            } // End of group TP_ASRole_SubscriptionNotification
            
            
            group TP_ASRole_PushNotification{
            group TP_ASRole_PushNotification{