run_locust
Execute load testing with Locust by configuring users, spawn rate, runtime, and host. Input a test file to simulate and analyze performance under specific conditions.
Instructions
Run Locust with the given configuration.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
headless | No | ||
host | No | http://localhost:8089 | |
runtime | No | 30s | |
spawn_rate | No | ||
test_file | Yes | ||
users | No |
Input Schema (JSON Schema)
{
"properties": {
"headless": {
"default": true,
"title": "Headless",
"type": "boolean"
},
"host": {
"default": "http://localhost:8089",
"title": "Host",
"type": "string"
},
"runtime": {
"default": "30s",
"title": "Runtime",
"type": "string"
},
"spawn_rate": {
"default": 10,
"title": "Spawn Rate",
"type": "integer"
},
"test_file": {
"title": "Test File",
"type": "string"
},
"users": {
"default": 100,
"title": "Users",
"type": "integer"
}
},
"required": [
"test_file"
],
"title": "run_locustArguments",
"type": "object"
}