You've seen "ab" right? Was written for benchmarking Apache?
OK, you can only throw the one page at it I think, but I find it very useful for finding out the basic page overhead and stability under parellel load.
Adam K
CÃdric Bouvier wrote:
Hello there.
I once had to organize the stress testing of a web based application. The client wanted to know whether the server would handle a given number of concurrent sessions and how long would the users have to wait in front of their stalled browser if such a situation ever happened.
The app was hosted on a big server, and I only had an aging laptop to bombard it with requests. My machine would have been lying panting on the floor before the server even noticed something was happening. So I figured I would run the tests concurrently from several aging laptops at once, but I didn't want to run between each test machines to try and hit 'return' on all of them within an acceptable timeframe. So I tried to find some software that would help me manage these test scripts running on different machines.
I could only find The Grinder in the free software realm, but that means Javaâ, and scripting the tests in Python. I could not find anything in Perl. And I find The Grinder not flexible enough to my taste.
I started off writing a Perl Module to achieve this. It runs a server on one machine, and a number of clients on several other machines. The server beats the rythm, telling the client when to start their tests, or when to wait for the other test machines to complete theirs. The server gathers the results at the end of the test session for later reporting.
I have something almost working right now. I'd like to upload it to CPAN (after I have at least improved the documentation kindly written by Module::Starter, that is) but I'd like your enlightened opinion on what name it should bear. I'm thinking of Test::Distributed::* but I wouldn't want people being fooled into thinking that it is designed to run under Test::Harness, which it isn't at the moment...
Any comments, suggestions, or questions ?
TIA