0

I am a JMeter learner and you are supporting me to learn. I am very grateful to all.

I just wanted to know if I can customize the log columns. By default they are:

  • TimeStamp - unix timestamp of the request
  • elapsed - time elapsed
  • label - a label (page title or url)
  • responseCode - http response code
  • responseMessage - http response message
  • threadName - name of the jave thread that did the request
  • dataType - mime type of the response
  • success - boolean, true if request successful
  • bytes - size of the response body
  • Latency - latency in ms

eg: Can I display date instead of Timestamp in my log file?

  • 1
    I'm not into JMeter but maybe this helps you: jmeter-plugins.org/wiki/FFWTutorials – bish Dec 2 '15 at 8:39
  • Don't know why do you want to modify the logs when you can use Listeners to interpret them. – Fazaikh Dec 2 '15 at 11:07
0

You can, it is controllable by the following property:

jmeter.save.saveservice.timestamp_format=ms

It defaults to milliseconds since beginning of Unix Epoch

If you want to change the format, any valid SimpleDateFormat value will play, for instance yyyy/MM/dd HH:mm:ss.SSS

Add jmeter.save.saveservice.timestamp_format=yyyy/MM/dd HH:mm:ss.SSS to user.properties file (it's located under JMeter's /bin folder) and after JMeter restart you'll see different timestamps.

See Apache JMeter Properties Customization Guide for more detailed information on JMeter properties and ways of working with them.

  • I used Your answer and gets proper output what i was expecting – CSachdev Dec 5 '15 at 12:19
1

Please go thru this link:

Can any one explain how the Jmeter listeners work

It will explain you how listeners in general work and how the log file is interpreted by the listeners.

  • I think it should be comment. – Helping Hands Dec 2 '15 at 11:31
  • 1449057501605,3168,femur-bone-model( Product Page),503,Service Unavailable,Thread Group 1-90,text,false,1593,100,100,3167 What is this error indicates???? – CSachdev Dec 2 '15 at 12:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.