| <?xml version="1.0" standalone="no"?> |
| <!DOCTYPE flood SYSTEM "flood.dtd"> |
| <flood configversion="1"> |
| <urllist> |
| <name>Test Hosts</name> |
| <description>A bunch of hosts we want to hit</description> |
| |
| <!-- Replace with your own domain (see RFC 2606, Section 3) --> |
| <baseurl>http://www.example.com</baseurl> |
| |
| <!-- Simple multipart/form-data POST. Contains one plain variable 'foo' with |
| value 'bar' and file variable 'logo', which refers to file 'asf_logo.gif'. |
| Plese note, that this example has string 'XML encoded binary file |
| contents' as file body, instead of actual data. This is intended, to make |
| this example simple. In real scenario this string would have to be |
| replaced by file contents encoded as XML entities. --> |
| <url method="POST" |
| Content-Type="multipart/form-data; boundary=AaB03x" |
| payload="--AaB03x
Content-Disposition: form-data; name="foo"

bar
--AaB03x
Content-Disposition: form-data; name="logo"; filename="asf_logo.gif"
Content-Type: image/gif

XML encoded binary file contents;
--AaB03x--">/foo</url> |
| |
| <!-- Example XML-RCP query, as found in protocol spec. It calls method |
| 'examples.getStateName' with one integer argument. --> |
| <url method="POST" |
| Content-Type="text/xml" |
| payload="<xml version="1.0"><methodCall><methodName>examples.getStateName</methodName><params><param><value><i4>41</i4></value></param></params></methodCall>">/foo</url> |
| </urllist> |
| |
| <profile> |
| <name>RoundRobinProfile</name> |
| <description>Round Robin Configuration</description> |
| <useurllist>Test Hosts</useurllist> |
| <profiletype>round_robin</profiletype> |
| <socket>generic</socket> |
| <verify_resp>verify_200</verify_resp> |
| <report>relative_times</report> |
| </profile> |
| |
| <farmer> |
| <name>Joe</name> |
| <useprofile>RoundRobinProfile</useprofile> |
| </farmer> |
| |
| <farm> |
| <name>Bingo</name> |
| <usefarmer>Joe</usefarmer> |
| </farm> |
| |
| </flood> |