During a test case execution, a VU typically issues all requests in a test case iteration before going to the next iteration. In some cases, it may be desirable to stop executing the test case iteration when an error occurs. For example, if an error happens during the login process, then subsequent requests will fail due to failed authentication. Setting the Action on error or timeout property allows you to select desirable behavior in such situations.

Available options:

  • Continue to continue the current iteration (Default).
  • Abort Iteration to stop the current iteration, and start a new one.
  • Abort VU to stop the current iteration and don't start new iterations by this VU.
  • Go to the last transaction: to skip to the last top-level transaction in the test case, it's usually the logout transaction, and start a new iteration.


Failed iteration

If an error or timeout occurs (with any setting but Continue), the executing iteration is marked as failed.


Note

The selected behavior will be unconditionally imposed in case of any request error or timeout (not including requests that are marked to ignore error). To apply this behavior selectively, use validators.







  • No labels