It is possible to receive the results of your runs as soon as they are available on an endpoint of your choice.

Waldo will POST a request to the selected endpoint on your own REST API anytime the status for this run changes.

Setup

The only way of setting a webhook subscription is through rules.
When creating or editing a rule, it is possible to add a webhook through the notification section.

Payload

Whenever a run status changes, Waldo will POST a request with the following JSON body:

{
  "suiteId": "testSuite-1234abcd",
  "gitSha": "123456abcdef",
  "branchName": "master",
  "link": "https://app.waldo.com/applications/app-1234abcd/runs/testSuite-1234abcd",
  "firstTimeDone": true | false,
  "status": "success" | "error",
  "results": {
    "success": 1,
    "skipped": 1,
    "assertions_failed": 1,
    "error": 1,
    "non_responsive": 1,
    "crash": 1,
  }
}