Copado
Copado deployments trigger a Testsigma test plan through a URL Callout step, either pausing the Salesforce pipeline until results return or continuing without waiting.
Prerequisites
- A test plan containing the test cases the deployment should run.
- An API key from Settings > API Keys.
Add the callout step
Section titled “Add the callout step”-
Open the app: click App Launcher in the top navigation bar, search for Copado Release Manager, and open it.
-
Add a step: navigate to Deployment > Steps > Add Step.
-
Name and type it: enter a name in the Step Name textbox and select URL Callout from the Type dropdown menu.
Fill in the callout details
Section titled “Fill in the callout details”-
Choose the behavior: in the details section, select one option from the Type dropdown menu:
- Perform callout and pause step: calls Testsigma, passes the results back to Copado, and waits before deploying. Use it when the deployment depends on the test results.
- Perform callout and continue with deployment: calls Testsigma but deploys without waiting. Use it for non-blocking tests.
-
Set the method and URL: select POST as the method. In the URL, enter the REST API call given in the test plan’s cURL snippet, for example
https://app.testsigma.com/api/v1/execution_results. The cURL response also contains the execution ID. -
Add the headers: Authorization with your API key (
Bearer <API_KEY>), Accept withapplication/json, and Content-Type withapplication/json. -
Add the body: paste the JSON payload in the Body, then click Save.
Was this page helpful?
Thanks for the feedback.