Re: Perl to do web load test

2006-08-28 Thread �d�^�d
Thanks for your reply. The web system is a on-goning one & it's encapsulated into "XXX.exe". I can user shell    qq/echo "cookie=...&path_info&...&..." | XXX.exe/    to  specify some parameter to finish a "post" or "get" process. So I don't need apache to show the page for me.Actally,I installed A

Re: Perl to do web load test

2006-08-28 Thread Paco Zarabozo A.
Hi,   You cannot specify in ab.exe any parameter (other than QUERY_STRING of course). What you need to do, is to write yourself a single script in perl that makes a series of tests. I recommend the following:   1. Write a perl script that can take the necessary parameters from QUERY_STRING o

Re: Perl to do web load test

2006-08-28 Thread �d�^�d
Yes,it does works. but still have some questions: 1 . As you know,many B/S systems need a cookie to login,how can I send this parameter to "ab.exe"? 2 . If I wanna use perl to write some scripts myself,what should I do?On 8/28/06, Paco Zarabozo A. <[EMAIL PROTECTED] > wrote: Hello,   Apach

Re: Perl to do web load test

2006-08-28 Thread Paco Zarabozo A.
 Hello,   Apache2 for Win32 comes with a utility for that. Taking for granted that it's installed on C:\Apache2, you can call it like this:   C:\> cd C:\Apache2\bin C:\Apache2\bin> ab -n 5 -c 5 http://127.0.0.1/loginScript.pl   That makes 5 concurrent requests for the specified url. I think t

Re: perplexed with code containing %EXPORT_TAGS and @EXPORT_OK

2006-08-28 Thread Paco Zarabozo A.
Hello Ukhas,   When a module uses the exporter module, it can use the following syntax:   require Exporter;our @ISA = qw(Exporter);our @EXPORT = qw( mysubA mysubB $myvar1 $myvar2 );our @EXPORT_OK = qw( myOnlyOnRequestSubA myOnlyOnRequestSubB );our %EXPORT_TAGS = (  all => [ qw( subA subB su

Perl to do web load test

2006-08-28 Thread �d�^�d
Currently, I need to do some web load testing. So, I wanna know if there are some modules to do this. Such as : parallel login & operation, heavy load DB operation... Thanks for your help!-- --==Nerazzurri==-- ___ ActivePerl mailing list