Skip to content

Commit ddab1c3

Browse files
author
DABURON Vincent
committed
Verson 1.4, Default property "param_apm_prefix" is now empty by default because you can't remove it with empty value but easily add no empty value e.g: -Jparam_apm_prefix=TR_
1 parent 2fe6fbc commit ddab1c3

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ This variables could be changed with JMeter properties at launch time, this prop
104104

105105
elastic APM properties are :
106106

107-
| property name | comment |
108-
|------------------|--------------------------------------------------------------------------------------------------|
109-
| param_apm_active | default : TRUE , TRUE OR FALSE, if TRUE then api is call |
110-
| param_apm_prefix | default : TR_ , Prefix of the transaction name, could be empty, SC01_LOGIN will be TR_SC01_LOGIN |
107+
| property name | comment |
108+
|------------------|-------------------------------------------------------------------------------------------------------------------------------------|
109+
| param_apm_active | default : TRUE , TRUE OR FALSE, if TRUE then api is call |
110+
| param_apm_prefix | default : Empty , Prefix of the transaction name, could be empty, if param_apm_prefix = "TR_" then SC01_LOGIN will be TR_SC01_LOGIN |
111111

112112
E.g : jmeter -Jparam_apm_prefix=TRANS_ , SC01_LOGIN will be TRANS_SC01_LOGIN in Kibana transactions list
113113

@@ -239,6 +239,7 @@ A pom.xml example, the elastic_apm_version is set to "1.37.0" for the ELASTIC AP
239239
<testFilesIncluded>
240240
<jMeterTestFile>script1_add.jmx</jMeterTestFile>
241241
</testFilesIncluded>
242+
<logsDirectory>${project.build.directory}/jmeter/results</logsDirectory>
242243
<generateReports>false</generateReports>
243244
<testResultsTimestamp>false</testResultsTimestamp>
244245
<resultsFileFormat>csv</resultsFileFormat>
@@ -254,7 +255,7 @@ The maven groupId, artifactId and version, this plugin is in the **Maven Central
254255
```xml
255256
<groupId>io.github.vdaburon</groupId>
256257
<artifactId>jmeter-elastic-apm</artifactId>
257-
<version>1.3</version>
258+
<version>1.4</version>
258259
```
259260

260261
## Advanced usage
@@ -302,10 +303,12 @@ ElasticApmJMeterManager.modifyAddSamplerForElasticApm(sFileIn, sFileOut, Elastic
302303
</pre>
303304

304305
## Version
305-
Version 1.3 change method name ELK to ELASTIC et file name tp extract_udv_elastic_under_testplan.jmx
306+
Version 1.4 2025-01-14, Default property "param_apm_prefix" is now empty by default because you can't remove it with empty value but easily add no empty value e.g: -Jparam_apm_prefix=TR_
306307

307-
Version 1.2 change globally ELK to ELASTIC
308+
Version 1.3 2024-02-01, Change method name ELK to ELASTIC et file name tp extract_udv_elastic_under_testplan.jmx
308309

309-
Version 1.1 correct the class name in the uber jar and correct REMOVE result
310+
Version 1.2 2024-01-30, Change globally ELK to ELASTIC
310311

311-
Version 1.0 first version of this tool.
312+
Version 1.1, 2024-01-10, Correct the class name in the uber jar and correct REMOVE result
313+
314+
Version 1.0, first version of this tool.

doc/images/udv_elastic_properties.png

2.7 KB
Loading

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.github.vdaburon</groupId>
88
<artifactId>jmeter-elastic-apm</artifactId>
9-
<version>1.3</version>
9+
<version>1.4</version>
1010
<packaging>jar</packaging>
1111
<name>Manage ELASTIC APM integration for Apache JMeter</name>
1212
<description>ADD/REMOVE ELASTIC APM library api call around Transaction Controller, you will see timeline and sub calls for the Transaction Controller (Page) in Kibana</description>

src/main/resources/extract_udv_elastic_under_testplan.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</elementProp>
1010
<elementProp name="APM_TRANS_PREFIX" elementType="Argument">
1111
<stringProp name="Argument.name">APM_TRANS_PREFIX</stringProp>
12-
<stringProp name="Argument.value">${__P(param_apm_prefix,TR_)}</stringProp>
12+
<stringProp name="Argument.value">${__P(param_apm_prefix,)}</stringProp>
1313
<stringProp name="Argument.metadata">=</stringProp>
1414
</elementProp>
1515
</collectionProp>

0 commit comments

Comments
 (0)