Re: [ANNOUNCE] RoboWeb 1.0b, web application test suite generator

2001-07-23 Thread Ilya Martynov


 We should investigate how these 2 projects can work together when I'm
 done so that RoboWeb 'recorded' sessions can create WWW::Automate methods
 that utilise the structure of the page. The benefits of doing this are:
 1- Resultant scripts are easier to interpret
 2- Scripting apps that vary their form field names works.

CG [..skip..]

CG I look forward to seeing WWW::Automate and to working together on this.

I've recently become maintainer of another testing module
HTTP::WebTest. Stable version (released on CPAN) already has many
interesting features (like response time tests, text matching tests,
content size checks, support for both remote web server and local test
modes). I'm working on its rewrite in modular style where tests
modules are pluggable so it will be easily extendable. After finishing
with it I thought about writhing proxy that records users actions and
produces skeleton of test.

Maybe joining our efforts have some sense.

-- 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Ilya Martynov (http://martynov.org/)|
| GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80  E4AE BE1A 53EB 323B DEE6 |
| AGAVA Software Company (http://www.agava.com/)  |
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



http://dailynews.yahoo.com/h/zd/20010723/tc/it_bugs_out_over_iis_security_1.html

2001-07-23 Thread raptor

http://dailynews.yahoo.com/h/zd/20010723/tc/it_bugs_out_over_iis_security_1.
html




Re: SAN food and entertainment

2001-07-23 Thread Sander van Zoest


I actually live in San Diego and just send off an e-mail to a friend with
similar info. A great pub in San Diego is Shakespeare's Pub on 3701 India
Street.

For club info you can check out:
http://www.sandiegoclubs.com/ for a general list (little dated).
http://www.ravelinks.com/calendars/socal.htm for Techno/Dance and
http://www.sdgoth.org/local/events/ for Goth/Industrial/Fetish

Let me know if you have any other interests I might be able to help
with, such as (the lack of) public transportation and/or directions.

--
Sander van Zoest [[EMAIL PROTECTED]]
Covalent Technologies, Inc.   http://www.covalent.net/
+1 (415) 536-5218  http://Sander.vanZoest.com/




Child Interprocess Data

2001-07-23 Thread Kevin Schroeder



Hi,
 I want to create a program for 
mod_perl that shares information in between all the child processes so they all 
have current information. The data will be stored in a MySQL database, but 
rather than query the DB each time which, due to the kind of server load, would 
work but would be somewhat needless, I would like to have a certain amount of 
data stored within the server and accessable to all the Apache 
processes.

 Could someone point me in the 
right direction to start?

Kevin


Re: Child Interprocess Data

2001-07-23 Thread Perrin Harkins

 Kevin Schroeder wrote:
 I want to create a program for mod_perl that shares information in
 between all the child processes so they all have current information.

There are many CPAN modules that cover this.  Check the guide at
http://perl.apache.org/guide/.  One option that's easy to get started
with is the MLDBM::Sync module, which uses dbm files for sharing.

- Perrin



Re: [ANNOUNCE] RoboWeb 1.0b, web application test suite generator

2001-07-23 Thread Joshua Chamas

Ilya Martynov wrote:
 
  We should investigate how these 2 projects can work together when I'm
  done so that RoboWeb 'recorded' sessions can create WWW::Automate methods
  that utilise the structure of the page. The benefits of doing this are:
  1- Resultant scripts are easier to interpret
  2- Scripting apps that vary their form field names works.
 

FYI, during my Apache::ASP presentation today at the OSS
conference in San Diego, I recommended both HTTP::WebTest
and RoboWeb for regression testing a site.  Someone from 
the audience asked where they could find pricing information 
on these tools :)

--Josh

_
Joshua Chamas   Chamas Enterprises Inc.
NodeWorks Founder   Huntington Beach, CA  USA 
http://www.nodeworks.com1-714-625-4051



cgi-lib.pl

2001-07-23 Thread John Buwa



Hello,

I have a huge system i wrote using the cgi-lib.pl 
as its core. I attempted to integrate mod-perl with my system and all my 
cgi-lib.pl which are used via a require in all scripts returns errors. My dont 
work, if they do the act very strange and unacceptable. 

My question is how do i use cgi-lib.pl and mod-perl 
together? Is anyone doing this? How can it be done.

Here is a common error in my log:

[Mon Jul 23 05:38:06 2001] [error] Undefined 
subroutineApache::ROOTwww_2emy_2ddomain_2ecom::cgi_2dbin::pads::welcome_2epl::ReadParse 
called at /driveb/usr/web/webroot/cgi-bin/pads/welcome.pl line 7.Any 
info would be appreciated!

John


cvs commit: modperl-2.0/Apache-Test/lib/Apache TestServer.pm

2001-07-23 Thread dougm

dougm   01/07/23 13:31:23

  Modified:Apache-Test/lib/Apache TestServer.pm
  Log:
  avoid cannot connect ... warnings when waiting for server to warmup
  
  Revision  ChangesPath
  1.13  +4 -1  modperl-2.0/Apache-Test/lib/Apache/TestServer.pm
  
  Index: TestServer.pm
  ===
  RCS file: /home/cvs/modperl-2.0/Apache-Test/lib/Apache/TestServer.pm,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- TestServer.pm 2001/07/20 01:48:11 1.12
  +++ TestServer.pm 2001/07/23 20:31:23 1.13
  @@ -346,7 +346,10 @@
   return 0;
   }
   
  -my $server_up = sub { $self-{config}-http_raw_get('/index.html') };
  +my $server_up = sub {
  +local $SIG{__WARN__} = sub {}; #avoid cannot connect ... warnings
  +$self-{config}-http_raw_get('/index.html');
  +};
   
   if ($server_up-()) {
   return 1;
  
  
  



cvs commit: modperl-2.0/Apache-Test/lib/Apache TestServer.pm

2001-07-23 Thread dougm

dougm   01/07/23 13:38:22

  Modified:Apache-Test/lib/Apache TestServer.pm
  Log:
  wait a bit longer for test server to start
  
  Revision  ChangesPath
  1.14  +1 -1  modperl-2.0/Apache-Test/lib/Apache/TestServer.pm
  
  Index: TestServer.pm
  ===
  RCS file: /home/cvs/modperl-2.0/Apache-Test/lib/Apache/TestServer.pm,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- TestServer.pm 2001/07/23 20:31:23 1.13
  +++ TestServer.pm 2001/07/23 20:38:22 1.14
  @@ -310,7 +310,7 @@
   $mpm = ($mpm MPM) if $mpm;
   print using $version $mpm\n;
   
  -my $tries = 6;
  +my $tries = 8;
   
   for (1..$tries) {
   my $pid = $self-pid;
  
  
  



cvs commit: modperl-2.0/Apache-Test/lib/Apache TestConfig.pm TestServer.pm

2001-07-23 Thread dougm

dougm   01/07/23 13:43:16

  Modified:Apache-Test/lib/Apache TestConfig.pm TestServer.pm
  Log:
  need to test -e full path to t/logs/error_log for when t/TEST chdir into t/
  
  Revision  ChangesPath
  1.11  +3 -3  modperl-2.0/Apache-Test/lib/Apache/TestConfig.pm
  
  Index: TestConfig.pm
  ===
  RCS file: /home/cvs/modperl-2.0/Apache-Test/lib/Apache/TestConfig.pm,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- TestConfig.pm 2001/04/20 16:46:50 1.10
  +++ TestConfig.pm 2001/07/23 20:43:16 1.11
  @@ -574,10 +574,10 @@
   sub error_log {
   my($self, $rel) = @_;
   my $file = catfile $self-{vars}-{t_logs}, 'error_log';
  -return $file unless $rel;
  -return abs2rel $file, $self-{vars}-{top_dir};
  +my $rfile = abs2rel $file, $self-{vars}-{top_dir};
  +return wantarray ? ($file, $rfile) :
  +  $rel ? $rfile : $file;
   }
  -
   
   #utils
   
  
  
  
  1.15  +3 -3  modperl-2.0/Apache-Test/lib/Apache/TestServer.pm
  
  Index: TestServer.pm
  ===
  RCS file: /home/cvs/modperl-2.0/Apache-Test/lib/Apache/TestServer.pm,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- TestServer.pm 2001/07/23 20:38:22 1.14
  +++ TestServer.pm 2001/07/23 20:43:16 1.15
  @@ -272,10 +272,10 @@
   
   sub failed_msg {
   my $self = shift;
  -my $log = $self-{config}-error_log(1);
  +my($log, $rlog) = $self-{config}-error_log;
   my $log_file_info = -e $log ?
  -please examine $log :
  -$log wasn't created, start the server in the debug mode;
  +please examine $rlog :
  +$rlog wasn't created, start the server in the debug mode;
   error @_ ($log_file_info);
   }