Greetings,

We have written a web application utilizing mod_perl and MySQL. We have also 
written testing scripts using WWW::Mechanize that simulate a user. These 
scripts were first developed as test scripts to ensure actions were performed 
correctly, etc.

We would now like to take these scripts and use them in order to benchmark the 
machines the software runs on to get estimates of the max utilization for a 
certain setup.

Each feature of the software has its own testing script which is broken down 
into individual subroutines to simulate actions, then different "profiles" 
call the various subroutines to check all areas of functionality. This 
simulates a single user per execution of the script.

We would like to be able to create a "master" test script that ties all these 
together, which we can control the number of times a "profile" is executed, 
etc.

The only way I can explain it would be something pseudo code like:

(in a required module)
sub user_signup {
 get_page
 sleep 5
 fill form
 submit
}

sub user_checkstats {
 get page
 sleep 1
 fill form
 submit
}

I would like to be able to do something like:

(in the master script)
sub profile_one {
 user_signup();
 user_checkstats();
}

and not have to wait for user_signup() to complete for user_checkstats() to 
execute?

I hope this makes sense, this is the best way i can explain it. I'm pretty 
much trying to be able to simulate simultaneous users.

Any tips are appreciated!!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to