From: khaines@... Date: 2006-12-23T03:42:24+09:00 Subject: Re: Ruby replacement for ab? On Sat, 23 Dec 2006, Mat Schaffer wrote: > On 12/22/06, Jason Roelofs wrote: >> On 12/22/06, khaines@enigo.com wrote: >> > >> > Those actually drive a real browser session, though. That's not really >> > what I need. >> >> Um, then what DO you need that Rails unit and integration testing can't >> handle? Any other type of testing *requires* a browser instance. See below. Rails unit testing is irrelevant. I don't use Rails. It's inadequate for my needs. > I can't answer Kirk's question, but personally I'm looking for full > stack stress testing. Mostly so I can give my superiors some evidence > rather than blinding estimating how many concurrent users we can > handle. Not exactly mission-critical, but warm fuzzies are always > good. What I would like, and what Mat wants, I think, have a great deal of overlap. To repeat some of what I said in an earlier post, I'd like to. 1) Hit the homepage of a site. 2) Go to a random URL on the site. Repeat 2-5 times. 3) Go to the fund information page. 4 Click through to the distributions display. 5) Randomly select 1-4 fund information links. Repeat 100000 times, collecting timing information, failure information, etc.... Or, even more ambitiously: 1) Hit the homepage of a site. 2) Follow the link to the advisor login page. 3) Login (an action that requires sending a form response, and receiving a cookie in response that will be sent on further requests). 4) View fund information for some random funds. 5) Go into advisor tools and feed some numbers into a calculator. 6) Goto the logout link. If I can create scripts that define actions like those outlined above, which would can simulate expected real world usage over a period of days, or can simulate hordes of users in a more realistic manner than the ab/httperf mechanism of hammering a single URL, it would be very valuable. I don't need to drive an actual IE or Firefox session, and for this sort of thing that's impractical. Thanks, Kirk Haines