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:
- Open the Service Directory tab and click New Service.
- Enter a Name for your service and a Description (optional), then click Next.
- Assign an Escalation Policy:
- Generate a new Escalation Policy,
- Select an existing one, or
- Use PagerDuty’s Default Escalation Policy.
- Click Next.
- Select your preferred Alert Grouping option, then click Next.
- Choose Events API V2 as the integration type, then click Create Service.
- On the Service page, open the Integrations tab.
- Copy the Integration Key—you’ll need it to connect Functionize.
Configure PagerDuty Integration in Functionize
Within your Functionize account (Team Admin access required):
- Navigate to the Team page.
- Open the Integrations tab.
- Under Outbound Notifications, select PagerDuty.
- Click Add New Service.
- Paste the Integration Key you copied from PagerDuty.
- 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
- Open a project and go to the Test Listing page.
- Click the Test Actions button for the test you want to configure.
- Select Settings from the menu.
- Open the Alerts tab.
- 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
- Open a project and go to the Test Listing page.
- Click on the ellipsis menu on the top right corner and click on Project Settings.
- Open the Alerts tab.
- Select users for project notifications
Set Alerts for Team
- Navigate to the Team page.
- Open the Alerts tab.
- 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.