2018-06-14 20:26:41 +03:00
|
|
|
# Firefox Monitor Loadtests
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
- Python 3.6
|
|
|
|
- pip
|
2018-06-15 06:22:19 +03:00
|
|
|
- virtualenv
|
2018-06-14 20:26:41 +03:00
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
2018-06-15 06:22:19 +03:00
|
|
|
```sh
|
|
|
|
$ virtualenv venv -p python3
|
|
|
|
$ source ./venv/bin/activate
|
|
|
|
$ pip install -r requirements.txt
|
2018-06-14 20:26:41 +03:00
|
|
|
```
|
2018-06-15 06:22:19 +03:00
|
|
|
|
|
|
|
## Running the load tests
|
|
|
|
|
|
|
|
To run the exquisite load tests, simply run <kbd>$ ./run.sh</kbd>.
|
|
|
|
To modify the default settings, tweak the settings in ./molotov.env.
|
|
|
|
|
|
|
|
By default, the load tests will run for 180s (3 minutes), with 20 processes (each w/ 10 workers, for a total of 200 workers).
|
|
|
|
|
|
|
|
```ini
|
|
|
|
DURATION=180
|
|
|
|
PROCESSES=20
|
|
|
|
WORKERS=10
|
2018-06-14 20:26:41 +03:00
|
|
|
```
|