Commit 56b9cf91 authored by ulrichst's avatar ulrichst
Browse files

added TC TP_SH_HSS_SN_05

parent 86c22ec5
Loading
Loading
Loading
Loading
+50 −1
Original line number Diff line number Diff line
@@ -2733,6 +2733,55 @@ module DiameterShDh_TestCases {
            
                 } // End of testcase TP_SH_HSS_SN_04     
                 
                /**
                 * @desc Verify that the IUT, if the type of User Identity does not apply according to Table 7.6.1
                 *  due to the Data-Reference indicated in the request, 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 MSISDN
		         *           containing a Data-Reference AVP
			     *               indicating RepositoryData (0)
	             *        sends an SN-Answer
		         *            containing an Experimental-Result AVP
			     *               indicating DIAMETER_ERROR_OPERATION_NOT_ALLOWED.

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