Skip to content

Mr Suricate

The Mr Suricate application allows you to retrieve all metrics from the Mr Suricate interface. You can ask here the execution result of all the scenarios of a workspace. You can also collect the metrics of the incidents in progress by Mr Suricate's teams.

Options

  • Name*: Just a simple label to find it easier in the SenHub's interface
  • Description: Description for your own usage only.
  • Vault*: Choose in the list box the appropriate vault for this resource. If you have not created it yet, see how to add a vault.
  • Group: optional — assign this instance to a group to organise it within SenHub.
  • Workspace*: The name of the workspace from which you want to collect metrics. You can find it in the upper right corner of the Mr Suricate dashboard, to the left of the settings icon.
  • Resource type*: For some resource types, you can find an option here to drill down into the metrics more precisely. You can choose 3 types of resources. The options are:
    • All scenarios — list of all planned scenarios with their status
    • One scenario — list of one planned scenario with his status
    • Incident — Collect information about incidents

Example output

The channels returned depend on the selected resource type. For All scenarios (or One scenario), the connector returns one channel per scenario, named after the scenario, whose value is its failing state (false = passing, true = failing):

{
  "metrics": [
    { "channel": "Homepage availability", "value": false },
    { "channel": "Login flow", "value": false },
    { "channel": "Checkout journey", "value": true }
  ],
  "message": "Metrics successfully retrieved.",
  "status": "OK",
  "date": 1725981405127
}

For Incident, it returns the number of incidents in each Mr Suricate status, for the selected incident origin:

{
  "metrics": [
    { "channel": "Wait for correction", "value": 2 },
    { "channel": "Wait for customer correction", "value": 1 },
    { "channel": "Finished", "value": 5 },
    { "channel": "Analyzing", "value": 0 },
    { "channel": "Waiting reproduction", "value": 1 },
    { "channel": "Fixed pending validation", "value": 0 }
  ],
  "message": "Metrics successfully retrieved.",
  "status": "OK",
  "date": 1725981405127
}