> Does anyone know of any good open source test builders for
> regression/performance-testing a mod_perl app?
> 
> This is the essence of what I would want such a suite to do:
> RECORD:
> -set up a proxy server to forward HTTP requests to a mod_perl'd server.
> -capture all GET/POST requests from the client and log them to a file, along
> with the server's output. The server's output would be the 'master' copy.
> PLAYBACK (REGRESSION):
> -play back the GET/POST requests and capture the output. Compare the output
> against the master copy. Raise an error in the log file if the two differ.
> PLAYBACK (LOAD):
> -play back the GET/POST requests according to some load scheme to see how
> well the application holds up under load.
> 
> If this doesn't exist, I think it would be easy enough to write using LWP; I
> just don't want to duplicate anyone's efforts.

Not that I know of, but yes LWP should be a good solution. And I would be
interested in collaborating on testing this tool, if you choose to work on
it!

BTW, for client side based benchmarks see:
http://perl.apache.org/guide/performance.html#Tuning_the_Apache_s_configuratio

> I'd also be interested to know if anyone knows of any good webserver
> monitoring programs that could automatically kill spinning httpds, short of
> a CRON job. FYI-- I have encountered mystery spinning httpd's as well, but I
> have always been able to pin it down on bad/risk code or thrashing. At any
> rate, I still need to be able to kill spinning httpds should it come to
> that.

Yup,
http://perl.apache.org/guide/control.html#Monitoring_the_Server_A_watchdo
http://perl.apache.org/guide/control.html#Preventing_from_modperl_process_


_______________________________________________________________________
Stas Bekman  mailto:[EMAIL PROTECTED]    www.singlesheaven.com/stas  
Perl,CGI,Apache,Linux,Web,Java,PC at  www.singlesheaven.com/stas/TULARC
www.apache.org  & www.perl.com  == www.modperl.com  ||  perl.apache.org
single o-> + single o-+ = singlesheaven    http://www.singlesheaven.com

Reply via email to