Skip to content

Commit 26b6ac4

Browse files
committed
Add article for notifications
1 parent 752a57a commit 26b6ac4

File tree

7 files changed

+124
-0
lines changed

7 files changed

+124
-0
lines changed
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
---
2+
title: Configure Notifications for Azure Load Testing
3+
titleSuffix: Azure Load Testing
4+
description: Learn how to configure notifications for events in Azure Load Testing, enabling notifications for test completions, scheduled tests, and other key events.
5+
services: load-testing
6+
ms.service: azure-load-testing
7+
author: saloniagrawal1997
8+
ms.author: salagrawal
9+
ms.topic: how-to
10+
ms.date: 01/09/2025
11+
---
12+
13+
14+
# Configure Notifications for Azure Load Testing
15+
16+
Learn how to configure notifications for events in Azure Load Testing. For example, you can set up notifications to alert you when a test run completes or when a scheduled test run begins. Notifications enable you to stay informed about test run updates, schedules, and test results through email or webhooks.
17+
18+
## Overview
19+
20+
Azure Load Testing allows you to configure notifications to receive updates for key events, such as test completion or schedule changes. These notifications can help you automate follow-up actions and improve team collaboration.
21+
22+
## Supported Events
23+
24+
Azure Load Testing supports the following events for notifications:
25+
26+
1. Test Run Started: Notifications for all test runs when they start.
27+
28+
1. Test Run Completed: Notifications when a test run is completed, including failed tests or failed results.
29+
30+
1. Schedule Events: Notifications when schedules complete or are disabled.
31+
32+
## Supported Notification Channels
33+
34+
### Action Groups
35+
36+
[Action Groups](../../../azure-monitor-docs/articles/azure-monitor/alerts/action-groups.md) are collections of notification preferences and actions that can be triggered by events. In the context of Azure Load Testing, they enable users to route notifications to email recipients, webhooks, or integrated tools like Azure Logic Apps.
37+
38+
> [!NOTE]
39+
> Action groups might incur additional costs. To view associated costs, refer to the [Azure Monitor pricing details.](https://azure.microsoft.com/pricing/details/monitor/)
40+
41+
## Prerequisites
42+
43+
To configure notifications, ensure you meet the following requirements:
44+
45+
1. Permissions: You should have at least the "Load Test Owner" or "Owner/Contributor" role at the resource level.
46+
47+
2. Action Group Creation: To create Action Groups, ensure you have the required permissions or contact your system administrator.
48+
49+
## Configure Notifications in the Azure Portal
50+
51+
1. In the [Azure portal] (https://portal.azure.com/), navigate to your Load Test Resource. In the left navigation menu, select **Notifications**.
52+
53+
:::image type="content" source="media/how-to-create-notification-rules/notification-blade.png" alt-text="Screenshot that shows the Notification menu item in the resource overview page in the Azure portal.":::
54+
55+
2. Click **Create notification rule**.
56+
57+
3. In the **Scope** tab, provide a name for the notification rule. Select from one of the following scopes:
58+
59+
- All tests: The notification rule is applicable for all current and future tests.
60+
61+
- Specific Test: Select one or more tests in the resource on which the notification rule is applicable by clicking on Add Test.
62+
63+
:::image type="content" source="media/how-to-create-notification-rules/scope-selection.png" alt-text="Screenshot that shows the added test in the scope of a notification rule.":::
64+
65+
> [!NOTE]
66+
> A maximum of 20 tests can be selected in this scope.
67+
68+
4. Under the **Events** tab, choose one or more events from the available list:
69+
70+
- Test Run Started (All Runs)
71+
72+
- Test Run Completed (All Runs, Failed Status, Failed Test Results)
73+
74+
- Schedule Events (Schedule Completed, Schedule Disabled)
75+
76+
5. Choose an existing Action Group or create a new Action Group. To select an Action Group, select **Add action group** and choose from the available ones in the tenant.
77+
78+
If you need to create one, refer to the Action Group [creation guide](https://docs.azure.cn/en-us/azure-monitor/alerts/action-groups#create-an-action-group-in-the-azure-portal). Ensure you have at least write permissions for the resource group where you are creating the Action Group.
79+
80+
:::image type="content" source="media/how-to-create-notification-rules/selected-action-group-list.png" alt-text="Screenshot that shows the added action groups in the notification rule.":::
81+
82+
> [!NOTE]
83+
> A maximum of 5 Action Groups can be added to a Notification Rule.
84+
85+
6. Click **Save** to create the notification rule. The new rule appears in the notification rules table.
86+
87+
:::image type="content" source="media/how-to-create-notification-rules/notification-rules-list.png" alt-text="Screenshot that shows the list of notification rules added.":::
88+
89+
## Linking Notification Rules to Tests
90+
91+
You can associate existing Notification Rules with specific tests or create new Notification Rules as needed. Follow the steps below.
92+
93+
1. For an existing test, go to the **Test** page, and click **Notifications**. A right context-pane pops up.
94+
95+
:::image type="content" source="media/how-to-create-notification-rules/link-nr-to-test.png" alt-text="Screenshot that shows the list of notification rules associated with a test.":::
96+
97+
2. You can associate a test with a rule by selecting it, and remove the test from the rule by deselecting it.
98+
99+
3. If you do not wish to select an existing Notification Rule, you can click on **Create Notification Rule**.
100+
101+
4. After making the changes, click on **Apply**.
102+
103+
## Edit a Notification Rule
104+
105+
1. In the Azure portal, navigate to your Load Test Resource. In the left navigation menu, select **Notifications**.
106+
107+
2. Select the rule you want to edit and click **Edit**.
108+
109+
3. Make changes to the subscribed events, channels, or test filters.
110+
111+
4. Save your changes.
112+
113+
## Delete a Notification Rule
114+
115+
1. In the Azure portal, navigate to your Load Test Resource. In the left navigation menu, select **Notifications**.
116+
117+
2. Select the rule to delete and click **Delete**.
118+
119+
## Related content
120+
121+
- Learn how to [schedule load test runs](./how-to-schedule-tests.md).
122+
- Learn how to [add tests in your CI/CD workflows](./how-to-configure-load-test-cicd.md).
53.3 KB
Loading
199 KB
Loading
153 KB
Loading
85.6 KB
Loading
78 KB
Loading

articles/load-testing/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ items:
111111
href: how-to-move-between-resource-groups-subscriptions.md
112112
- name: Monitor Azure Load Testing
113113
href: monitor-load-testing.md
114+
- name: Enable notifications
115+
href: how-to-create-notification-rules.md
114116

115117
- name: Samples
116118
items:

0 commit comments

Comments
 (0)