Sign inSign up

delermando/locust-load-test

By delermando

•Updated about 10 years ago

Locust Load Test

Image
0

144

delermando/locust-load-test repository overview

Docker Pulls Docker Layers Docker Version

⁠Locust Load Test

⁠Introduction

This is simple project that Dockerize Locust tool, allowing you to simply and quickly test.

⁠Requirements:

  1. git
  2. docker
  3. docker-compose

⁠How to use:

1ª Step: Clone this project
git clone [email protected]:Delermando/locust-load-test.git

2ª Step: Access the project folder
cd locust-load-test

3ª Step: Define test settings, editing the configuration file src/load_test_definition.py, on that you'll change the property host. If you want to define other configurations access locust.io⁠.
![Definition test file] (https://s32.postimg.org/fww94rmat/image.png⁠)

4ª Step: Start containers
make run

5ª Step: Access the locust interface on browser on the following address localhost:8089
![Locust Web Interface] (https://s32.postimg.org/uu4q5rzj9/image.png⁠)

6ª Step: First define the number of requests, concurrent users and so click on Start Swarming button.
![Requestes definition] (https://s32.postimg.org/morq4qhlx/image.png⁠)

7ª Step: Now enjoy
![End screenl] (https://s32.postimg.org/4zzzd45ut/image.png⁠)

⁠Commands Refence

  • make run (Start the project containers)
  • make kill (Kill all containers)
  • make rm (Remove all containers)
  • make restart (Restart it's a combination of the kill, rm and run commands)

Tag summary

Content type

Image

Digest

Size

266.6 MB

Last updated

about 10 years ago

docker pull delermando/locust-load-test:1.0