Skip to main content
Runscope runs scheduled tests against your APIs. Connect it to incident.io and every failing test run becomes an incident.io alert, so you can route it to a team, escalate to whoever is on call, and open an incident when one matters.

Step 1: create the alert source

  1. Go to Alerts in your incident.io dashboard and select the Sources tab.
  2. Press Create source, search for Runscope, and continue.
  3. Give it a name.
The setup page shows a Webhook URL and an Authorization Header to paste into Runscope. Keep it open for the next step.

Step 2: connect Runscope

In the settings of each Runscope test you want to alert on:
  1. Under Integrations, add a new Webhook integration and paste the Webhook URL from incident.io into the URL field.
  2. Add an Authorization header with the value from incident.io. It starts with Bearer.
  3. Save your changes and enable the integration.
incident.io rejects requests without a valid Authorization header, so check it’s saved on every test you connect. Refer to Runscope’s webhook documentation for details of their integration UI.

How alerts behave

  • Title and description. The alert title is the test name, and the alert links back to the test run in Runscope.
  • Deduplication. Repeat failures of the same test update one alert.
  • Resolution. A fail run fires the alert and a pass run resolves it. Other results, such as canceled, don’t change it.
  • Attributes. Use the test name, bucket, environment or initial variables (such as initial_variables.team) to set alert attributes, for example to map a bucket to a team.

Step 3: check it works

Run a test that fails. A passing run won’t create an alert. The alert should appear on the alert source page in incident.io within a few seconds. If nothing arrives, check Recent requests on that page. Every request Runscope sent is listed there, including any that were rejected, with the reason.
Can’t find the alert source you are looking for? Head to our integrations page or message us at support@incident.io.