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/


Re: library-ization

2002-10-17 Thread David N. Welton
Aaron Bannert [EMAIL PROTECTED] writes:

 On Sun, Oct 13, 2002 at 09:21:23AM -0700, David N. Welton wrote:
  And I would like an HTTP tester library.  I think that if done in
  this way, it would be versatile enough to replace ab, and it would
  also give people the freedom to experiment with other front ends.
  Like someting in Tk, gtk, or whatever...
 
 Ah, but that is precisely why we use XML input to control the
 behaviour of flood, so that someone can come along and write
 whatever fancy GUI app they wish and couple it only to our XMl
 schema.
 
 There is another reason why we chose XML that gives us greater
 flexibility than a library interface could ever give -- platform
 transparency. Since flood processes need not all run on the same
 machine, it is not a requirement that all machines where flood are
 running be of the same operating system or architecture. This also
 means that the GUI need not be on the same machine where the actual
 flood process is invoked.  Try doing that with a library.

It would be no problem if it were at the right level.

 One thing that might be useful would be if something like tcl were
 embedded in flood. 

And that's where you need an API.  Maybe the right approach is to not
have Flood be a library, but to have an API that lets you control a
lot of it, ala Apache.

I think I prefer the library approach personally, because it would let
one create different front ends, which would let flood be *the* apache
benchmark tool.

-- 
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/


Re: library-ization

2002-10-09 Thread David N. Welton
Jacek Prucia [EMAIL PROTECTED] writes:

  Is it a goal of the flood project to make a library out of it?  In
  other words, expose an API that other programs could pass data
  into and out of, and link to?  Or will XML be the only way to do
  this?
 
 It will probably be XML only. If you want other software on top of
 flood, you'll have to wrap it around flood binary (with pipes or
 so).
 
  I started doing this with 'ab', and was directed to flood as a
  more modern effort with more work going into it.  It looks pretty
  good so far!

 Yeah, but we still have a lot of work to do. Voulnteers and patches welcome :)

Well, I'm primarily interested in seeing flood as a versatile a tool
as possible... which for me means a library that I can use with other
things, and also a simple command line tool ala ab.
 
I think this would be possible if flood were a library with a few
different executable front ends - ab, flood, gtkflood, etc...

I guess I'll keep quite though, because I doubt I'll have the time to
do this at work.

  Just out of curiosity, will flood be supplanting 'ab' at some
  point?
 
 This is probably best for Aaron or Justin to answer, but IMHO
 no. ApacheBench is a very simple tool. You can hit just one url, no
 config file, etc. It's just fine when it comes to simple
 testing. Flood can hit many url's, has structured config file, and
 besides typical stress tests, it can be used also for 'web
 application regression tests' and 'web capacity planning'. Well...
 sort of... most of the features aren't implemented yet, but we're
 moving forward ;))

Hrm... I see.

-- 
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/


library-ization

2002-10-03 Thread David N. Welton

Just a few quick questions:

Is it a goal of the flood project to make a library out of it?  In
other words, expose an API that other programs could pass data into
and out of, and link to?  Or will XML be the only way to do this?

I started doing this with 'ab', and was directed to flood as a more
modern effort with more work going into it.  It looks pretty good so
far!

Just out of curiosity, will flood be supplanting 'ab' at some point?

Thankyou,
-- 
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/