Am 25.02.21 um 01:23 schrieb Nikola Aleksic: > Hello, > > In the attached jmx file I created an example of how Debug > PostProcessor works when set as a parent element to all child Samplers > that are contained in the Module controller. This way the user doesn't > have to put it as a child in every existing sample in order to debug it. > > However, when a test is run, Debug PostProcessor is executed *before* > child extractors that are contained in Passed and Failed samplers. > What I would like to achieve is that Debug PostProcessor is executed > *after the last assertion* in order to pick all variables from child > extractors and to check whether sampler has failed or not, and in case > if failed to Debug only those samplers - create Debug subsampler like > Debug PostProcessor does. > > I copied code from "DebugPostProcessor.java" that is contained in > "apache-jmeter-5.5-SNAPSHOT_src.zip" file, into JSR223 Listener, but I > couldn't achieve to generate Debug subsampler. > > Could anyone help me how I can solve this? > > Does it make sense to suggest new element "Debug Listener" which will > have all options like Debug PostProcessor, but also could have options > to choose whether to debug passed and/or failed ones? --> "Display > only: [checkbox] Errors [checkbox] Success" (like we have in all > listeners)
If it makes sense to you, then open an enhancement issue and maybe someone will add such a listener. Felix > > Regards, > Nikola > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]
