Flow

This component allows you to pause or stop a test entirely.

Parameters:

Name Type/Value Required
Command ‘stop’, ‘wait’ Yes
Value (depends on ‘Command = wait’) Number Yes

Command: This parameter defines the action you want to take. ‘Stop’ will stop the test. ‘Wait’ will pause the test for a number of milliseconds defined in the ‘Value’ parameter.

Value: The number of milliseconds you want to pause the test for.

 

This component is especially useful when combined with the “If” component. See the examples below:

If the statusCode is not ‘200’, the test will be halt; none of the remaining assertions will be checked.

In this example, the test will wait 1000 milliseconds before performing the GET request.