How to add variable names to the JMeter CSV output file? -


i'm using jmeter performance testing , generate csv file data analysis.

how should add jmeter variable names csv output? seems pre-defined columns can added (see screenshot).

this log-file:

14/03/2014,login,ok,982 14/03/2014,search,ok,2182 14/03/2014,login,ok,3982 

i add column ${username} generate like:

14/03/2014,login,ok,982,user1 14/03/2014,search,ok,2182,user7 14/03/2014,login,ok,3982,user9 

jmeter results output csv file

try pass sample_variables property, example command-line parameter -jsample_variables=username,some_other_var

also see flexiblefilewriter plugin if need custom formatting http://jmeter-plugins.org/wiki/flexiblefilewriter/?utm_source=jmeter&utm_medium=helplink&utm_campaign=flexiblefilewriter


Comments