From: Nathan Smith Date: 2006-12-22T12:56:49+09:00 Subject: Re: Ruby replacement for ab? ------=_Part_33389_32293309.1166759806387 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 12/21/06, khaines@enigo.com wrote: > > Yeah, possibly. Mechanize or hpricot could be part of a solution, but the > real challenge is in devising a DSL that makes it _easy_ for me to, for > example: > > 1) Hit the homepage. > > 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.... > > > > Then, if I can run that on two or three machines at the same time, and can > collate their logs and run an analysis on the collated logs, I'd be a > happy fellow. > > Another thing that I'd love to be able to do is to run something like the > above set of actions, but do it more slowly, with pauses between each > request, so that the site may only get, on average, one request a second > but I can let it run for days. > > I have encountered failures on occasion that didn't seem to happen as a > result of short term heavy loading, but more as a result of steady hits > over a longer period of time. > > I'd like to be able to easily simulate that usage pattern in a development > environment. > > > Kirk Haines > > > Watir (http://wtr.rubyforge.org/) and FireWatir (which uses jSSh) look promising. Those along with the tools mentioned earlier might be a start. Nate ------=_Part_33389_32293309.1166759806387--