Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
I used \[http://www.mingw.org/ MinGW\] with the familiar \*nix text processing tools; here's a list
 *\[http://prdownloads.sourceforge.net/mingw/MinGW-3.1.0-1.exe?download MinGW\], \[http://prdownloads.sourceforge.net/mingw/MSYS-1.0.10.exe?download MSYS\], \[http://prdownloads.sourceforge.net/mingw/msysDTK-1.0.1.exe?download MSys-DTK\], \[http://sourceforge.net/project/showfiles.php?group_id=23617&package_id=26968 Gnu-bc\], \[http://prdownloads.sourceforge.net/mingw/join_paste_textutils-2.1-MSYS.tar.bz2?download paste\], \[http://www.bzip.org/1.0.3/bzip2-103-x86-linux26 bzip2\], \[ftp://ftp.vim.org/pub/vim/pc/gvim70.exe gVim 7.0\]
 *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

Wiki Markup
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:

No Format

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:

No Format

<?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"/>
...