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.
This variable is the target hostname (FQDN) with HTTP scheme such as 'https://www.example.com.'
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.'
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).
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).
Notice: Install only into Heroku Private Space.