apache test suite

2003-09-24 Thread Wood, Bryan
Is this the software that the apache team uses to test new apache releases?



Re: apache test suite

2003-09-24 Thread Stas Bekman
Wood, Bryan wrote:
Is this the software that the apache team uses to test new apache releases?
It's used by httpd-dev, mod_perl projects and other 3rd party modules. For 
more info see: http://perl.apache.org/docs/general/testing/testing.html

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


RE: apache test suite

2003-09-24 Thread Wood, Bryan
What is used by the apache team to test the webserver thoroughly? I need to
test it on a new embedded device and having the test suite they use would
save a lot of time.

-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 24, 2003 12:25 PM
To: [EMAIL PROTECTED]
Subject: Re: apache test suite

Wood, Bryan wrote:
 Is this the software that the apache team uses to test new apache
releases?

It's used by httpd-dev, mod_perl projects and other 3rd party modules. For 
more info see: http://perl.apache.org/docs/general/testing/testing.html

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Re: apache test suite

2003-09-24 Thread Stas Bekman
Wood, Bryan wrote:
What is used by the apache team to test the webserver thoroughly? I need to
test it on a new embedded device and having the test suite they use would
save a lot of time.
Apache-Test, flood and specweb99, have you looked at: 
http://httpd.apache.org/test/

Is this the software that the apache team uses to test new apache
releases?
It's used by httpd-dev, mod_perl projects and other 3rd party modules. For 
more info see: http://perl.apache.org/docs/general/testing/testing.html
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


RE: apache test suite

2003-09-24 Thread Wood, Bryan
Yes I have, but I can't get apache-test to run on my desktop machine.
There are always problems in the httpd.conf file it generates. Of course I
checked it out of cvs so I might just need to check it out again. Certainly
the apache team has things all setup so they can just run a script and wait
for their results when they need to do a full test on apache?

-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 24, 2003 12:44 PM
To: [EMAIL PROTECTED]
Subject: Re: apache test suite

Wood, Bryan wrote:
 What is used by the apache team to test the webserver thoroughly? I need
to
 test it on a new embedded device and having the test suite they use would
 save a lot of time.

Apache-Test, flood and specweb99, have you looked at: 
http://httpd.apache.org/test/

Is this the software that the apache team uses to test new apache
 
 releases?
 
 It's used by httpd-dev, mod_perl projects and other 3rd party modules. For

 more info see: http://perl.apache.org/docs/general/testing/testing.html

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Re: apache test suite

2003-09-24 Thread Stas Bekman
Wood, Bryan wrote:
Yes I have, but I can't get apache-test to run on my desktop machine.
There are always problems in the httpd.conf file it generates. 
If you don't tell us what the problems are... we can't fix them...
Of course I
checked it out of cvs so I might just need to check it out again. Certainly
the apache team has things all setup so they can just run a script and wait
for their results when they need to do a full test on apache?
Yup.
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: apache test suite

2003-09-24 Thread Stas Bekman
Wood, Bryan wrote:
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 24, 2003 2:26 PM
To: [EMAIL PROTECTED]
Subject: Re: apache test suite

Wood, Bryan wrote:
Yes I have, but I can't get apache-test to run on my desktop machine.
There are always problems in the httpd.conf file it generates. 

If you don't tell us what the problems are... we can't fix them...
~/httpd-test/perl-framework$ t/TEST  -start-httpd
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -start-httpd
/usr/sbin/httpd -X -d /home/xf012502/httpd-test/perl-framework/t -f
/home/xf012502/httpd-test/perl-framework/t/conf/httpd.conf -DAPACHE1 
using Apache/1.3.27 

waiting for server to start: .Syntax error on line 70 of
/home/xf012502/httpd-test/perl-framework/t/conf/httpd.conf:
Invalid command 'SetHandler', perhaps mis-spelled or defined by a module not
included in the server configuration
!!! 
server has died with status 1 (t/logs/error_log wasn't created, start the
server in the debug mode)
~/httpd-test/perl-framework$
Since you didn't bother (or didn't know that you should ;) to tell us what do 
you have on line 70th, I'd guess that it's:

Location /server-info
SetHandler server-info
/Location
it's on a different line in my t/conf/httpd.conf, since it varies from setup 
to setup.

SetHandler is provided by the core, so I don't know why does fail for you. I 
doubt this has anything to do with Apache-Test. Can you use httpd normally? 
Can you please show us the first 80 lines of t/conf/httpd.conf?

Of course I
checked it out of cvs so I might just need to check it out again.
Certainly
the apache team has things all setup so they can just run a script and
wait
for their results when they need to do a full test on apache?

Yup.
Can I have it? (: 
Oh, you mean whether we have some magical script that makes things work for us 
but not for you? Nothing at all ;)

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


RE: apache test suite

2003-09-24 Thread Wood, Bryan


-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 24, 2003 3:03 PM
To: [EMAIL PROTECTED]
Subject: Re: apache test suite

Wood, Bryan wrote:
 
 -Original Message-
 From: Stas Bekman [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, September 24, 2003 2:26 PM
 To: [EMAIL PROTECTED]
 Subject: Re: apache test suite
 
 Wood, Bryan wrote:
 
Yes I have, but I can't get apache-test to run on my desktop machine.
There are always problems in the httpd.conf file it generates. 
 
 
 If you don't tell us what the problems are... we can't fix them...
 
 ~/httpd-test/perl-framework$ t/TEST  -start-httpd
 *** setting ulimit to allow core files
 ulimit -c unlimited; t/TEST -start-httpd
 /usr/sbin/httpd -X -d /home/xf012502/httpd-test/perl-framework/t -f
 /home/xf012502/httpd-test/perl-framework/t/conf/httpd.conf -DAPACHE1 
 using Apache/1.3.27 
 
 waiting for server to start: .Syntax error on line 70 of
 /home/xf012502/httpd-test/perl-framework/t/conf/httpd.conf:
 Invalid command 'SetHandler', perhaps mis-spelled or defined by a module
not
 included in the server configuration
 !!! 
 server has died with status 1 (t/logs/error_log wasn't created, start the
 server in the debug mode)
 ~/httpd-test/perl-framework$

Since you didn't bother (or didn't know that you should ;) to tell us what
do 
you have on line 70th, I'd guess that it's:

Location /server-info
 SetHandler server-info
/Location

it's on a different line in my t/conf/httpd.conf, since it varies from setup

to setup.

SetHandler is provided by the core, so I don't know why does fail for you. I

doubt this has anything to do with Apache-Test. Can you use httpd normally? 
Can you please show us the first 80 lines of t/conf/httpd.conf?

# WARNING: this file is generated, do not edit
# 01:
/home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.p
m:743
# 02:
/home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.p
m:761
# 03:
/home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.p
m:1286
# 04:
/home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm:4
08
# 05:
/home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm:5
89
# 06:
/home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm:5
89
# 07: t/TEST:20


Usernobody
Groupxf012502
ServerName localhost
Port 8529
Listen 8529

ServerRoot   /home/xf012502/httpd-test/perl-framework/t
DocumentRoot /home/xf012502/httpd-test/perl-framework/t/htdocs

PidFile /home/xf012502/httpd-test/perl-framework/t/logs/httpd.pid
ErrorLog/home/xf012502/httpd-test/perl-framework/t/logs/error_log
LogLeveldebug

IfModule mod_log_config.c
TransferLog /home/xf012502/httpd-test/perl-framework/t/logs/access_log
/IfModule

ServerAdmin [EMAIL PROTECTED]

#needed for http/1.1 testing
KeepAlive   On

HostnameLookups Off

Directory /
Options FollowSymLinks
AllowOverride None
/Directory

IfModule worker.c
StartServers 1
MaxClients   1
MinSpareThreads  1
MaxSpareThreads  1
ThreadsPerChild  1
MaxRequestsPerChild  0
/IfModule

IfModule perchild.c
NumServers   1
StartThreads 1
MinSpareThreads  1
MaxSpareThreads  1
MaxThreadsPerChild   1
MaxRequestsPerChild  0
/IfModule

IfModule prefork.c
StartServers 1
MaxClients   1
MaxRequestsPerChild  0
/IfModule

IfModule mpm_winnt.c
ThreadsPerChild  20
MaxRequestsPerChild  0
/IfModule

Location /server-info
SetHandler server-info
/Location

Location /server-status
SetHandler server-status
/Location

Alias /getfiles-perl-pod /usr/lib/perl5/5.6.1/pod
Alias /getfiles-binary-httpd /usr/sbin/httpd
Alias /getfiles-binary-perl /usr/bin/perl

TypesConfig /home/xf012502/httpd-test/perl-framework/t/conf/mime.types
Include /home/xf012502/httpd-test/perl-framework/t/conf/extra.conf
Include /home/xf012502/httpd-test/perl-framework/t/conf/include.conf
Include /home/xf012502/httpd-test/perl-framework/t/conf/proxy.conf
Include /home/xf012502/httpd-test/perl-framework/t/conf/ssl/proxyssl.conf
Include /home/xf012502/httpd-test/perl-framework/t/conf/ssl/ssl.conf
Include /home/xf012502/httpd-test/perl-framework/t/conf/vhost_alias.conf


Of course I
checked it out of cvs so I might just need to check it out again.
 
 Certainly
 
the apache team has things all setup so they can just run a script and
 
 wait
 
for their results when they need to do a full test on apache?
 
 
 Yup.
 
 Can I have it? (: 

Oh, you mean whether we have some magical script that makes things work for
us 
but not for you? Nothing at all ;)

well maybe not a magical script, but I'm sure you don't run it manually
every time you want to test apache. I need something that will test all the
functionality of the webserver, including ssl. 


__
Stas

Re: apache test suite

2003-09-24 Thread David N. Welton

I wrote a test suite in Tcl for the Rivet project that works pretty
well.  It's fairly minimalistic, but it works and doesn't require much
setup.  It would certainly require some adaptation to make it work
with your own system.  It is aimed at Rivet, not Apache, although I
think it's reasonably flexible...

Ciao,
-- 
David N. Welton
   Consulting: http://www.dedasys.com/
 Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/