Skip to content

Error Clusters (Top Errors) ​

Error Clusters represent a group of tests within the same run that have encountered similar errors. This category is designed to help identify patterns in failures by clustering tests that share the same or closely related issues. By analyzing these clusters, you can quickly spot recurring problems and gain insights into potential root causes, enabling more efficient debugging and resolution.

slack-testbeats-top-errors

Configuration ​

Error Clusters is enabled by default which includes the top 3 errors in the test run. You can disable it from the test run configuration.

json
{
  "api_key": "<api-key>",
  "show_error_clusters": false,
  "targets": [
    {
      "name": "slack",
      "inputs": {
        "url": "<slack-incoming-webhook-url>"
      }
    }
  ],
  "results": [
    {
      "type": "testng",
      "files": [
        "path/to/testng-results.xml"
      ]
    }
  ]
}

Released under the MIT License.