blob: db76bc795f60eb2a6e00aac6ab09474ab632b43f [file] [log] [blame]
<?xml version="1.0" standalone="no"?>
<!DOCTYPE flood SYSTEM "flood.dtd">
<!-- Hi, I'm a flood config file. -->
<flood configversion="1">
<!-- A urllist describes which hosts and which methods we want to hit. -->
<name>Test Hosts</name>
<description>A bunch of hosts we want to hit</description>
<!-- Find FAQ on HTTPD project page -->
<url method="GET" responsetemplate="&lt;a href=&quot;([^&quot;]*)&quot;&gt;FAQ&lt;/a&gt;" responsename="faq"></url>
<url method="GET" requestparamcount="1" requesttemplate="${faq}" />
<!-- Search for httpd-2.0 commit access.
<url method="POST" payload="method=and&amp;format=builtin-long&amp;sort=score&amp;config=htdig&amp;restrict=&amp;exclude=&amp;words=httpd-2.0+commit+access" responsetemplate="&lt;a href=&quot;([^&quot;]*)&quot;&gt;" responsename="id"></url>
<url method="GET" requesttemplate="${id}" responsetemplate="Prev&lt;/A&gt; &lt;A HREF=&quot;([^&quot;]*)&quot;&gt;" responsename="next" />
<url method="GET" requestparamcount="1" requesttemplate="${next}" />
<!-- Search for "foo" and go to the first search result.
<url method="GET" responsetemplate="&lt;a href=http://([^&gt;]*)&gt;" responsename="foo"></url>
<url method="GET" requestparamcount="1" requesttemplate="http://${foo}" />
<!-- The profile describes how we will hit the urllists.
Round robin runs all of the URLs in the urllist in order once. -->
<description>Round Robin Configuration</description>
<useurllist>Test Hosts</useurllist>
<!-- Profile Events -->
<!-- Verification Events -->
<!-- Reporting Events -->
<!-- A farmer runs one profile a certain number of times. -->
<!-- run the Joe farmer 5 times -->
<!-- Joe uses this profile -->
<!-- A farm contains a bunch of farmers - each farmer is a thread. -->
<usefarmer count="1">Joe</usefarmer>
<!-- Set the seed to a known value so we can reproduce the same tests -->