DEPRECATED - Load testing the new Donate site using https://locust.io
Перейти к файлу
Christopher DeCairos f352aab814 fixes in dockerfiles and the test variables 2019-09-27 12:54:03 -04:00
dockerfiles fixes in dockerfiles and the test variables 2019-09-27 12:54:03 -04:00
k8s fixes in dockerfiles and the test variables 2019-09-27 12:54:03 -04:00
scripts k8s configuration, Makefile to help build images, changes to dockerfiles 2019-09-27 09:29:02 -04:00
.gitignore update gitignore, use a test braintree nonce 2019-09-24 16:52:09 -04:00
Makefile k8s configuration, Makefile to help build images, changes to dockerfiles 2019-09-27 09:29:02 -04:00
README.md Set up for running in distributed mode using Docker 2019-09-26 14:44:48 -04:00
requirements.txt Initial Commit 2019-09-24 16:18:04 -04:00
sample.env Set up for running in distributed mode using Docker 2019-09-26 14:44:48 -04:00
stress_test.py fixes in dockerfiles and the test variables 2019-09-27 12:54:03 -04:00

README.md

donate-wagtail-locust

This project aims to help us in capacity planning for the new wagtail based donate platform we're launching in late 2019.

Running with Docker locally

  1. docker build -t donate-locust .
  2. Copy the sample environment file, and customize it to your needs: cp sample.env .env.
  3. docker run --env-file .env -p 8089:8089 --add-host "localhost:$HOST_IP_ADDR" -it donate-locust

Environment variables

Variable Description
TARGET_URL The hostname (including protocol) of the wagtail-donate stack to test. Required.
LOCUST_MODE Start locust in the specified mode. One of standalone, leader, or follower. Optional, defaults to standalone
LOCUST_LEADER_HOST When running in distributed mode, this variable tells followers where to connect to the leader node. Required when LOCUST_MODE is standalone
LOCUST_LEADER_PORT When running in distributed mode, this variable tells followers what port number the leader mode is listening for follower nodes on. optional, defaults to 5557