Sure
In the case of ab:
It takes the first page (or some random one?), decides the size of that page is the correct one and all that differs are error pages. In my case I'm testing a dynamic page where the size is very random. So this means ab falsely reports tons of errors due to size. Also I can't specify requests per second just the amount of concurrent requests.
The specific case I'm trying to stress test is a broken java with grails application that always returns code 200, only way of seeing if it's broken is by size of the page thus I need a nice report of the amount of each size (or in the subclassed LWP::UA:Parallel I made intervals).
With httperf I can specify the amount of req/s but I can't see when things start to go bad and I can't see the amount of pages with different sizes, or the spread of time it takes to serve a page (which ab can).
I realize that my need to see the sizes is very specific to the bad code (which I lack powers to correct) I'm testing but I think the basic question I'm seeking an answer to is very general "How many requests per second can page x handle before it starts taking too long time to reply or it starts to break?"
Currently my script outputs this, and if it wasn't for parallel doesn't seems to honour "max parallel" and I can't specify the amount of requests per s I'm pretty satisfied with the data it gathers, just that those two are critical for the tests being of any value to me:
Configuration
Max parallel: 10
Wanted requests: 1000
Max total time: 100000000s
Stats general
Requested url: http://myhost/mypage
Made requests: 1000
Start time: Fri Apr 25 16:06:22 2008 (+621671 micro s)
End time: Fri Apr 25 16:09:49 2008 (+838640 micro s)
Return codes:
200: 1000
Content lengths:
<= 12000 bytes: 245
<= 24000 bytes: 0
<= 32000 bytes: 755
<= 100000 bytes: 0
Time limits:
<= 0.5 s: 238
<= 1 s: 300
<= 3 s: 454
<= 5 s: 0
<= 30 s: 8
Split stats:
Request 1 to 333
Return codes:
200: 333
Content lengths:
<= 12000 bytes: 106
<= 32000 bytes: 227
Time limits:
<= 0.5 s: 104
<= 1 s: 130
<= 3 s: 96
<= 30 s: 3
Request 334 to 666
...
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.