• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Runscope

Runscope logo

What does Opsgenie offer Runscope users?

Opsgenie has a webhook integration with Runscope. Opsgenie acts as a dispatcher for Runscope alerts, determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, and iOS & Android push notifications, and escalate alerts until the alert is acknowledged or closed.

Functionality of the integration

  • When a test fails in Runscope, an alert is created in Opsgenie.

  • When the test passes in Runscope, the related alert is closed in Opsgenie.

Configuring Opsgenie side of the integration Expand

  1. Go to Settings → Integrations. Search for Runscope and select Add

Under the Free and Essentials plans, the tabs under the Team dashboard are limited to Main, Integrations, Members, and Activity Stream.

2. Specify who is notified of Runscope alerts using the Responders field. Auto-complete suggestions are provided as you type.

Did you know that you can also add this integration from your team dashboard? 

If you want your team to be the owner of this integration, add it from your team dashboard. Opsgenie will assign the alerts received through this integration to your team only.

To do that:

  1. Go to Teams,

  2. Find your team and select it to go to your team dashboard,

  3. From your team navigation, select Integrations,

  4. Select Add integration.

3. Copy the API key.

4. Click Save Integration.

Runscope integration

Configuration in Runscope

  1. Go to the Radar page and click on the name of an existing test, or create a new one.

  2. Select Editor on the left navigation pane.

  3. Expand the "Test Settings" collapsible.

  4. Paste the URL copied from the Opsgenie AlertSite integration configuration page into the "Recipient" field.

  5. Select Notifications on the left pane of the Test Settings collapsable window.

  6. Paste the API URL obtained when you configured Opsgenie side of the integration into the "Callback URLs" field.

  7. Click Save.

Runscope test settings

Sample payload sent from Runscope


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 { "bucket_key": "twdf2fkje38x", "finished_at": 1389715076.373915, "team_id": "3ac6891f-a261-40a1-aafe-53f0bb7af84e", "bucket_name": "Bucket1", "environment_name": "Production DataSource SiteBased", "result": "fail", "test_name": "testci", "team_name": "opsgenie", "test_id": "6abb1082-3d66-49aa-89d1-616ec601e5b3", "started_at": 1389715074.918255, "test_url": "https://www.runscope.com/radar/twdf2fkje38x/6abb1082-3d66-49aa-89d1-616ec601e5b3", "test_run_url": "https://www.runscope.com/radar/twdf2fkje38x/6abb1082-3d66-49aa-89d1-616ec601e5b3/results/e7219c0e-9c83-4bcd-83f7-63e5ce186dcc", "test_run_id": "e7219c0e-9c83-4bcd-83f7-63e5ce186dcc", "trigger_url": "https://api.runscope.com/radar/e31fbf54-b2cd-4b46-b96a-29aeecf542ac/run", "requests": [ { "url": "https://api.opsgenie.com/", "variables": {"fail": 0,"total": 0,"pass": 0}, "assertions": {"fail": 0,"total": 1,"pass": 1}, "result": "pass", "method": "GET" }, { "url": "https://api.opsgenie.com/failurl1", "variables": {"fail": 0,"total": 0,"pass": 0}, "assertions": {"fail": 1,"total": 1,"pass": 0}, "result": "fail", "method": "GET" }, { "url": "https://api.opsgenie.com/failurl2", "variables": {"fail": 0,"total": 0,"pass": 0}, "assertions": {"fail": 1,"total": 1,"pass": 0}, "result": "fail", "method": "GET" } ] }

Additional Help