Skip to content

Commit 1e5c923

Browse files
committed
Added info about overriding JMeter config settings
1 parent 8df2ef6 commit 1e5c923

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

articles/load-testing/how-to-configure-user-properties.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ In this article, learn how to configure and use Apache JMeter user properties wi
1717

1818
- You want to use the JMX test script in multiple deployment environments with different application endpoints.
1919
- Your test script needs to accommodate multiple load patterns, such as smoke tests, peak load, or soak tests.
20+
- You want to override default JMeter behavior by configuring JMeter settings, such as the results file format.
2021

21-
Azure Load Testing uses the standard [Apache JMeter properties](https://jmeter.apache.org/usermanual/test_plan.html#properties) and allows you to upload a user properties file. You can configure one user properties file per load test.
22+
Azure Load Testing supports the standard [Apache JMeter properties](https://jmeter.apache.org/usermanual/test_plan.html#properties) and enables you to upload a user properties file. You can configure one user properties file per load test.
2223

2324
Alternately, you can also [use environment variables and secrets in Azure Load Testing](./how-to-parameterize-load-tests.md) to make your tests configurable.
2425

@@ -44,6 +45,8 @@ durationSeconds=600
4445

4546
Azure Load Testing supports using a single properties file per load test. Additional property files are ignored.
4647

48+
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.
49+
4750
::: zone pivot="experience-azp"
4851

4952
To add a user properties file to your load test by using the Azure portal, follow these steps:
@@ -75,16 +78,15 @@ To add a user properties file to your load test, follow these steps:
7578
1. Add the *.properties* file to the source control repository.
7679
1. Open your YAML test configuration file in Visual Studio Code or your editor of choice.
7780
1. Specify the *.properties* file in the `properties.userPropertyFile` setting.
78-
7981
```yaml
8082
testName: MyTest
8183
testPlan: SampleApp.jmx
8284
description: Configure a load test with peak load properties.
8385
engineInstances: 1
8486
properties:
85-
userPropertyFile: 'peak-load.properties'
87+
userPropertyFile: peak-load.properties
8688
configurationFiles:
87-
- 'input-data.csv'
89+
- input-data.csv
8890
```
8991
9092
> [!NOTE]

0 commit comments

Comments
 (0)