jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject AssertionErrors in Samplers
Date Wed, 04 Dec 2019 18:22:39 GMT
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


Mime
View raw message