execute_k6_test
Run load tests using a k6 script by specifying the script file, test duration, and number of virtual users. Enables performance testing through AI-assisted commands.
Instructions
Execute a k6 load test.
Args: script_file: Path to the k6 test script (.js) duration: Duration of the test (e.g., "30s", "1m", "5m") vus: Number of virtual users to simulate
Input Schema
Name | Required | Description | Default |
---|---|---|---|
duration | No | 30s | |
script_file | Yes | ||
vus | No |
Input Schema (JSON Schema)
{
"properties": {
"duration": {
"default": "30s",
"title": "Duration",
"type": "string"
},
"script_file": {
"title": "Script File",
"type": "string"
},
"vus": {
"default": 10,
"title": "Vus",
"type": "integer"
}
},
"required": [
"script_file"
],
"title": "execute_k6_testArguments",
"type": "object"
}