mirror of
https://github.com/helm/chartmuseum.git
synced 2026-02-05 15:45:50 +01:00
28 lines
509 B
Markdown
28 lines
509 B
Markdown
|
|
Loadtesting is made with the excellent Python [locust](https://locust.io/) library.
|
||
|
|
|
||
|
|
To facilitate installation, this loadtesting subproject uses pipenv.
|
||
|
|
|
||
|
|
Install pipenv
|
||
|
|
|
||
|
|
```
|
||
|
|
pip install pipenv
|
||
|
|
```
|
||
|
|
|
||
|
|
Install chartmuseum locust loadtesting
|
||
|
|
|
||
|
|
```
|
||
|
|
cd loadtesting
|
||
|
|
pipenv install
|
||
|
|
```
|
||
|
|
|
||
|
|
Start chartmuseum.
|
||
|
|
|
||
|
|
Start locust:
|
||
|
|
|
||
|
|
```
|
||
|
|
# run locust on a running chartmuseum instance
|
||
|
|
pipenv run locust --host http://localhost:8080
|
||
|
|
```
|
||
|
|
|
||
|
|
Open your locust console in your browser at http://localhost:8089, and start a new loadtest.
|