Commit 89ce99d5 authored by ulrichst's avatar ulrichst
Browse files

added test case description f_TC_SH_HSS_SN_02

parent cdf9e109
Loading
Loading
Loading
Loading
+3411 −3358
Original line number Diff line number Diff line
@@ -2584,6 +2584,59 @@ module DiameterShDh_TestCases {
            
                } // End of testcase TP_SH_HSS_SN_01 
                
				/**
				 * @desc Verify that the IUT replies with an SN-Answer with the appropriate experimental result 
				 * code when the AS does not have the Sh-Subs-Notif permission.
				 * <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
                 *              containing a Data-Reference AVP
                 *          sends an SN-Answer
                 *              containing an Experimental-Result AVP
                 *              indicating DIAMETER_ERROR_USER_DATA_CANNOT_BE_NOTIFIED

				 * </pre>
				 * 
				 * @version    0.0.7
				 * @see        ETSI TS 103 571-2 TP_SH_HSS_SN_01
				 */
				testcase TP_SH_HSS_SN_02() 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_02()); 
            
					// 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_02 
    
            } // End of group TP_HSSRole_SubscriptionNofification 
            
            group TP_HSSRole_PushNofification {