/[Apache-SVN]/httpd/flood/trunk/examples
ViewVC logotype

Log of /httpd/flood/trunk/examples

View Directory Listing Directory Listing


Sticky Revision:

Revision 698003 - Directory Listing
Modified Mon Sep 22 21:20:26 2008 UTC (15 years, 10 months ago) by jerenkrantz
* analyze-relative: Update to work with non-Solaris sort's.


Revision 653656 - Directory Listing
Modified Tue May 6 00:42:11 2008 UTC (16 years, 3 months ago) by fielding
promote flood to released products

Revision 647749 - Directory Listing
Modified Mon Apr 14 12:16:14 2008 UTC (16 years, 4 months ago) by wrowe
Original Path: httpd/test/flood/trunk/examples
flood is independent of framework, mod_specweb etc


Revision 647747 - Directory Listing
Modified Mon Apr 14 12:14:03 2008 UTC (16 years, 4 months ago) by wrowe
Original Path: httpd/test/trunk/flood/examples
  Implement a random substitution feature; requires a requesttemplate, 
  one or more substitution variables of the form ${varname) in the 
  requesttemplate and a substitution file formatted with one value 
  per newline delimited line (more than one variable per URL permitted).  
  The variables and files are referred to as subst variables and subst 
  files.  Each time the URL is sent the subst variable is replaced with 
  one line randomly selected from the subst file.  Any part of the 
  requesttemplate can be randomly substituted, protocol, host, port, etc.  
  
  The algorithm tries to make the creation time of the substitution 
  independent of the size of the subst file.  The randomness of the 
  selection can be adversely impacted if the sizes of the different 
  entries in the subst file vary considerably.

Submitted by: Guy Ferraiolo <guyf cnet.com>



Revision 503994 - Directory Listing
Modified Tue Feb 6 05:35:24 2007 UTC (17 years, 6 months ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/examples
* examples/round-robin-dynamic.xml: Remove requestparamcount as that isn't
  examined or used now.


Revision 106525 - Directory Listing
Modified Thu Nov 25 00:36:41 2004 UTC (19 years, 8 months ago) by nd
Original Path: httpd/test/trunk/flood/examples
property cleanup


Revision 103653 - Directory Listing
Modified Wed May 12 11:36:32 2004 UTC (20 years, 3 months ago) by jacekp
Original Path: httpd/test/trunk/flood/examples
shows two examples of custom Content-Type attribute ussage.


Revision 103652 - Directory Listing
Modified Wed May 12 11:29:55 2004 UTC (20 years, 3 months ago) by jacekp
Original Path: httpd/test/trunk/flood/examples
url element got new attribute.


Revision 101203 - Directory Listing
Modified Tue Sep 9 13:26:58 2003 UTC (20 years, 11 months ago) by jacekp
Original Path: httpd/test/trunk/flood/examples
Fix some issues in example config files:

* round-robin-dynamic.xml -- apachelabs.org is down (disabled), added
  simple example.
* round-robin-keepalive.xml -- added baseurl, fixed URL (Apache 2.0
  doesn't have 'by type' modules index).
* round-robin-ssl.xml -- mozilla-crypto site is down (disabled).


Revision 101186 - Directory Listing
Modified Sun Sep 7 23:45:03 2003 UTC (20 years, 11 months ago) by jacekp
Original Path: httpd/test/trunk/flood/examples
update example config files


Revision 100943 - Directory Listing
Modified Fri Aug 8 10:05:29 2003 UTC (21 years ago) by jacekp
Original Path: httpd/test/trunk/flood/examples
multiple <usefarmer> and <useprofile> elements are now allowed
removed few nasty tabs


Revision 100574 - Directory Listing
Modified Sat Jul 12 22:34:25 2003 UTC (21 years, 1 month ago) by jacekp
Original Path: httpd/test/trunk/flood/examples
Here comes the DTD (along with some minor fixes)


Revision 96742 - Directory Listing
Modified Tue Sep 10 09:25:41 2002 UTC (21 years, 11 months ago) by jacekp
Original Path: httpd/test/trunk/flood/examples
fixed regexp to match new format of google responses


Revision 96277 - Directory Listing
Modified Thu Aug 1 22:19:27 2002 UTC (22 years ago) by aaron
Original Path: httpd/test/trunk/flood/examples
Fix tab formatting, not all shells interpolate '\t's.

Submitted by:   Reini Urban <rurban@inode.at>


Revision 95441 - Directory Listing
Modified Fri May 31 16:08:39 2002 UTC (22 years, 2 months ago) by aaron
Original Path: httpd/test/trunk/flood/examples
This is probably not a very nice url to have in our example...


Revision 91999 - Directory Listing
Modified Sat Nov 17 01:17:56 2001 UTC (22 years, 8 months ago) by aaron
Original Path: httpd/test/trunk/flood/examples
This hasn't worked for awhile now. I finally figured out that it
was a simple syntax snafu -- wow we could really use some better
error messages (not to mention a syntax checking XML parser *grin*)


Revision 90778 - Directory Listing
Modified Wed Aug 29 07:30:41 2001 UTC (22 years, 11 months ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/examples
Yet another example of how I use awk with flood.
Go read the head of these two files for more.

Yes, this requires gawk, but it'll be obvious why when you look at it.


Revision 90751 - Directory Listing
Modified Tue Aug 28 00:08:25 2001 UTC (22 years, 11 months ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/examples
Add note about the analyze script I just committed


Revision 90750 - Directory Listing
Modified Tue Aug 28 00:06:42 2001 UTC (22 years, 11 months ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/examples
Commit one of our scripts for analysis of flood output.

This is hacked/condensed to fit in one file.  Aaron's original version had
the awk script in a separate file.  'Tis better (IMHO) to keep it condensed.


Revision 90740 - Directory Listing
Modified Mon Aug 27 22:38:39 2001 UTC (22 years, 11 months ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/examples
Document this puppy a bit more.


Revision 90421 - Directory Listing
Modified Mon Aug 20 20:20:31 2001 UTC (22 years, 11 months ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/examples
Update to show new staggered start syntax.


Revision 90164 - Directory Listing
Modified Tue Aug 14 20:14:50 2001 UTC (23 years ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/examples
Rewrite the expression/template code to use variable names (backed by a
hash table) and allow use of regular expressions for the response
template.
The new syntax is as follows:
  ${foo}  substitutes foo's value.
  ${=foo} generates a random number and stores it in foo and substitutes it.
  ([^>]*) (regex sub-expression) coupled with responsename="foo" allows
          that subexpression to be stored in foo based on what is in the
          response from the server.  It will only take the first
          sub-expression in the regex and store it in the value.

Also, remove some silly XML parameters that we no longer need due to
this commit.  Should be a cleaner syntax now.


Revision 89918 - Directory Listing
Modified Sat Aug 4 04:26:21 2001 UTC (23 years ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/examples
Add ability to retrieve some data from the response and place it in
state variables (max of 10).  These "state" variables live for the
life of the profile (i.e. all elements in the urllist).  They may be
referred in any template via $[0-9].  Add ability to store the
entire response (only active if a response template is present).

This works.  Sure.  I'm going home now.


Revision 89914 - Directory Listing
Modified Sat Aug 4 01:23:45 2001 UTC (23 years ago) by aaron
Original Path: httpd/test/trunk/flood/examples
Adds a new reporting mechanism where elapsed times during
each request/response test cycle are printed as opposed
to the absolute time samples reported in the "easy"
reports scheme. The new scheme is called "relative_reports".
I've included a new sample file that exemplifies this.


Revision 89893 - Directory Listing
Modified Fri Aug 3 00:25:26 2001 UTC (23 years ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/examples
Add example showing timed runs


Revision 89888 - Directory Listing
Modified Fri Aug 3 00:08:25 2001 UTC (23 years ago) by aaron
Original Path: httpd/test/trunk/flood/examples
The seed used in the PRNG can now be set in a tag,
so tests based on random values can be reproduced.
The tag is <seed> and is a toplevel tag (ie under
<flood>.. just go look at the examples)

This patch changes more stuff in autoconf files, so
rerun buildconf, ok?


Revision 89886 - Directory Listing
Modified Thu Aug 2 22:19:49 2001 UTC (23 years ago) by aaron
Original Path: httpd/test/trunk/flood/examples
Added pre/post delays, as well as a precision amount for each.
All times are in seconds. The actual delays is calculated as:
   actual_delay + (precision * e)
(where e is a number in [-1,1]). I'm using rand() to generate
the 'e' factor, and as this is not threadsafe on some
platforms (I don't really care what the number is, so this
is NBD), I really should change this later to be
something akin to apr_generate_random_bytes().

Also a minor fix to Justin's last update, a symbol wasn't
renamed.

Also moved the place where we increment the current_url to
the next one from get_next_url() to loop_condition(). This
may have side effects later on if someone tries to call
loop_condition() more than once per loop, but right now
I believe it's defined so that we call it only once (and
that can't be overriden).

I updated some autoconf files, so please rerun buildconf.


Revision 89883 - Directory Listing
Modified Thu Aug 2 21:34:46 2001 UTC (23 years ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/examples
Example of the new POST pseudo-random payload syntax.


Revision 89859 - Directory Listing
Modified Wed Aug 1 06:52:25 2001 UTC (23 years ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/examples
Add group shortcuts when defining a profile.  The following syntaxes are
now valid:
  <report>easy</report>
  <report>simple</report>
  <socket>generic</socket>
  <socket>ssl</socket>
  <socket>keepalive</socket>
  <profiletype>round_robin</profiletype>
These tags will now setup the functions for this "group."  You do not need
to know the function names anymore (although the old syntax which specifies
the function names is still valid).  If you specify a "group" and a function
name, the function name will override the one defined in the group.

Added a round-robin.xml example that shows this.

I spent way too much time editing the XML files when the silly function
names changed.  No more.


Revision 89848 - Directory Listing
Modified Wed Aug 1 03:10:37 2001 UTC (23 years ago) by aaron
Original Path: httpd/test/trunk/flood/examples
This is an atypically large patch. I got half way into fixing
the profile_events API to work with keepalive when I realized
that these event "groups" should be off in their own files.
So:

- Updated the profile_events_t struct to handle sockets
  in an abstractable way. They now have a lifetime and
  their behaviour can be overriden in this manner.

- Regrouped the events in the profile_events to make
  more sense. This stuff should probable be split up
  into the groups (where a "group" is a bunch of
  event functions that need to all be overriden at
  once to provide some new functionality). Currently
  the groups are: profile, sockets, reporting, verification.

- Moved the three implementations that we currently have
  for the socket events group each into their own files.
  The current flavors are: generic, ssl, and keepalive.

- Updated the various examples to work with the new
  events.


Revision 89783 - Directory Listing
Modified Mon Jul 30 07:22:57 2001 UTC (23 years ago) by aaron
Original Path: httpd/test/trunk/flood/examples
Removed the commented out sections (needed to get rid of the
ssl stuff anyway).


Revision 89782 - Directory Listing
Modified Mon Jul 30 07:22:39 2001 UTC (23 years ago) by aaron
Original Path: httpd/test/trunk/flood/examples
Removed the commented out sections (needed to get rid of the
ssl stuff anyway).

Removed a false comment about Farmer count.


Revision 89766 - Directory Listing
Modified Sun Jul 29 15:47:17 2001 UTC (23 years ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/examples
Keep-Alive example.


Revision 89765 - Directory Listing
Modified Sun Jul 29 15:44:58 2001 UTC (23 years ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/examples
Add the create_req hook (now required).
Cleanup the round-robin-example.xml comments.


Revision 89588 - Directory Listing
Added Wed Jul 18 04:41:28 2001 UTC (23 years, 1 month ago) by jerenkrantz
Original Path: httpd/test/trunk/flood/examples
This is a bunch of example flood config files.
round-robin-example.xml - an attempt to show you what flood does.
round-robin-ssl.xml - an attempt to show you how SSL works with flood.


infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26