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:
LoadNinja has different settings for UI and API load scenarios.
UI-test scenarios
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. The available range is from 100 to 10 000 milliseconds: |
Random |
LoadNinja will use random Think Time values in the range from 100 to 5 000 milliseconds. |
Minimum |
LoadNinja will ignore Think Time values specified in tests and will use the minimal possible think time (100 ms). |
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. |
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
This setting overrides the Event timeout 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