How to Analyze Reports in Jmeter

31,556 views

Published on

Published in: Technology
2 Comments
16 Likes
Statistics
Notes
No Downloads
Views
Total views
31,556
On SlideShare
0
From Embeds
0
Number of Embeds
336
Actions
Shares
0
Downloads
811
Comments
2
Likes
16
Embeds 0
No embeds

No notes for slide

How to Analyze Reports in Jmeter

  1. 1. HOW TO ANALYZEREPORTS IN JMETERBY VIVIANA ZAMORA
  2. 2. • SUMMARY REPORT • GRAPH RESULTSKind of Reports • VIEW RESULTS IN TREE • VIEW RESULTS IN TABLE
  3. 3. SUMMARY REPORT
  4. 4. 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.
  5. 5. MAIN HEADINGS OF SUMMARY REPORTLABEL - THE LABEL OF THE SAMPLE. IF "INCLUDE GROUP NAME IN LABEL?" IS SELECTED, THEN THENAME OF THE THREAD GROUP IS ADDED AS A PREFIX. THIS ALLOWS IDENTICAL LABELS FROMDIFFERENT 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.
  6. 6. MAIN HEADINGS OF SUMMARY REPORTSTD. 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 ISCHOSEN SO THAT THE DISPLAYED RATE IS AT LEAST 1.0. WHEN THE THROUGHPUT IS SAVED TO A CSV FILE, IT ISEXPRESSED 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
  7. 7. GRAPH RESULTS
  8. 8. 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.
  9. 9. THE THROUGHPUT NUMBER REPRESENTS THE ACTUAL NUMBER OF REQUESTS/MINUTETHE SERVER HANDLED.THE ADVANTAGE OF DOING THE CALCULATION LIKE THIS IS THAT THIS NUMBERREPRESENTS 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
  10. 10. VIEW RESULTS IN TREE
  11. 11. VIEW RESULTS TREETHE VIEW RESULTS TREE SHOWS A TREE OF ALL SAMPLE RESPONSES, ALLOWING YOU TOVIEW THE RESPONSE FOR ANY SAMPLE. IN ADDITION TO SHOWING THE RESPONSE, YOUCAN SEE THE TIME IT TOOK TO GET THIS RESPONSE, AND SOME RESPONSE CODES.TABS VIEW RESULT TREE LISTENER: SAMPLER RESULTS REQUEST RESPONSE DATAhttp://jmeter-expert.blogspot.com/
  12. 12. SAMPLER RESULTS TAB.Shows JMeter data as well as data returned by the web server. Usuallybrowsers. This data is utilized internally by the browser, for example when thereis 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 webpage HTML. hide this data from us as it is not related to showing the webpage.
  13. 13. REQUEST TAB.Where all the data which was sent to the web server as part of the request isshown.
  14. 14. RESPONSE DATA TAB.In this tab the listener shows the data received from server as it is in textformat. It also have facility to show the data in XML, HTML formats but that willbe just the data in other way (no JavaScript will be executed).
  15. 15.  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
  16. 16. VIEW RESULTS IN TABLE
  17. 17. VIEW RESULTS IN TABLEThis visualizer creates a row for every sample result. Like the View Results Tree , thisvisualizer 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 themain samples.
  18. 18. SOURCES http://jmeter.apache.org/usermanual/component_reference.html http://jmeter-expert.blogspot.com/

×