Step 1: create the alert source
- Go to Alerts in your incident.io dashboard and select the Sources tab.
- Press Create source, search for Runscope, and continue.
- Give it a name.
Step 2: connect Runscope
In the settings of each Runscope test you want to alert on:- Under Integrations, add a new Webhook integration and paste the Webhook URL from incident.io into the URL field.
- Add an Authorization header with the value from incident.io. It starts with
Bearer. - Save your changes and enable the integration.
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
failrun fires the alert and apassrun resolves it. Other results, such ascanceled, 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.