How to change the epoch time to human reable time in the filed "Start time" in flexible file writer

429 views
Skip to first unread message

rashmi diwakar

unread,
Feb 5, 2021, 6:54:30 AM2/5/21
to jmeter-plugins
How to change the epoch time to human reable time in the filed "Start time" in flexible file writer
 
startTime
epoch time when request was started

Vincent Daburon

unread,
Feb 8, 2021, 3:27:25 AM2/8/21
to jmeter-plugins
Hi,

Copy this lines from jmeter.properties
# Timestamp format - this only affects CSV output files
# legitimate values: none, ms, or a format suitable for SimpleDateFormat
#jmeter.save.saveservice.timestamp_format=ms
#jmeter.save.saveservice.timestamp_format=yyyy/MM/dd HH:mm:ss.SSS

to the user.properties, and remove the comment # for this line
jmeter.save.saveservice.timestamp_format=yyyy/MM/dd HH:mm:ss.SSS


Regards.
Vincent DAB.

Javier Cortavitarte

unread,
Feb 8, 2021, 1:55:45 PM2/8/21
to jmeter-...@googlegroups.com

Hola, 

To ‘turn on’ the option for JMeter to print out timestamps in human readable formats, you can do the following, 

  1. Browse to your JMeter/Bin directory
  2. Open jmeter.properties ina simple text editor such as notepad
  3. Find the following line:
    #jmeter.save.saveservice.timestamp_format=yyyy/MM/dd HH:mm:ss.SSSS
  4. Uncomment this line by removing the hash (#)

The, edit the above sections to fit your needs. i.e.: if you want JMeter to print out the seconds instead of milliseconds, replace with SS at the end, so it looks like:

jmeter.save.saveservice.timestamp_format=yyyy/MM/dd HH:mm:ss

Hope this helps!

--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jmeter-plugins/9803b8b5-30fe-4b5d-a7e3-620ea7ccf745n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages