How to make JMeter output graphs from log-file?
Asked Answered
C

2

2

I need to generate the same graphs as JMeter but from my app (C, VB, etc):

  1. Response Times Over Time

  2. Response Times Distribution

  3. Response Times Percentile

How can I do this? I need a calculation algorithm.

I have a CSV log-file from JMeter with following columns:

timeStamp, elapsed, label, responseCode, responseMessage, threadName, dataType, success, bytes, grpThreads, allThreads, Latency

Cluster answered 5/3, 2015 at 14:1 Comment(2)
3. Response Times PercentileCluster
Dude, just edit it into the question.Bentwood
C
2
  1. Response Times Over Time

    1. Divide all rows to groups by one minute. Use timeStamp for this.

    2. Get average of elapsed from each group. It will be Y value.

    3. Y value is a time with one minute step for each average value.

  2. Response Times Distribution

    1. Sort all rows by elapsed field.

    2. Count rows with value of elapsed field between 0 and 100. The count will be value of first column of chart.

    3. A count of rows with value of elapsed field between 100 and 200 will be a value of chart's second column, etc.

  3. Response Times Percentile

    1. X - numbers from 0 to 100.

    2. Y - according percentile value for elapsed fields.

Cluster answered 18/8, 2015 at 14:43 Comment(2)
Hi, where did you get this info from?Bentwood
It was a long time ago, I don't remember the sources for #2 and #3. The #1 was obtained experimentally.Cluster
A
0

I believe you can specify a file from which to read inside the Response Times Over Time Listener (and the others as well). Copy your results to another file and try a test with only listeners, pulling from that file.

Abyssinia answered 6/3, 2015 at 14:10 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.