You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/load-testing/how-to-define-test-criteria.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,11 +132,11 @@ To specify fail criteria in the YAML configuration file:
132
132
---
133
133
### Access app component for test criteria on server metrics
134
134
135
-
When you set failure criteria on a metric in your app component, your load testing resource uses a managed identity for accessing that component. After you configure the manage identity, you need to grant the managed identity of your load testing resource permissions to read these values from the app component.
135
+
When you set failure criteria on a metric in your app component, your load testing resource uses a [managed identity](/how-to-use-a-managed-identity.md) for accessing that component. After you configure the manage identity, you need to grant the managed identity of your load testing resource permissions to read these values from the app component.
136
136
137
137
To grant your Azure load testing resource permissions to read the metrics from your app component:
138
138
139
-
1. In the Azure portal, go to your app component.
139
+
1. In the [Azure portal](https://portal.azure.com), go to your app component.
140
140
141
141
2. On the left pane, select **Access Control(IAM)**, then select **+ Add**, and then select **Add role assignment**.
142
142
@@ -151,19 +151,19 @@ If you're using a system-assigned managed identity, the managed identity name ma
151
151
152
152
6. Select **Review + assign** to assign the identity the permission.
153
153
154
-
:::image type="content" source="media/how-to-define-test-criteria/assign-permissions.png" alt-text="Screenshot of assigning the permissions to read metrics to the load testing resource":::
154
+
:::image type="content" source="media/how-to-define-test-criteria/assign-permissions.png" alt-text="Screenshot of assigning the permissions to read metrics to the load testing resource.":::
155
155
156
156
When your test runs, the managed identity that's associated with your load testing resource can now read the metrics for your load test from your app component.
157
157
158
158
### Define load test fail criteria for server metrics
159
159
160
160
In this section, you configure test failure criteria on server-side metrics for a load test in the Azure portal.
161
161
162
-
1. In the Azure portal, go to your Azure Load Testing resource.
162
+
1. In the [Azure portal](https://portal.azure.com), go to your Azure Load Testing resource.
163
163
164
164
2. Click on **Create Test**.
165
165
166
-
3. Under the **Monitoring** Tab, configure the app components you want to monitor during the test.
166
+
3. Under the **Monitoring** Tab, [configure the app components](./how-to-monitor-server-side-metrics.md) you want to monitor during the test.
167
167
168
168
4. Configure the **Metrics reference identity**. The identity can be the system-assigned identity of the load testing resource, or one of the user-assigned identities. Make sure you use the same identity you've granted access previously.
0 commit comments