<?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. --> <urllist> <name>Test Hosts</name> <description>A bunch of hosts we want to hit</description> <!-- Find FAQ on HTTPD project page --> <url method="GET" responsetemplate="<a href="([^"]*)">FAQ</a>" responsename="faq">http://httpd.apache.org/</url> <url method="GET" requesttemplate="http://httpd.apache.org${faq}" /> <!-- Search for httpd-2.0 commit access. <url method="POST" payload="method=and&format=builtin-long&sort=score&config=htdig&restrict=&exclude=&words=httpd-2.0+commit+access" responsetemplate="<a href="([^"]*)">" responsename="id">http://www.apachelabs.org/cgi-bin/htsearch</url> <url method="GET" requesttemplate="${id}" responsetemplate="Prev</A> <A HREF="([^"]*)">" responsename="next" /> <url method="GET" requesttemplate="http://www.apachelabs.org${next}" /> --> <!-- Search google.com for "foo" and go to the first search result. <url method="GET" responsetemplate="<a href=http://([^>]*)>" responsename="foo">http://www.google.com/search?q=foo</url> <url method="GET" requesttemplate="http://${foo}" /> --> </urllist> <!-- The profile describes how we will hit the urllists. Round robin runs all of the URLs in the urllist in order once. --> <profile> <name>RoundRobinProfile</name> <description>Round Robin Configuration</description> <useurllist>Test Hosts</useurllist> <!-- Profile Events --> <profiletype>round_robin</profiletype> <!--socket>generic</socket--> <socket>keepalive</socket> <!-- Verification Events --> <verify_resp>verify_200</verify_resp> <!-- Reporting Events --> <report>easy</report> </profile> <!-- A farmer runs one profile a certain number of times. --> <farmer> <name>Joe</name> <!-- run the Joe farmer 5 times --> <count>5</count> <!-- Joe uses this profile --> <useprofile>RoundRobinProfile</useprofile> </farmer> <!-- A farm contains a bunch of farmers - each farmer is a thread. --> <farm> <name>Bingo</name> <usefarmer count="1">Joe</usefarmer> </farm> <!-- Set the seed to a known value so we can reproduce the same tests --> <seed>23</seed> </flood>