Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 976 Bytes

README.md

File metadata and controls

48 lines (30 loc) · 976 Bytes

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