https://github.com/wisembly/tmc
Locust Test Montée en Charge
https://github.com/wisembly/tmc
Last synced: about 1 year ago
JSON representation
Locust Test Montée en Charge
- Host: GitHub
- URL: https://github.com/wisembly/tmc
- Owner: Wisembly
- License: mit
- Created: 2022-11-25T07:46:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-04T13:53:37.000Z (almost 2 years ago)
- Last Synced: 2025-01-20T21:56:29.259Z (about 1 year ago)
- Language: Python
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Locust
### Install
```bash
terraform init
export SCW_ACCESS_KEY="XXXXXXXXXXXXXXXXXXXX"
export SCW_SECRET_KEY="xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
```
### Launch
```bash
terraform apply -var="tasks_url=https://gist.githubusercontent.com/guillaumepotier/fee14623614f64035cd53da92298e10d/raw/b49c688a13879a57535b6bfaebf5461eb7999f0e/loading_quotes_moods.py" -var="locust_username=guillaume" -var="locust_password=wisembly" -var="workers_nb=9"
```
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 0.13 |
## Providers
| Name | Version |
|------|---------|
| [scaleway](#provider\_scaleway) | n/a |
## Modules
| Name | Source | Version |
|------|--------|---------|
| [master](#module\_master) | ./modules/master | |
| [worker](#module\_worker) | ./modules/worker | |
## Resources
| Name | Type |
|------|------|
| [scaleway_instance_image.locust](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/data-sources/instance_image) | data source |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [locust\_password](#input\_locust\_password) | Locust Password | `string` | n/a | yes |
| [locust\_username](#input\_locust\_username) | Locust Username | `string` | n/a | yes |
| [tasks\_url](#input\_tasks\_url) | Where to download the tasks | `string` | n/a | yes |
| [workers\_nb](#input\_workers\_nb) | n/a | `number` | `5` | no |
## Outputs
No outputs.