jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <>
Subject Re: Customizing the evaluation order of assertions?
Date Tue, 06 Apr 2010 20:40:42 GMT
I dont think there is any way to do this. I had to do something similar and
I ended up resolving the order while generating the result (i.e. a custom
stylesheet which picked out the assertions in the order that I wanted).
Whats the reason behind wanting the order other than you know if the
beanshell fails the other assertions will also probably fail?


On Tue, Apr 6, 2010 at 1:21 PM, Jah Ayree <> wrote:

> I have a interesting situation where I've supplied the usual Response
> Assertions for each Sampler, yet I also want to have a BeanShell Assertion
> at the test suite level to catch service errors that may occur to any
> Sampler (and I don't want to code an assertion for such errors with each
> Sampler, that's over-kill).
> As is, it mostly works -- I put a BeanShell Assertion at the test suite
> level and it catches the service errors when they occur nicely.
> Unfortunately, however, the BeanShell Assertion is evaluated *after* any
> Sampler Assertions -- which is not the order I want.
> So, my question is this: Is there a way to instruct JMeter to evaluate
> Assertions registered at parent levels *BEFORE* it evaluates assertions
> registered at the Sampler level?
> TIA,
> yjah

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message