/load-testing

Sample project for creation load testing using locust framework

Primary LanguageDockerfileMIT LicenseMIT

Load Testing with locust

Sample project for creation load testing using locust framework

Prerequisites

Usage

Run this command to create containers

docker compose up

Ready!

Note you can now access the API via browser:

http://localhost:8000

Access the locust interface to execute load testing:

http://localhost:8089

Include the number of users to test, and spawn rate to each user, start test.

After tests, you can remove all containers: (WARNING: This command will remove all containers in your docker!)

docker rm $(docker ps -aq)

License

MIT

Author