1
votes

Can someone share a sample line which will explain how to merge multiple jtl file into single jtl file using jmeter plugins

Error while trying to merge results from different JTL files using the MergeResults PLUGIN in JMETER NON GUI mode

1

1 Answers

2
votes
  1. Using JMeter Plugins Manager install:

  2. Make sure that files you're going to merge are present in JMeter's "bin" folder and called

    • test1.csv
    • test2.csv
  3. Amend merge-results.properties file (in "bin" folder of your JMeter installation) to look like:

    # === FILE 1 ===
    inputJtl1=test1.csv
    prefixLabel1=TEST1:
    includeLabels1=.*
    excludeLabelsl=
    includeLabelRegex1=true
    excludeLabelRegex1=
    startOffset1=
    endOffset1=
    
    # === FILE 2 ===
    inputJtl2=test2.csv
    prefixLabel2=TEST2:
    includeLabels2=.*
    excludeLabels2=
    includeLabelRegex2=true
    excludeLabelRegex2=
    startOffset2=
    endOffset2=
    
  4. Execute the following command from "bin" folder of your JMeter installation:

    PluginsManagerCMD --tool Reporter --generate-csv merged.csv --input-jtl merge-results.properties --plugin-type MergeResults
    
  5. Open merged.csv file with the Listener of your choice - you should see cumulative results for both files.