Integrate CXMind bot testing into your continuous integration pipelines
API Token
Use this token to authenticate API requests from your CI/CD pipeline
Store this token securely. It will only be shown once.
Generate an API token to authenticate CI/CD requests
API Endpoint
Pipeline Integrations
GitHub Actions
Native GitHub CI/CD
Automate bot testing on every push or pull request with GitHub Actions.
GitLab CI
GitLab pipelines
Integrate with GitLab CI/CD pipelines for automated testing.
Jenkins
Open source automation
Add bot testing to your Jenkins pipelines with shell or Groovy scripts.
Azure DevOps
Microsoft pipelines
Integrate with Azure Pipelines for enterprise-grade CI/CD workflows.
CircleCI
Cloud-native CI/CD
Fast, cloud-native CI/CD with CircleCI orbs and workflows.
Bitbucket Pipelines
Atlassian CI/CD
Seamlessly integrate with Bitbucket Pipelines.
Travis CI
Open source CI/CD
Configure bot testing in your Travis CI pipeline.
AWS CodePipeline
AWS native CI/CD
Integrate with AWS CodeBuild and CodePipeline for cloud-native automation.
cURL / Shell Script
Generic integration
Use these curl commands in any CI/CD system or shell script.
Required Environment Variables
CXMIND_API_URL
- The CXMind API endpoint URL
CXMIND_API_TOKEN
- Your API authentication token (keep this secret!)
CXMIND_BOT_ID
- The ID of the bot to test
API Reference
/api/test-runs
Trigger a new test run for a bot
{
"bot_id": "your-bot-id",
"name": "CI/CD Test Run",
"test_case_ids": [] // Empty = run all test cases
}
/api/test-runs/{run_id}
Get the status and results of a test run
/api/reports/{run_id}/junit
Download JUnit XML report for CI/CD test result parsing
Webhooks
Receive HTTP callbacks when test events occur
No webhooks configured
Create a webhook to receive notifications on test events
| Name | URL | Events | Status | Actions |
|---|---|---|---|---|
|
|
|
Available Events
test_run.started
When a test run begins
test_run.completed
When a test run finishes
test_run.failed
When a test run has failures
test_case.passed
When a test case passes
test_case.failed
When a test case fails
regression.detected
When a regression is found