artist has asked for the wisdom of the Perl Monks concerning the following question:

I am testing a web application, I have written on *nix platform. I like to test mimicking server load, parallel connections, simultenous logins from two different places, data writing to single files from multiple logins etc... Where do I start?

Replies are listed 'Best First'.
Re: Mimicking Server Load
by saintmike (Vicar) on Nov 15, 2004 at 21:39 UTC
Re: Mimicking Server Load
by mbeast (Beadle) on Nov 15, 2004 at 21:57 UTC
Re: Mimicking Server Load
by CountZero (Bishop) on Nov 15, 2004 at 22:08 UTC
    Microsoft Web Application Stress Tool?

    It can (remotely) test any type of server, but the tool needs to run on a Windows machine.

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Re: Mimicking Server Load
by cLive ;-) (Prior) on Nov 15, 2004 at 21:32 UTC
Re: Mimicking Server Load
by TedPride (Priest) on Nov 16, 2004 at 14:43 UTC
    For simultaneous logins, you can add sleep commands at key points in your script and then call it from several different windows of your browser. I did this to test file lock / unlock collisions on a script I wrote. Server load is more difficult to measure, but you can adapt your script for repeat runs and time it for x number of seconds or iterations, or use LWP::Simple from your personal computer to time response times over the Internet.