You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by Apache Wiki <wi...@apache.org> on 2007/07/20 16:21:49 UTC
[Jakarta-jmeter Wiki] Update of "LogAnalysis" by AndresGaleano
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Jakarta-jmeter Wiki" for change notification.
The following page has been changed by AndresGaleano:
http://wiki.apache.org/jakarta-jmeter/LogAnalysis
------------------------------------------------------------------------------
*Windows alternatives [http://www.cygwin.com Cygwin], [http://www.microsoft.com/technet/interopmigration/unix/sfu/default.mspx Windows SFU], or linux on a Virtual PC
*Or use a Linux/Unix OS exclusively to run the above scripts ..
+ == Java Class to Quickly Summarize JMeter Results ==
+
+ I used the JMeter Ant task, [http://www.programmerplanet.org/pages/projects/jmeter-ant-task.php], to produce very large output files. I wrote up this Java class to Summarize this information. I hope you find this useful. - Andy G.
+
+ Java Class: attachment:JMeterSummary.java
+
+ Sample Ouput:
+ {{{
+ All Urls:
+ cnt: 333, avg t: 535 ms, max t: 30755 ms, min t: 10 ms, result codes: {200=291, 302=42}, failures: 0, cnt by time: [0.0 s - 0.5 s = 312, 0.5 s - 1.0 s = 16, 30.5 s - 31.0 s = 5]
+ avg conn: 17 ms, max conn: 120 ms, min conn: 0 ms, elapsed seconds: 71 s, cnt per second: 5
+
+ URL: /
+ cnt: 27, avg t: 44 ms, max t: 90 ms, min t: 20 ms, result codes: {200=27}, failures: 0, cnt by time: [0.0 s - 0.5 s = 27]
+
+ URL: /home.html
+ cnt: 30, avg t: 173 ms, max t: 581 ms, min t: 70 ms, result codes: {200=30}, failures: 0, cnt by time: [0.0 s - 0.5 s = 27, 0.5 s - 1.0 s = 3]
+
+ URL: /news/
+ cnt: 9, avg t: 93 ms, max t: 120 ms, min t: 70 ms, result codes: {200=9}, failures: 0, cnt by time: [0.0 s - 0.5 s = 9]
+
+ URL: /signout.jsp
+ cnt: 21, avg t: 30 ms, max t: 60 ms, min t: 20 ms, result codes: {302=21}, failures: 0, cnt by time: [0.0 s - 0.5 s = 21]
+ ...
+ }}}
+
+ ||cnt || number of requests ||
+ ||avg t || average time per request ||
+ ||max t || longest request ||
+ ||min t || shortest request ||
+ ||result codes || http result code and number of times received ||
+ ||failures || number of failures ||
+ ||cnt by time || a break down of how many requests returned in the specified time range ||
+ ||avg conn || average time doing connection overhead (time ms - latency ms = conn ms) ||
+ ||max conn || max connection overhead ||
+ ||min conn || min connection overhead ||
+ ||elapsed seconds || total elapsed time of test (last time stamp - first time stamp) ||
+ ||cnt per second || throughput (number of requests / elapsed seconds) ||
+
+ Based on this sort of input:
+ {{{
+ <?xml version="1.0" encoding="UTF-8"?>
+ <testResults version="1.2">
+ <httpSample t="511" lt="461" ts="1184177284608" s="true" lb="http://www.website.com/home.html" rc="200" rm="OK" tn="Thread Group 1-1" dt="text"/>
+ <httpSample t="581" lt="481" ts="1184177284718" s="true" lb="http://www.website.com/home.html" rc="200" rm="OK" tn="Thread Group 1-1" dt="text"/>
+ ...
+ }}}
+
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org