- Notifications
You must be signed in to change notification settings - Fork0
Script for pinging the site, either for simulating traffic or for monitoring
License
studentinsights/studentinsights-pinger
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Install Docker and Compose.
$ docker-compose build pinger$ docker-compose run pinger
You'll see an error about environment variables not being set. These are credentials to the production site, so you need to talk to someone to get them. Pass each variable todocker-compose
with-e
like this:
$ docker-compose run -e FOO=bar -e SECRET=blah pinger
This useshttps://github.com/stomita/heroku-buildpack-phantomjs to provide the PhantomJS binary.
There's a task scheduled to run at regular intervals. If you'd like to run more, you can spin up worker dynos. They'll run through the script, finish, and then restart the script indefinitely. You can spin up as many as you like (keeping in mind this will add load to the production site), although this is intended more for simulating low levels of constant requests and for monitoring, rather than for load testing per se.
About
Script for pinging the site, either for simulating traffic or for monitoring
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.