JMeter – Result Status Action Handler

Result Status Action Handler element is used as a post-processor to take action in case of failure of the request. There are certain options given that instruct the JMeter thread that what to do next.

Some of the options (actions) you can see in the thread group element. The thread group ‘Action to be taken after a Sampler error’ setting is overridden by this postprocessor.

JMeter - Result Status Action Handler
Figure 01

How to add a ‘Result Status Action Handler’?

Follow the below steps:

  1. Select the ‘Sampler’ where you want to add this post-processor
  2. Right-click on the node
  3. Hover the mouse on ‘Add’
  4. Hover the mouse on ‘Post Processors’
  5. Click ‘Result Status Action Handler’

Inputs Options:

‘Result Status Action Handler’ has the following input options:

  1. Action to be taken after a Sampler error: Actions taken in case of sampler error occurs, either because the sample itself failed or an assertion failed etc. The possible choices are:
    1. Continue: To ignore the error and continue with the test
    2. Start Next Loop: To ignore the error, start the next loop and continue with the test
    3. Stop Thread: To stop the current thread and exit the thread
    4. Stop Test: The entire test is stopped at the end of any current samples.
    5. Stop Test Now: The entire test is stopped abruptly. Any current samplers are interrupted if possible.
    6. Break Current Loop: To exit from the existing loop.
    7. Go to the next iteration of Current Loop: To start the next iteration

You may be interested: