Skip to content

Commit 6ecce51

Browse files
server-side updates
1 parent 4e07953 commit 6ecce51

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

articles/load-testing/how-to-define-test-criteria.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Azure Load Testing supports the following client metrics:
5656
|`requests_per_sec` | `avg` (average) | Numerical value with up to two decimal places. | `>` (greater than) <BR> `<` (less than) | Number of requests per second. |
5757
|`requests` | `count` | Integer value. | `>` (greater than) <BR> `<` (less than) | Total number of requests. |
5858

59-
## Define load test fail criteria for client metrics
59+
### Define load test fail criteria for client metrics
6060

6161
# [Azure portal](#tab/portal)
6262

@@ -130,8 +130,6 @@ To specify fail criteria in the YAML configuration file:
130130
:::image type="content" source="media/how-to-define-test-criteria/azure-pipelines-log.png" alt-text="Screenshot that shows the test criteria in the CI/CD workflow log.":::
131131
132132
---
133-
### Fail criteria structure for server metrics
134-
135133
### Grant access to your app component
136134
137135
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.
@@ -140,33 +138,33 @@ To grant your Azure load testing resource permissions to read the metrics from y
140138
141139
1. In the Azure portal, go to your app component.
142140
143-
2. On the left pane, select Access Control(IAM), then select + Add, and then select Add role assignment.
141+
2. On the left pane, select **Access Control(IAM)**, then select **+ Add**, and then select **Add role assignment**.
144142
145-
3. On the Role tab, under Job functions roles, search for Monitoring Reader or Monitoring Contributor.
143+
3. On the **Role **tab, under** Job functions roles**, search for **Monitoring Reader** or **Monitoring Contributor**.
146144
147-
4. On the Members tab, under Assign access to, select Managed Identity.
145+
4. On the **Members** tab, under **Assign access to**, select **Managed Identity**.
148146
149-
5. Click on Select members, search for and select the managed identity for the load testing resource, and then select Next.
147+
5. Click on **Select members**, search for and select the managed identity for the load testing resource, and then select **Next**.
150148
If you're using a system-assigned managed identity, the managed identity name matches that of your Azure load testing resource.
151149
152-
6. Select Review + assign to assign the identity the permission.
150+
6. Select **Review + assign** to assign the identity the permission.
153151
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.
154152
155-
## Define load test fail criteria for client metrics
153+
## Define load test fail criteria for server metrics
156154
157155
In this section, you configure test failure criteria on server-side metrics for a load test in the Azure portal.
158156
159157
1. In the Azure portal, go to your Azure Load Testing resource.
160158
161-
3. Click on Create Test.
159+
2. Click on **Create Test**.
162160
163-
5. Under the Monitoring Tab, configure the app components you want to monitor during the test.
161+
3. Under the **Monitoring** Tab, configure the app components you want to monitor during the test.
164162
165-
7. 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.
163+
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.
166164
167-
9. On the Test criteria pane, fill the Resource ID, Namespace, Metric, Aggregation, Condition, Threshold values for your test. You can set failure criteria only for those resources/app components that you are monitoring during the test.
165+
5. On the **Test criteria** pane, fill the **Resource ID, Namespace, Metric, Aggregation, Condition, Threshold values** for your test. You can set failure criteria only for those resources/app components that you are monitoring during the test.
168166
169-
10. Select Apply to save the changes.
167+
6. Select **Apply** to save the changes.
170168
When you now run the load test, Azure Load Testing uses the test criteria to determine the status of the load test run.
171169
172170
7. Run the test and view the status in the load test dashboard.

0 commit comments

Comments
 (0)