LoadTestServer is a Rails app that allows you to create, run, and store results for load tests. Fully dockerized.
This gets added when running rake db:setup_initial. Will only add if there are no users in the database, so this can be run at any time afterwards too.
Username: [email protected] Password: test1234
- Fully dockerized, no annoying ruby env setups, only Docker
- Linear loading of users up and down, with the ability to create complicated scenarios.
- Create custom user scenarios by GET/POST against web endpoints with the ability to do params too
- Store AWS EC2/RDS instances CloudWatch metric data while load testing is occurring
- View test results and metrics data
- Latest Rails 5 and Ruby 2.4.1
- Install Docker https://www.docker.com
- Run
./helpers/build.sh development.yml
then./helpers/run.sh development.yml
to run locally - Go to http://localhost:8080
- docker-machine ps
- Lists machines that are currently running/stopped/etc...
- docker-machine env NAME_OF_MACHINE
- Replace NAME_OF_MACHINE with the name given in docker-machine ls
- eval "$(docker-machine env NAME_OF_MACHINE)"
- Adds environment variables to shell session so you are using the correct virtual machine
- docker-compose up
- Builds/updates/runs docker container using the docker-compose.yml.
- docker-machine stop NAME_OF_DOCKER_MACHINE
- Stops machine
- docker-machine rm NAME_OF_DOCKER_MACHINE
- Removes machine