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.1
Configure a New Test
Go to New Test and configure your test settings (URL, method, load pattern, thresholds, location).
2
Run the Test
Click Launch Test. The configuration is automatically saved as a test plan.
3
Find Your Plan
Navigate to Test Plans. Your new plan appears in the list with a generated name based on the target URL.
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
1
Select the Plan
Click on a test plan from the left panel to select it.
2
Click Run
Click the Run button in the right panel header.
3
Monitor Execution
A dialog shows real-time test progress. Results appear in the execution history when complete.
How to Edit a Test Plan
Modify any aspect of a saved test plan using the settings drawer.1
Select the Plan
Click on the plan you want to edit.
2
Open Settings
Click the More menu (three dots) and select Edit Settings.
3
Modify Settings
Use the tabbed interface to edit different aspects of the plan.
4
Save Changes
Click Save Changes to update the plan.
Settings Tabs
How to Clone a Test Plan
Create a copy of an existing plan for variations or A/B testing.1
Select the Plan
Click on the plan you want to clone.
2
Clone
Click the More menu and select Clone.
3
Edit the Clone
The new plan appears in the list. Edit its settings to differentiate it from the original.
How to Delete a Test Plan
1
Select the Plan
Click on the plan you want to delete.
2
Delete
Click the More menu and select Delete.
3
Confirm
Confirm the deletion. This action cannot be undone.
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
1
Open Plan Settings
Edit the test plan settings.
2
Switch Mode
Click Custom in the mode toggle at the top of the drawer.
3
Edit Script
The Script tab appears. Edit the K6 JavaScript code directly.
4
Save
Click Save Changes. The plan now uses your custom script.
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:
Click any row to view detailed results for that execution.
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
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.
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.