• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting Transaction time for each sampler in Jmeter

 
ashokaa kumar
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi every one.. i am new to Jmeter. at the end of my load test jmeter is giving me the average response time of the samplers, i need time taken for each sampler, is there any way to get this in j meter??

 
sugan san
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For each sample , you can see in Aggregate Report and View Results Tree Table.


Please visit the following URL:
http://www.technix.in/jmeter-problems-and-solutions/
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11831
181
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Aggregate Report wont give you transaction times for each sampler - it provides an aggregate of transaction times for the samplers.

The View Results Tree Table can give you transaction times on each sample, if you want to go and look at each sample manually and work it out for yourself. It will appear in the Load Time of the "Sampler Request" tab:


If you prefer to get it an easier way, then you can use a Simple Data Writer to output the raw data to a file as you run your tests (or use the "-l logfile" option from the command line if you are running in non-gui mode). You can then look at the raw data - the transaction times will be the first or second field depending on your output format. For example, in XML format it will look like this:

Where the t="215" tells us the time the sampler took.

Alternatively, if you use the CSV format, then you will get an output similar to:

In this case, the first field is the timestamp, and the second field (108 in this case) is the time the sampler took.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic