JMeter Merged result file saving null values for custom variable column

107 views
Skip to first unread message

Poonam Kushwaha

unread,
Jun 15, 2022, 2:46:38 AM6/15/22
to jmeter-plugins
Hi,

I have added a custom variable to my reports to create custom graph in dashboard report.
But while merging the 2 results using merge plugin, the value of that custom variable column gets saved as null. 

Ex: JTL1, JTL2 have values in 'recordCount' column.
JTL1:
JTL1.PNG
JTL2:
JTL2.PNG
But, the merged file puts 'null' in that column. (Merged through jp@gc Merge Results option)
merged.PNG

Where can I configure for these values to be read and saved correctly in merged file.

Any help would be appreciated.

Thanks,
Poonam


Vincent Daburon

unread,
Jun 15, 2022, 7:40:35 AM6/15/22
to jmeter-plugins
Hi,
The merge tool read only standard columns not custom columns => null values

Do you merge files from 2 load testing results or the result files from 2 JMeter for the SAME load test ?

If it's 2 files from 2 JMeter for the same load test. You don't need to use the merge tool.

You have to concats 2 files in one but you need to remove the first line header.

File1 contains :
header1
line1file1
line2file1
line3file1

File2 contains
header2
line1file2
line2file2
line3file2
line4file2


You have to contact like this :
FileThisAllLines (with only one line header)
header1
line1file1
line2file1
line3file1
line1file2
line2file2
line3file2
line4file2

The merge tool is for 2 to 4 differents load test (not the same date or hour)

Poonam Kushwaha

unread,
Jun 15, 2022, 8:14:41 AM6/15/22
to jmeter-plugins

Okay. Thanks for your inputs. Appreciate it.

I am trying to merge result files for different load test runs.

I also tried to manually edit the values of custom column but on trying to create the dashboard report from an edited csv file, It gives below error(even though i did not make change in any column header or value of any other column):

File 'test.csv' does not contain the field names header, ensure the jmeter.save.saveservice.* properties are the same as when the CSV file was created or the file may be read incorrectly when generating report
An error occurred: Error while processing samples: Consumer failed with message :Could not parse timeStamp <9.46681E+11>

Please share if any pointers for fixing this issue.

Thanks,
Poonam

Vincent Daburon

unread,
Jun 15, 2022, 11:44:01 AM6/15/22
to jmeter-plugins
Hi,
If you don't change the first line header, the error is from the timeStamp milli secondes sinces 01 january 1970.
The format is a long e.g : 1652261769722 but in your result file the format is different like 1.65221E+11 a scientific notation

An error occurred: Error while processing samples: Consumer failed with message :Could not parse timeStamp <9.46681E+11>

Regards.
Vincent DAB.
Reply all
Reply to author
Forward
0 new messages