flood — root element
<flood> ... </flood>
name | type | description | default value |
---|---|---|---|
configversion | INTEGER | This attribute specifies config file version. It is used by various flood config file generators (mostly in development right now), to specify which flood versions will be suitable for performing certain test. Flood will output a warning if config file and flood configversions doesn't match. | 0 |
This is the top level element for flood configuration file. It schould contain at least: one urllist, one profile, one farmer and one farm.
bellow is a smallest usable flood configuration file
<?xml version="1.0"?> <flood> <urllist> <name>single url</name> <url>http://www.example.com/</url> </urllist> <profile> <name>simple profile</name> <useurllist>single url</useurllist> <profiletype>round_robin</profiletype> <report>relative_times</report> <verify_resp>verify_200</verify_resp> </profile> <farmer> <name>john</name> <useprofile>simple profile</useprofile> </farmer> <farm> <!-- please note that right now faram *MUST* be called "Bingo" --> <name>Bingo</name> <usefarmer>john</usefarmer> </farm> </flood>