Commit 37460c55 authored by ulrichst's avatar ulrichst
Browse files

added TC TP_SH_HSS_SN_08

parent a2c0d7c0
Loading
Loading
Loading
Loading
+54 −1
Original line number Original line Diff line number Diff line
@@ -2886,6 +2886,59 @@ module DiameterShDh_TestCases {
            
            
                 } // End of testcase TP_SH_HSS_SN_07    
                 } // End of testcase TP_SH_HSS_SN_07    
                 
                 
                /**
                 * @desc Verify that the IUT, if the Data-Reference indicates RepositoryData in the request and 
                 * the transparent data associated with the Service indication does not exist in the HSS, 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 Public Identity
		         *        containing a Data-Reference AVP
			     *           indicating RepositoryData (0)
		         *        containing a Service-Indication AVP
			     *           indicating not existing data
	             *     sends an SN-Answer
		         *        containing a Session-ID AVP
		         *        containing an Experimental-Result AVP
			     *           indicating DIAMETER_ERROR_SUBS_DATA_ABSENT.

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