Test Round Triggers
Triggers allow you to set up conditions to automatically create and execute test rounds, enabling CI/CD integration and automated testing workflows.Access Paths
Trigger Concept
What is a Trigger?
A trigger is a set of configurations that define:- When to trigger (trigger conditions)
- What to do (create test round)
- Which template to use (test round template)
Use Cases
- Automatically execute tests after code commits
- Execute regression tests on schedule
- Automatically verify after deployment
- Trigger tests via API calls
Creating a Trigger
Accessing Creation Page
- Navigate to trigger management page
/test-rounds/triggers - Click the ”+ Create Trigger” button
- Or directly visit
/test-rounds/triggers/create
Configuration Steps
Step 1: Basic Information
Step 2: Trigger Settings
Configure trigger behavior:Complete Creation
- Confirm all settings are correct
- Click “Create” to create trigger
- System will display Webhook URL and Secret Token
- Important: Please save this information securely
Webhook Integration
Webhook URL
After creating a trigger, the system generates a Webhook URL. Please replace<host> with the actual URL provided in your web console:
Calling Method
Use HTTP POST request to call Webhook:Request Parameters
Response Format
On success:CI/CD Integration Examples
GitHub Actions
GitLab CI
Jenkins
Managing Triggers
Viewing Trigger List
The trigger list displays:- Trigger name
- Associated template
- Status (enabled/disabled)
- Last trigger time
- Trigger count
Editing Triggers
- Find the target trigger
- Click the “Edit” button
- Modify required settings
- Save changes
Disable/Enable Triggers
- Click “Disable” to temporarily disable trigger
- Webhook calls will be ignored when disabled
- Click “Enable” to re-enable
Deleting Triggers
- Click the “Delete” button
- Confirm delete operation
- Webhook URL will become invalid after deletion
Security Recommendations
Protecting Secret Token
- Do not commit Token to code repository
- Use CI/CD’s Secret management feature
- Regularly rotate Token
IP Whitelist
If supported, configure IP whitelist to restrict call sources.Monitoring & Alerts
- Monitor trigger call frequency
- Set up anomaly alerts
- Regularly review trigger logs