Commit 0823ddc3 authored by ulrichst's avatar ulrichst
Browse files

added TC TP_SH_HSS_SN_03

parent 21e8481f
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
@@ -2638,6 +2638,53 @@ module DiameterShDh_TestCases {
            
                 } // End of testcase TP_SH_HSS_SN_02 

                /**
                 * @desc Verify that the IUT sends an SN-Answer with the appropriate experimental result code 
                 * when a User Identity does not exist.
                 * <pre>
                 * Pics Selection: PICS_HSS_IUT
                 * Initial conditions: 
                 *     with {
                 *        
                 *     }
                 * Expected behaviour:
                 *     Ensure that the IUT
	             *       on receipt of an SN-Request
		         *          containing a User-Identity AVP
			     *              indicating not existing user
	             *       sends an SN-Answer
		         *          containing an Experimental-Result AVP
			     *              indicating DIAMETER_ERROR_USER_UNKNOWN


                 * </pre>
                 * 
                 * @version    0.0.7
                 * @see        ETSI TS 103 571-2 TP_SH_HSS_SN_03
                 */
                 testcase TP_SH_HSS_SN_03() 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_03()); 
            
                    // 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 {