Key Benefits
Reusable Configurations
Save test configurations once and run them multiple times with consistent settings.
Execution History
Track all test runs for each plan with full metrics and comparison capabilities.
Wizard & Script Modes
Configure tests via UI wizard or write custom K6 scripts directly.
CI/CD Integration
Run plans programmatically via API for automated performance testing.
Page Layout
The Test Plans page uses a split-panel layout:- Left Panel: List of all test plans (searchable, resizable)
- Right Panel: Test execution history for the selected plan
How to Create a Test Plan
Test plans are created automatically when you run a test from the New Test wizard.Configure a New Test
Go to New Test and configure your test settings (URL, method, load pattern, thresholds, location).
Test plans are named automatically using the format:
hostname-METHOD-YYYYMMDD-HHMM (e.g., api.example.com-GET-20240115-1430).How to Run a Test from a Plan
How to Edit a Test Plan
Modify any aspect of a saved test plan using the settings drawer.Settings Tabs
| Tab | Settings |
|---|---|
| Base | Name, URL, HTTP method, location, executor type, VUs, duration |
| Params | URL query parameters |
| Headers | Custom HTTP headers |
| Body | Request body (JSON, XML, or text) |
| Auth | Authentication (Bearer, Basic, API Key) |
| Steps | Multi-step scenario configuration |
| Thresholds | Performance pass/fail criteria |
| Settings | Follow redirects, HTTP/2, timeout |
How to Clone a Test Plan
Create a copy of an existing plan for variations or A/B testing.How to Delete a Test Plan
Wizard Mode vs Custom Script Mode
Test plans support two configuration modes:Wizard Mode (Default)
Configure tests using the UI without writing code. Best for:- Standard API testing scenarios
- Quick configuration changes
- Users unfamiliar with K6 scripting
Custom Script Mode
Write K6 scripts directly for advanced scenarios. Best for:- Complex test logic (loops, conditions, data-driven tests)
- Custom metrics and checks
- Scenarios not supported by the wizard
When switching to Custom mode, the system generates an initial script from your wizard configuration. You can then modify it as needed.
Execution History
Each test plan tracks all its executions in a table showing:| Column | Description |
|---|---|
| Test ID | Unique identifier for the execution |
| Status | PENDING, RUNNING, SUCCESS, or FAILED |
| Latency | Average response time in milliseconds |
| Success Rate | Percentage of successful requests |
| Requests | Total number of requests made |
| Location | Geographic origin of the test |
CI/CD Integration
Run test plans programmatically using the API for automated performance testing in pipelines.testId that you can use to poll for results or configure webhooks for completion notifications.
Troubleshooting
Plan not appearing in list
Plan not appearing in list
- Refresh the page or click the refresh button
- Check if you have read permission for Load Testing
- Verify you’re viewing the correct project
Cannot edit plan settings
Cannot edit plan settings
- You need write permission for Load Testing
- The plan may be running a test; wait for completion
Run button disabled
Run button disabled
Custom script not saving
Custom script not saving
- Ensure the script is valid JavaScript
- Check for syntax errors in the script editor
- The script must export a default function
Execution history not updating
Execution history not updating
- Click the refresh button in the toolbar
- Tests may take time to complete and appear
FAQ
Can I schedule test plans to run automatically?
Can I schedule test plans to run automatically?
Direct scheduling is not available in the UI. Use CI/CD pipelines with cron triggers to schedule recurring tests via the API.
How many test plans can I create?
How many test plans can I create?
There is no limit to the number of test plans. Create as many as needed for your testing scenarios.
Can I share test plans between projects?
Can I share test plans between projects?
What happens to plans when I change the target URL?
What happens to plans when I change the target URL?
Changing the URL updates the plan configuration. Future runs use the new URL. Past executions retain their original URLs.
Can I export test plans?
Can I export test plans?
Test plans can be exported as K6 scripts using Custom Script mode. Copy the generated script for use outside the platform.
How do I compare results across different plans?
How do I compare results across different plans?
Use the Test Results page to compare any two test executions, regardless of which plan they belong to.