Failure paths

How to set failure paths.

If you want your test to take different steps when a specific action fails, you can create a failure path and define sequences of actions for it (for example, a Publish action can fail to publish a message, or a subscriber can fail to subscriber properly or an incoming message might not pass validation). The Add failure path option can be selected from a test action’s menu:

When this option is selected, nested failure path actions are automatically added to the sequence:

A series of actions can then be nested under the failure path actions, as shown. In this case, the corresponding failure notification messages are displayed and the test is set to fail.

Note: If you change the action type for a test step (for example, Subscribe to Publish), any existing failure paths are removed.

Feedback