Flow

It’s a control item that allows you to stop the test at a certain step or pause it for a while.

Parameters:

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

Command: it’s the action you want to take. ‘stop’ means you want to stop the test if a certain condition happens or at a specific point; this is useful when there is a major issue so it does not make sense that the following code is checked. ‘wait’ if you want to pause the test for a while for any reason; this is useful when, for example, there are restrictions with the threshold.

Value: the milliseconds you want to pause the test.

Examples:

if the statusCode is not ‘200’ the test will be halt; none of the following assertions will be checked.

it will wait 1000 milliseconds before doing the GET.