Mayank
Mayank

Reputation: 65

How to generate csv file in jmeter with unique name for every run time?

I have a doubt. I want to create "CVS file" with unique name in yy-mm-dd-time format for every run in JMeter.(multiple run) and send report via a mail. How can i do this?

Upvotes: 1

Views: 1455

Answers (1)

Bajrang Badaik
Bajrang Badaik

Reputation: 202

The Jmeter results can be either generated in .csv or .jtl extensions.

Append the following Jmeter in-built Function to your preferred result file name.

${__time(YMDHMS)}

For Example: TestResult_${__time(YMDHMS)}.csv OR TestResult_${__time(YMDHMS)}.jtl

The result file will be generated as: TestResult_20160224-112120.csv OR TestResult_20160224-112120.jtl

enter image description here

Upvotes: 2

Related Questions