Skip to content

sho7650/heroku-locust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Locust on Heroku with Private Spaces

This app is the minimum sample code of Locust which is the excellent and powerful graphical stress tool running on Heroku with Private Space. This Locust set Master/Slave configuration, and then you need to run your web dyno and worker dyno(s). You can run your test scenarios right now after setting some environmental variables.

Envirionmental variables

HOSTNAME: (required)

This variable is the target hostname (FQDN) with HTTP scheme such as 'https://www.example.com.'

URI?: (optional)

These variables are the target site's path from starts with '/.' The default value is '/.' Your need multiple test scenarios to set various environmental variables and the ? is the serial number of your test scenario begins with '1.'

MIN_WAIT: (optional)

This variable is the minimum time respectively, in milliseconds, that a simulated user will wait between MIN_WAIT and MAX_WAIT executing each task. The default value is 5000(ms).

MAX_WAIT: (optional)

This variable is the maximum time respectively, in milliseconds, that a simulated user will wait between MIN_WAIT and MAX_WAIT executing each task. The default value is 15000(ms).

Heroku Button

Notice: Install only into Heroku Private Space.

Deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages