Skip to content

Commit baf3414

Browse files
authored
Merge pull request #223768 from ntrogh/alt-config-properties
[Azure Load Testing] Add info about JMeter property overrides
2 parents 8c4da35 + 3190abf commit baf3414

File tree

3 files changed

+61
-10
lines changed

3 files changed

+61
-10
lines changed

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

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ ms.author: nicktrog
88
author: ntrogh
99
ms.date: 04/27/2022
1010
ms.topic: how-to
11-
zone_pivot_groups: load-testing-config
1211
---
1312

1413
# 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
3332

3433
## Add a JMeter user properties file to your load test
3534

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:
3743

3844
```properties
3945
# peak-load.properties
@@ -46,11 +52,7 @@ durationSeconds=600
4652
jmeter.save.saveservice.thread_name=false
4753
```
4854

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)
5456

5557
To add a user properties file to your load test by using the Azure portal, follow these steps:
5658

@@ -69,9 +71,8 @@ To add a user properties file to your load test by using the Azure portal, follo
6971
You can select only one file as a user properties file for a load test.
7072

7173
1. Select **Apply** to modify the test, or **Review + create**, and then **Create** to create the new test.
72-
::: zone-end
7374

74-
::: zone pivot="experience-pipelines,experience-ghactions"
75+
# [Azure Pipelines / GitHub Actions](#tab/pipelines+github)
7576

7677
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).
7778

@@ -100,7 +101,7 @@ To add a user properties file to your load test, follow these steps:
100101
101102
The next time the CI/CD workflow runs, it will use the updated configuration.
102103
103-
::: zone-end
104+
---
104105
105106
## Reference properties in JMeter
106107
@@ -132,5 +133,6 @@ You can [download the JMeter errors logs](./how-to-find-download-logs.md) to tro
132133

133134
## Next steps
134135

136+
- Learn more about [JMeter properties that Azure Load Testing overrides](./resource-jmeter-property-overrides.md).
135137
- Learn more about [parameterizing a load test by using environment variables and secrets](./how-to-parameterize-load-tests.md).
136138
- Learn more about [troubleshooting load test execution errors](./how-to-find-download-logs.md).
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
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.
19+
20+
* mode
21+
* sample_sender_strip_also_on_error
22+
* asynch.batch.queue.size
23+
* server.rmi.ssl.disable
24+
* jmeterengine.nongui.maxport
25+
* jmeterengine.nongui.port
26+
* client.tries
27+
* client.retries_delay
28+
* client.rmi.localport
29+
* server.rmi.localport
30+
* server_port
31+
* server.exitaftertest
32+
* jmeterengine.stopfail.system.exit
33+
* jmeterengine.remote.system.exit
34+
* jmeterengine.force.system.exit
35+
* jmeter.save.saveservice.output_format
36+
* jmeter.save.saveservice.autoflush
37+
* beanshell.server.file
38+
* jmeter.save.saveservice.connect_time
39+
* jpgc.repo.sendstats
40+
* jmeter.save.saveservice.timestamp_format
41+
* sampleresult.default.encoding
42+
* user.classpath
43+
* summariser.ignore_transaction_controller_sample_result
44+
45+
## Next steps
46+
47+
* Learn how to [Configure user properties in Azure Load Testing](./how-to-configure-user-properties.md).

articles/load-testing/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,5 @@ items:
101101
href: resource-supported-azure-resource-types.md
102102
- name: Service limits
103103
href: resource-limits-quotas-capacity.md
104+
- name: JMeter property overrides
105+
href: resource-jmeter-property-overrides.md

0 commit comments

Comments
 (0)