httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guy Ferraiolo" <guy.ferrai...@cnet.com>
Subject some added functionality for flood
Date Tue, 02 Nov 2004 00:41:01 GMT
Folks

I've developed some additional functionality for flood: random text
substitution in the URL. 
I think this is a very useful addition and I'd like to have it become
part of flood.

The way it works is that your URL contains a string like '${subst_var}'.
On each generation of a URL, that entire string is replaced by a line
randomly chosen from the so-called substitution file.  The substitution
file is paired with the substition variable (in this case subst_var) vis
a subst_list xml construct in the flood config file.  An arbitrary
number of variable - file pairings can be defined in the config file.

You need 3 things to get this to work:

1.	You must use a 'requesttemplate' to hold your URL
2.	You must supply a 'subst_list' xml construct in your flood
config file.
3.	You must supply a 'substitution file' containing the lines that
will be randomly substituted.

I have code and a sample configuration file that implements this.

How can I submit this?

Guy

 --
Guy Ferraiolo					mailto:guyf@CNET.com
Performance Measurement & Analysis		http://CNET.com
CNET							tel:
1.908.541.3739
1200 Route 22 East				fax: 1.908.575.7474
Bridgewater, NJ 08807				cel: 1.732.618.0250

Mime
View raw message