Run k6 Load Test
k6_run_testExecute a k6 performance test. Returns an execution ID for polling status. Supports overriding VUs, duration, and thresholds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vus | No | Number of virtual users (overrides script default) | |
| context | No | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| duration | No | Test duration (e.g., '30s', '5m') | |
| env_vars | No | Environment variables for the test | |
| script_id | Yes | k6 script ID to execute |