PagerDuty Integration

Integrating PagerDuty with Functionize allows you to receive real-time alerts about the status of your test runs. By routing test execution events into PagerDuty, your team can respond quickly to failures, escalations, or other critical issues.

Set Up a Service in PagerDuty

Within your PagerDuty account:

  1. Open the Service Directory tab and click New Service.
  2. Enter a Name for your service and a Description (optional), then click Next.
  3. Assign an Escalation Policy:
    • Generate a new Escalation Policy,
    • Select an existing one, or
    • Use PagerDuty’s Default Escalation Policy.
  4. Click Next.
  5. Select your preferred Alert Grouping option, then click Next.
  6. Choose Events API V2 as the integration type, then click Create Service.
  7. On the Service page, open the Integrations tab.
  8. Copy the Integration Key—you’ll need it to connect Functionize.

Configure PagerDuty Integration in Functionize

Within your Functionize account (Team Admin access required):

  1. Navigate to the Team page.
  2. Open the Integrations tab.
  3. Under Outbound Notifications, select PagerDuty.
  4. Click Add New Service.
  5. Paste the Integration Key you copied from PagerDuty.
  6. Select the Functionize Project you want to integrate from the drop-down menu.

Configure Alerts in Functionize

Functionize allows you to control when alerts are sent at the Team, Project, or Test Case level.

Set Alerts for a Specific Test

  1. Open a project and go to the Test Listing page.
  2. Click the Test Actions button for the test you want to configure.
  3. Select Settings from the menu.
  4. Open the Alerts tab.
  5. From the Alerts Delivery drop-down, choose when alerts should be sent (e.g., on test failure, completion, or specific conditions).

Note: The alerting mechanism is consistent at all levels—Team, Project, and Test Case. Adjust them based on the granularity of control you need.

Set Alerts for a Specific Project

  1. Open a project and go to the Test Listing page.
  2. Click on the ellipsis menu on the top right corner and click on Project Settings.
  3. Open the Alerts tab.
  4. Select users for project notifications

Set Alerts for Team

  1. Navigate to the Team page.
  2. Open the Alerts tab.
  3. From the Alerts Delivery drop-down, choose when alerts should be sent (e.g., on test failure, completion, or specific conditions).

Benefits of PagerDuty Integration

  • Faster Response Times: Teams are notified instantly when tests fail.
  • Escalation Control: Use PagerDuty’s escalation policies to ensure the right people are alerted.
  • Flexibility: Configure alerts at multiple levels for fine-grained control.
  • Seamless Collaboration: Developers and testers can respond to issues in real time.