Skip to content

Commit ed7327f

Browse files
Merge pull request #232157 from Nagarjuna-Vipparthi/patch-10
Update how-to-define-test-criteria.md
2 parents d60ed07 + b67b7b2 commit ed7327f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Azure Load Testing supports the following client metrics:
5656
|Metric |Aggregate function |Threshold |Condition | Description |
5757
|---------|---------|---------|---------|-------------|
5858
|`response_time_ms` | `avg` (average)<BR> `min` (minimum)<BR> `max` (maximum)<BR> `pxx` (percentile), xx can be 50, 90, 95, 99 | Integer value, representing number of milliseconds (ms). | `>` (greater than)<BR> `<` (less than) | Response time or elapsed time, in milliseconds. Learn more about [elapsed time in the Apache JMeter documentation](https://jmeter.apache.org/usermanual/glossary.html). |
59-
|`latency_ms` | `avg` (average)<BR> `min` (minimum)<BR> `max` (maximum)<BR> `pxx` (percentile), xx can be 50, 90, 95, 99 | Integer value, representing number of milliseconds (ms). | `>` (greater than)<BR> `<` (less than) | Latency, in milliseconds. Learn more about [latency in the Apache JMeter documentation](https://jmeter.apache.org/usermanual/glossary.html). |
59+
|`latency` | `avg` (average)<BR> `min` (minimum)<BR> `max` (maximum)<BR> `pxx` (percentile), xx can be 50, 90, 95, 99 | Integer value, representing number of milliseconds (ms). | `>` (greater than)<BR> `<` (less than) | Latency, in milliseconds. Learn more about [latency in the Apache JMeter documentation](https://jmeter.apache.org/usermanual/glossary.html). |
6060
|`error` | `percentage` | Numerical value in the range 0-100, representing a percentage. | `>` (greater than) | Percentage of failed requests. |
6161
|`requests_per_sec` | `avg` (average) | Numerical value with up to two decimal places. | `>` (greater than) <BR> `<` (less than) | Number of requests per second. |
6262
|`requests` | `count` | Integer value. | `>` (greater than) <BR> `<` (less than) | Total number of requests. |
@@ -118,7 +118,7 @@ To specify fail criteria in the YAML configuration file:
118118
failureCriteria:
119119
- avg(response_time_ms) > 300
120120
- percentage(error) > 50
121-
- GetCustomerDetails: avg(latency_ms) >200
121+
- GetCustomerDetails: avg(latency) >200
122122
```
123123
124124
When you define a test criterion for a specific JMeter request, the request name should match the name of the JMeter sampler in the JMX file.
@@ -158,7 +158,7 @@ To specify fail criteria in the YAML configuration file:
158158
failureCriteria:
159159
- avg(response_time_ms) > 300
160160
- percentage(error) > 50
161-
- GetCustomerDetails: avg(latency_ms) >200
161+
- GetCustomerDetails: avg(latency) >200
162162
```
163163

164164
When you define a test criterion for a specific JMeter request, the request name should match the name of the JMeter sampler in the JMX file.

0 commit comments

Comments
 (0)