Commit 79063580 authored by ulrichst's avatar ulrichst
Browse files

added TC TP_SH_HSS_SN_04

parent 21c5f552
Loading
Loading
Loading
Loading
+49 −1
Original line number Diff line number Diff line
@@ -2683,7 +2683,55 @@ module DiameterShDh_TestCases {
            
                    f_cf_1Sh_asDown(v_diameterSh_as);
            
                 } // End of testcase TP_SH_HSS_SN_02 
                 } // End of testcase TP_SH_HSS_SN_03 
                 
                 
                /**
                 * @desc Verify that the IUT, checks if the Private Identity does not corresponds to an IMPU/MSISDN,
                 *  and if not the IUT returns an SN-Answer with the appropriate experimental result code.
                 * <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 related Private Identity
		         *           containing a User-Name AVP
			     *                indicating Private Identity
	             *        sends an SN-Answer
		         *           containing an Experimental-Result AVP
			     *                indicating DIAMETER_ERROR_IDENTITIES_DONT_MATCH.
                 * </pre>
                 * 
                 * @version    0.0.7
                 * @see        ETSI TS 103 571-2 TP_SH_HSS_SN_04
                 */
                 testcase TP_SH_HSS_SN_04() 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_04()); 
            
                    // 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_04                  
    
            } // End of group TP_HSSRole_SubscriptionNofification