When you are using a JSR 223 sampler, you are in full programmatic control
of the sample and its result.

I find it most helpful to get right into the JavaDocs for, in this case,
the SampleResult:
https://jmeter.apache.org/api/index.html?org/apache/jmeter/samplers/SampleResult.html

>From your description, it sounds like some exception handling and explicit
setting of your result state will help. For example, see `setSuccessful`.

I hope that helps.

On Wed, Dec 30, 2020 at 8:40 AM Tong Sun <[email protected]> wrote:

> Hi,
>
> My JSR223 steps have problems, some even have exceptions, but viewing
> from View Result Tree, they are all green and correct.
>
> How to mark those JSR223 steps that have problems red and failed?
>
> I tried to throw an exception, but that killed the whole thread.
>
> thx
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

-- 
Mark Miller

Reply via email to