Top Banner
HOW TO ANALYZE REPORTS IN JMETER BY VIVIANA ZAMORA
19
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: How to Analyze Reports in Jmeter

HOW TO ANALYZE REPORTS IN JMETERBY VIVIANA ZAMORA

Page 2: How to Analyze Reports in Jmeter

Kind of Reports

• SUMMARY REPORT

• GRAPH RESULTS

• VIEW RESULTS IN TREE

• VIEW RESULTS IN TABLE

Page 3: How to Analyze Reports in Jmeter

SUMMARY REPORT

Page 4: How to Analyze Reports in Jmeter

SUMMARY REPORT

THE SUMMARY REPORT SHOWS VALUES ABOUT THE MEASUREMENT JMETER HAS DONE WHILE CALLING THE SAME PAGE AS IF MANY USERS ARE CALLING THE PAGE. IT GIVES THE RESULT IN TABULAR FORMAT WHICH YOU CAN SAVE AS .CSV FILE.

THE SUMMARY REPORT CREATES A TABLE ROW FOR EACH DIFFERENTLY NAMED REQUEST IN YOUR TEST.

THE THROUGHPUT IS CALCULATED FOR EACH SAMPLER TARGET.

JMETER TAKES INTO ACCOUNT THE TOTAL TIME OVER WHICH THE REQUESTS HAVE BEEN GENERATED.

Page 5: How to Analyze Reports in Jmeter

MAIN HEADINGS OF SUMMARY REPORT

LABEL - THE LABEL OF THE SAMPLE. IF "INCLUDE GROUP NAME IN LABEL?" IS SELECTED, THEN THE NAME OF THE THREAD GROUP IS ADDED AS A PREFIX. THIS ALLOWS IDENTICAL LABELS FROM DIFFERENT THREAD GROUPS TO BE COLLATED SEPARATELY IF REQUIRED.

# SAMPLES - THE NUMBER OF SAMPLES WITH THE SAME LABEL.

AVERAGE - THE AVERAGE ELAPSED TIME OF A SET OF RESULTS.

MIN - THE LOWEST ELAPSED TIME FOR THE SAMPLES WITH THE SAME LABEL.

MAX - THE LONGEST ELAPSED TIME FOR THE SAMPLES WITH THE SAME LABEL.

Page 6: How to Analyze Reports in Jmeter

MAIN HEADINGS OF SUMMARY REPORT

STD. DEV. - THE STANDARD DEVIATION OF THE SAMPLE ELAPSED TIME.

ERROR % - PERCENT OF REQUESTS WITH ERRORS.

THROUGHPUT - THE THROUGHPUT IS MEASURED IN REQUESTS PER SECOND/MINUTE/HOUR. THE TIME UNIT IS CHOSEN SO THAT THE DISPLAYED RATE IS AT LEAST 1.0. WHEN THE THROUGHPUT IS SAVED TO A CSV FILE, IT IS EXPRESSED IN REQUESTS/SECOND, I.E. 30.0 REQUESTS/MINUTE IS SAVED AS 0.5.

KB/SEC - THE THROUGHPUT MEASURED IN KILOBYTES PER SECOND.

AVG. BYTES - AVERAGE SIZE OF THE SAMPLE RESPONSE IN BYTES.

IMPORTANT: TIMES ARE MEASURED IN MILLISECONDS. Clik here to convert miliseconds to seconds

Page 7: How to Analyze Reports in Jmeter

GRAPH RESULTS

Page 8: How to Analyze Reports in Jmeter

GRAPH RESULTS

THE GRAPH RESULTS LISTENER GENERATES A SIMPLE GRAPH THAT PLOTS ALL SAMPLE TIMES.

THE CURRENT SAMPLE (BLACK).

THE CURRENT AVERAGE OF ALL SAMPLES(BLUE).

THE CURRENT STANDARD DEVIATION (RED).

THE CURRENT THROUGHPUT RATE (GREEN) ARE DISPLAYED IN MILLISECONDS.

Page 9: How to Analyze Reports in Jmeter

THE THROUGHPUT NUMBER REPRESENTS THE ACTUAL NUMBER OF REQUESTS/MINUTE THE SERVER HANDLED. 

THE ADVANTAGE OF DOING THE CALCULATION LIKE THIS IS THAT THIS NUMBER REPRESENTS SOMETHING REAL

DATA - PLOT THE ACTUAL DATA VALUES

AVERAGE - PLOT THE AVERAGE

MEDIAN - PLOT THE MEDIAN (MIDWAY VALUE)

DEVIATION - PLOT THE STANDARD DEVIATION (A MEASURE OF THE VARIATION)

THROUGHPUT - PLOT THE NUMBER OF SAMPLES PER UNIT OF TIME

Page 10: How to Analyze Reports in Jmeter

VIEW RESULTS IN TREE

Page 11: How to Analyze Reports in Jmeter

 VIEW RESULTS TREE 

THE VIEW RESULTS TREE SHOWS A TREE OF ALL SAMPLE RESPONSES, ALLOWING YOU TO VIEW THE RESPONSE FOR ANY SAMPLE. IN ADDITION TO SHOWING THE RESPONSE, YOU CAN SEE THE TIME IT TOOK TO GET THIS RESPONSE, AND SOME RESPONSE CODES.

TABS VIEW RESULT TREE LISTENER:

SAMPLER RESULTS

REQUEST

RESPONSE DATA

http://jmeter-expert.blogspot.com/

Page 12: How to Analyze Reports in Jmeter

SAMPLER RESULTS TAB.

Shows JMeter data as well as data returned by the web server.  Usually browsers. This data is utilized internally by the browser, for example when there is a Response Code: 404 then the browser shows a page not found error page, and when the Response Code is 200 the browser shows the received web page HTML. hide this data from us as it is not related to showing the web page. 

Page 13: How to Analyze Reports in Jmeter
Page 14: How to Analyze Reports in Jmeter

REQUEST TAB.

Where all the data which was sent to the web server as part of the request is shown.

Page 15: How to Analyze Reports in Jmeter

RESPONSE DATA TAB.

In this tab the listener shows the data received from server as it is in text format.  It also have facility to show the data in XML, HTML formats but that will be just the data in other way (no JavaScript will be executed).

Page 16: How to Analyze Reports in Jmeter

THIS VISUALIZER CREATES A ROW FOR EVERY SAMPLE RESULT. THIS VISUALIZER USES A LOT OF MEMORY.

BY DEFAULT, IT ONLY DISPLAYS THE MAIN (PARENT) SAMPLES

IF "CHILD SAMPLES” OPTION IS SELECTED, THEN THE SUB-SAMPLES ARE DISPLAYED INSTEAD OF THE MAIN SAMPLES.

http://jmeter.apache.org/usermanual/component_reference.html

Page 17: How to Analyze Reports in Jmeter

 VIEW RESULTS IN TABLE

Page 18: How to Analyze Reports in Jmeter

 VIEW RESULTS IN TABLE

This visualizer creates a row for every sample result. Like the View Results Tree , this visualizer uses a lot of memory.

By default, it only displays the main (parent) samples; it does not display the sub-samples (child samples). Versions of JMeter after 2.5.1 have a "Child Samples?" check-box. If this is selected, then the sub-samples are displayed instead of the main samples.

Page 19: How to Analyze Reports in Jmeter

SOURCES

http://jmeter.apache.org/usermanual/component_reference.html

http://jmeter-expert.blogspot.com/