Maybe we can go with simple approach of adding a boolean data member to the sampler base class of Hidden and all listeners add a piece of code to ignore those who are marked hidden?
www.beatsoo.org - free application performance monitoring from world wide locations. On Mar 25, 2014 1:46 AM, "sebb" <[email protected]> wrote: > On 24 March 2014 20:16, Philippe Mouawad <[email protected]> > wrote: > > On Mon, Mar 24, 2014 at 1:46 PM, sebb <[email protected]> wrote: > > > >> There is already a way to drop sampler output from the results - just > >> return null. > >> > >> This is what the Test Sampler does. > >> > >> At present it does not look like the scripting samplers can return null. > >> > >> The Debug Sampler displays its results via the Listeners, so it's not > >> possible to use this mechanism to suppress Debug Sampler output. > >> > >> Would it make sense to add a property making Debug Sampler return null ? > > #debug_sampler.silente_mode=false > > Yes, but the debug sampler would then do nothing. > > > > >> However, I'm not sure it makes sense to special case the Listener > >> processing so that some samples get displayed but don't get saved. > >> > > In that case what do you propose ? > > Not sure. > > >> > >> > >> On 23 March 2014 14:35, Philippe Mouawad <[email protected]> > >> wrote: > >> > Hello, > >> > I agree , this would be even better. I have the same requirement for > >> JSR223 > >> > Samplers. > >> > > >> > Regards > >> > > >> > > >> > > >> > > >> > On Sun, Mar 23, 2014 at 3:30 PM, Shmuel Krakower <[email protected]> > >> wrote: > >> > > >> >> I would suggest to allow ignoring any sampler if user chooses it. > >> >> For example I use beanshell samplers which I mostly don't wanna > see... > >> >> > >> >> But this may get your implementation comlex... > >> >> > >> >> www.beatsoo.org - free application performance monitoring from world > >> wide > >> >> locations. > >> >> On Mar 23, 2014 4:27 PM, "Philippe Mouawad" < > [email protected] > >> > > >> >> wrote: > >> >> > >> >> > Hello, > >> >> > What do you think about the following enhancement: > >> >> > > >> >> > - Be able through a new property to not output DEBUG Sampler > >> results > >> >> in > >> >> > ResultCollector > >> >> > > >> >> > Why: > >> >> > > >> >> > - Because Debug Sampler might affect throughput results and > error > >> rate > >> >> > positively > >> >> > - I use Debug Sampler to have a more readable pause time in Test > >> Plan, > >> >> > usually when pause time are not the same between samples (I put > >> Timer > >> >> > as a > >> >> > child of Debug Sampler (all properties to false) > >> >> > - Because it is DEBUG, why would you need it in final results ? > >> >> > > >> >> > -- > >> >> > Regards. > >> >> > Philippe > >> >> > > >> >> > >> > > >> > > >> > > >> > -- > >> > Cordialement. > >> > Philippe Mouawad. > >> > > > > > > > > -- > > Cordialement. > > Philippe Mouawad. >
