From: khaines@... Date: 2006-12-22T07:51:15+09:00 Subject: Re: Ruby replacement for ab? On Fri, 22 Dec 2006, hemant wrote: > On 12/22/06, Mat Schaffer wrote: >> >> I'd really love something where I could define a script that >> determined the way an agent would behave. Basically a set of >> requests where each request had the potential to use information >> contained in the return of a previous request. >> >> My brain is slowly churning around the possibilities of putting >> ruby's benchmark.rb, mechanize, maybe drb to manage multiple test >> hosts.... Some sort of ruby DSL would be sweet. But before I get >> too ahead of myself: Does anyone here know of a tool does this? >> >> I'm looking at JMeter right now. It at least allows for assertions >> on HTTP requests as part of an agent script, but I don't see any >> facility to do computations on the returned content from a previous >> request. >> > > Did you see, : http://rfuzz.rubyforge.org/ rfuzz is nice but isn't really what he's asking about. What he is asking about is something that I have wanted for a long time. I want to be able to quickly and easily setup a test script for a site. Go to a URL. Follow a link on the page returned. Maybe pick randomly from a few choices of links to follow. Repeat a few times to simulate people clicking around a site. Go to a page with a form, and fill in form fields, etc... Basically, a DSL to write scripts for driving interactions to a site or application that would somewhat simulate what real traffic is expected to look like. That would be dandy. Kirk Haines