jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: AssertionErrors in Samplers
Date Wed, 04 Dec 2019 21:08:40 GMT
Hello Felix,
Could you provide a sample test showing issue ?
It's not clear for me.
Thanks

On Wed, Dec 4, 2019 at 7:22 PM Felix Schumacher <
felix.schumacher@internetallee.de> wrote:

> Hi all,
>
> today I tried to simulate a failing sampler and used a JSR223 Sampler
> together with an groovy assertion (I was lazy and thought it would be
> simple). But instead of being counted as a failed request, the assertion
> went through the whole stack and the request was not forwarded to the
> listeners.
>
> In assertions we catch AssertionErrors and convert them to a failed
> request.
>
> Should we handle those errors the same way for the sample step (or even
> the pre- and postprocessors)?
>
> Felix
>
>

-- 
Cordialement.
Philippe Mouawad.

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