How to use "Merge Results" ?

1,850 views
Skip to first unread message

Juanes Mesa

unread,
Dec 1, 2014, 1:27:42 PM12/1/14
to jmeter-...@googlegroups.com
Welll... Im stuck with this, I dont know how to use this plugin. 


Anybody knows ?

Vincent Daburon

unread,
Dec 2, 2014, 3:43:19 AM12/2/14
to jmeter-...@googlegroups.com
Hi,
Do you read the documentation ?
http://jmeter-plugins.org/wiki/MergeResults/

Regards.
Vincent D.

pUnchY

unread,
Dec 2, 2014, 4:41:38 PM12/2/14
to jmeter-...@googlegroups.com
Hi,

Today I used it for the first time. I only got it to work when using the full path to the results files. 

Btw I used jtl results files and JMeter 2.12.

Regards,
Rob

Op maandag 1 december 2014 19:27:42 UTC+1 schreef Juanes Mesa:

Vincent Daburon

unread,
Dec 3, 2014, 7:36:27 AM12/3/14
to jmeter-...@googlegroups.com
Hi,

The merge tool works also in command line interface.
http://jmeter-plugins.org/wiki/JMeterPluginsCMD/

Look at the <JMETER_HOME>\bin\merge-results.properties :

This merge-results.properties contains informations, how run the merge tool in CLI.

# When you are running MergeResults tool with JMeterPluginsCMD use the following parameters
# --input-jtl merge.properties
# --plugin-type MergeResults
#
# example :
# java -jar CMDRunner.jar --tool Reporter --generate-csv test1-test2.csv --input-jtl merge-results.properties --plugin-type MergeResults

# === FILE 1 ===
inputJtl1=test1.csv
prefixLabel1=TEST1:
includeLabels1=P[0-9].*
excludeLabelsl=
includeLabelRegex1=true
excludeLabelRegex1=
startOffset1=
endOffset1=1500

# === FILE 2 ===
inputJtl2=test2.csv
prefixLabel2=TEST2:
includeLabels2=P[0-9].*
excludeLabels2=
includeLabelRegex2=true
excludeLabelRegex2=
startOffset2=
endOffset2=1500

# === FILE 3 ===
#inputJtl3=
#prefixLabel3=
#includeLabels3=
#excludeLabels3=
#includeLabelRegex3=
#excludeLabelRegex3=
#startOffset3=
#endOffset3=

# === FILE 4 ===
#inputJtl4=
#prefixLabel4=
#includeLabels4=
#excludeLabels4=
#includeLabelRegex4=
#excludeLabelRegex4=
#startOffset4=
#endOffset4=


Regards.
Vincent D.

Vincent Daburon

unread,
Dec 5, 2014, 1:37:16 PM12/5/14
to jmeter-...@googlegroups.com
Hi,

I use JMeter 2.12 and this version have changed the "current" directory to the last opened file directory.

I put my data files in my <JMETER_HOME>/bin/mydata.csv but i open a script in the <APPLICATION>/script/script1.jmx => JMeter 2.12 wants to read my data in the <APPLICATION>/script no in the <JMETER_HOME>/bin !

May be you need to add the full name in the merge input filename file because the current directory is now set different than <JMETER_HOME>/bin



Regards.
Vincent D.

On Tuesday, December 2, 2014 10:41:38 PM UTC+1, pUnchY wrote:
Reply all
Reply to author
Forward
0 new messages