Last modified on June 29, 2020.

You use the Playback settings to configure various time values in simulated tests. To enable these settings, select the Override playback times and timeouts configured in test check box first. If this check box is clear, the test engine will use the timeout values set in your UI (or API) tests:

Playback settings

Click the image to enlarge it.

LoadNinja has different settings for UI and API load scenarios.

UI-test scenarios

Playback Time (millisec)

To simulate pauses between user actions in UI tests, LoadNinja records Think Time commands. This setting overrides the Think Time setting of the UI tests to be simulated in the scenario. The following values are possible:

Value Description

Fixed

LoadNinja will use the specified duration to all Think Time commands in the test (in milliseconds):

Setting fixed think time

Random

LoadNinja will use random Think Time values in the range from 100 ms to 1 min 100 ms.

Minimum

LoadNinja will ignore Think Time values specified in tests and will use the minimal possible think time (100 ms).
Setting this value will streamline the test (it will work as fast as possible), but may break the test, if the latter needs a pause in certain cases, for example, if at certain point the page needs to run a client-side script before simulating further actions.

Recorded

LoadNinja will use the duration that is set in the script recorder. If you have not changed Think Time values in the test, then this will be the recorded duration.

Timeout Test After (sec)

This setting overrides the Timeout Test After setting of simulated UI tests. It specifies the number of seconds LoadNinja will wait when it doesn’t find some web element during a script run, or before a web page is loaded. If the specified timeout elapses and the needed web page or object doesn’t appear, LoadNinja logs an error.

API-test scenarios

Timeout Test After (sec)

This setting overrides the Timeout delay setting of simulated API tests. It specifies the number of seconds the test engine waits for a response after sending a request. If the test engine doesn’t receive the response within the specified interval, it logs an error.

See Also

Load Distribution Settings
Load Configuration Settings
Error Handling Settings
Scenarios

Highlight search results