What is Load Impact’s default sleep time?

Sleeps are used to simulate user think time (page view time etc) in order to accurately emulate the expected behavior of real users on the site. When a test is being run, users must complete the whole User Scenario before any User load times can be reported. This includes waiting for all the sleeps in the User scenario (though sleeps are not included in the User Load Time calculation). This means that at 50 VUs, some users will be in the sleeping stage of the scenario while others will be actively calling data from the servers, similar to what would happen in real life.

You can identify and adjust sleeps in our load testing script. The default sleep (if you auto-generate the script) would look like this:

client.sleep(math.random(20000, 40000), 1000)

The first two values indicate the interval of unit time to sleep for, while the last value sets the unit of time to use, where the default value is 1 second. Our default sleep time is thus a random sleep time between 20 to 40 seconds.

If you’re recording a script, we will take the sleep time from the length of time you paused on the page before clicking on the next link. If you feel that this is not an accurate picture of your actual , feel free to edit it later.

Feedback and Knowledge Base