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-configure-user-properties.md
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,6 @@ ms.author: nicktrog
8
8
author: ntrogh
9
9
ms.date: 04/27/2022
10
10
ms.topic: how-to
11
-
zone_pivot_groups: load-testing-config
12
11
---
13
12
14
13
# Use JMeter user properties with Azure Load Testing Preview
@@ -33,7 +32,14 @@ Alternately, you can also [use environment variables and secrets in Azure Load T
33
32
34
33
## Add a JMeter user properties file to your load test
35
34
36
-
You can define user properties for your JMeter test script by uploading a *.properties* file to the load test. The following code snippet shows an example user properties file:
35
+
You can define user properties for your JMeter test script by uploading a *.properties* file to the load test. Azure Load Testing supports using a single properties file per load test. Additional property files are ignored.
36
+
37
+
You can also specify [JMeter configuration settings](https://jmeter.apache.org/usermanual/properties_reference.html) in user properties file to override default behavior.
38
+
39
+
> [!NOTE]
40
+
> Azure Load Testing overrides specific JMeter properties. Learn more about the list of [JMeter properties that Azure Load Testing overrides](./resource-jmeter-property-overrides.md).
41
+
42
+
The following code snippet shows an example user properties file that defines three user properties and configures the `jmeter.save.saveservice.thread_name` configuration setting:
37
43
38
44
```properties
39
45
# peak-load.properties
@@ -46,11 +52,7 @@ durationSeconds=600
46
52
jmeter.save.saveservice.thread_name=false
47
53
```
48
54
49
-
Azure Load Testing supports using a single properties file per load test. Additional property files are ignored.
50
-
51
-
You can also specify [JMeter configuration settings](https://jmeter.apache.org/usermanual/properties_reference.html) in user properties file to override default behavior. For example, you can modify any of the `jmeter.save.saveservice.*` settings to configure the JMeter results file.
52
-
53
-
::: zone pivot="experience-azp"
55
+
# [Azure portal](#tab/portal)
54
56
55
57
To add a user properties file to your load test by using the Azure portal, follow these steps:
56
58
@@ -69,9 +71,8 @@ To add a user properties file to your load test by using the Azure portal, follo
69
71
You can select only one file as a user properties file for a load test.
70
72
71
73
1. Select **Apply** to modify the test, or **Review + create**, and then **Create** to create the new test.
72
-
::: zone-end
73
74
74
-
::: zone pivot="experience-pipelines,experience-ghactions"
If you run a load test within your CI/CD workflow, you add the user properties file to the source control repository. You then specify this properties file in the [load test configuration YAML file](./reference-test-config-yaml.md).
77
78
@@ -100,7 +101,7 @@ To add a user properties file to your load test, follow these steps:
100
101
101
102
The next time the CI/CD workflow runs, it will use the updated configuration.
102
103
103
-
::: zone-end
104
+
---
104
105
105
106
## Reference properties in JMeter
106
107
@@ -132,5 +133,6 @@ You can [download the JMeter errors logs](./how-to-find-download-logs.md) to tro
132
133
133
134
## Next steps
134
135
136
+
- Learn more about [JMeter properties that Azure Load Testing overrides](./resource-jmeter-property-overrides.md).
135
137
- Learn more about [parameterizing a load test by using environment variables and secrets](./how-to-parameterize-load-tests.md).
136
138
- Learn more about [troubleshooting load test execution errors](./how-to-find-download-logs.md).
title: JMeter property overrides by Azure Load Testing
3
+
description: 'The list of Apache JMeter properties that are overridden by Azure Load Testing. These properties are not available to redefine in your load test.'
4
+
services: load-testing
5
+
ms.service: load-testing
6
+
ms.topic: reference
7
+
ms.author: nicktrog
8
+
author: ntrogh
9
+
ms.date: 01/12/2023
10
+
---
11
+
12
+
# JMeter property overriddes by Azure Load Testing
13
+
14
+
Azure Load Testing enables you to specify JMeter configuration settings by [using a user properties file](./how-to-configure-user-properties.md). In this article, you learn which Apache JMeter properties Azure Load Testing already overrides. If you specify any of these properties in your load test, Azure Load Testing ignores your values.
15
+
16
+
## JMeter properties
17
+
18
+
This section lists the JMeter properties that Azure Load Testing overrides. Any value you specify for these properties is ignored by Azure Load Testing.
0 commit comments