mabl has a Deployment Events API endpoint that you can use to trigger tests via API. This is particularly useful for integrating with your preferred CI/CD tools, including Jenkins.
- Click "Settings" in the left-hand navigation menu.
- Locate and click on the "API Keys" tab. In that section, you'll see the API key for your workspace.
- Scroll down to the "API documentation" section, click "Select an API," then click "Deployment Events API."
In that section, you'll see need to add the environment and application you'd like to trigger on deployment.
Execution Results API
Visit our Execution Results API documentation to learn more about integrating mabl with your existing CI/CD pipeline.
You can perform a preview (dry run) of a Deployment Events API call to see what plans would have executed, without actually running them. Use this to quickly fine-tune your configuration and test your integration.
- Select your target environment and application from the fields.
- Once added, you'll see additional fields, instructions, and a CURL command builder that you can use to understand the required format to trigger tests via the Deployment Events API.
- Select and copy the CURL command.
- Open a terminal window on your machine
- Paste the CURL command into the terminal
- Replace the URL with
- Hit Enter
- Confirm that you received a successful response, similar to the following: