Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mozilla/donate-wagtail-locust
DEPRECATED - Load testing the new Donate site using https://locust.io
https://github.com/mozilla/donate-wagtail-locust
abandoned unmaintained
Last synced: 5 days ago
JSON representation
DEPRECATED - Load testing the new Donate site using https://locust.io
- Host: GitHub
- URL: https://github.com/mozilla/donate-wagtail-locust
- Owner: mozilla
- Archived: true
- Created: 2019-09-24T20:14:02.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T22:54:31.000Z (over 1 year ago)
- Last Synced: 2024-10-29T09:59:06.067Z (11 days ago)
- Topics: abandoned, unmaintained
- Language: Python
- Size: 11.7 KB
- Stars: 3
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - mozilla/donate-wagtail-locust - DEPRECATED - Load testing the new Donate site using https://locust.io (others)
README
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` |