Skip to content

Sample project for creation load testing using locust framework

License

Notifications You must be signed in to change notification settings

renanviana/load-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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