Skip to content
You're viewing the v2 docs. Looking for v1?Go to v1 docs
Docs
Testsigma
Popular questions
↑↓ to navigate↵ to selectesc to close
Book a demo

Gearset

Gearset integration triggers a Testsigma test plan on every Gearset deployment. An outgoing webhook on the Gearset CI job calls the test plan’s trigger endpoint.

Prerequisites

  1. Open the webhook settings: In the Gearset CI job, go to the Outgoing webhooks section.

  2. Enter the URL: In the Outgoing webhook url field, enter the API endpoint from the cURL command shown under Test Plans > CI/CD Integrations > REST API call to start Test Plan.

  3. Set the payload type: In the Payload field, select Custom.

  4. Set authentication: In the Authentication field, select Authorization. In the Credentials field, add the API key as Bearer <API-KEY>.

  5. Add the header: Add a header with key Accept and value application/json. In the Content-Type field, select application/json.

  6. Enter the payload: In the Payload field, enter the execution ID:

    {
    "executionId":"<id>"
    }
  7. Save the job: Go to Notifications and click Save CI Job.

Once the deployment’s metadata is downloaded, check that the test plan run has started in Testsigma.

Was this page helpful?