<?xml version="1.0" encoding="UTF-8"?>
<!-- The jvmConfig block is used by the harness to start the right JVM.
All elements are harness elements and hence the default namespace -->

<jvmConfig xmlns="http://faban.sunsource.net/ns/fabanharness">
<!-- The harness launches Java based on this JAVA_HOME -->
<!-- And uses the JVM options specified here -->
<jvmOptions>-Xmx1g -Xms256m -XX:+DisableExplicitGC</jvmOptions>
<!-- The definition binds the config file with the benchmark class.
Here we use all three Faban namespaces. But the driver namespace is predominant.
Hence the driver namespace as default namespace. -->

<fa:runConfig definition="sample.driver.WebDriver"

<!-- The hostConfig section is used by the harness to control hosts -->
<!-- The host names performing the driver function, space separated -->
<!-- Whether the hosts are enabled -->
<!-- The CPU field is reserved for future use -->
<!-- The tools that should be started on this set of hosts, with args, separated by ';'-->
<!-- Custom commands to execute before the run -->
<!-- The scale of the benchmark run, the driver definition
defines the number of threads for each driver scale
and each driver type. -->
<!-- The rampup, steadystate, and rampdown of the driver -->
<fa:runControl unit="time">
<!-- The place where results are written -->
<!-- Audit is a flag for benchmarks to audit results
at the end of the run. It is not currently used
and subject to change in the near future -->
<!-- The avg time between the start of each thread in
an agent -->
<!-- Whether the agents will wait until all threads to
be up and then start the load all at once. If
set to false, each thread will start executing the
operations as soon as it is started. This will
gradually load up the server. -->
<!-- Whether the agents will start up threads in parallel
or not. If set to false, an agent will start all it's
threads before the next agent gets to start the
threads. The socket connection queue will be less
loaded when it is set to false. -->
<!-- Stats collection. maxRunTime is in hours and is used only for
benchmarks that are cycle controlled. In time-controlled
benchmarks, the actual maxRunTime is calculated from the rampUp,
stdyState, rampDown parameters. The interval is in seconds and
applies to throughput and response time graphs.
The default is 30 seconds-->
<!-- Run-time stats exposed or not and the interval to update
the stats. A graphing package is required to display the
real time stats. It is not yet integrated into Faban. -->
<runtimestats enabled="false">
<!-- The driver-specific config. -->
<driverconfig name="WebDriver">
<!-- The number of agents -->
<!-- The stats interval, overrides the ones specified for
the benchmark. -->
<!-- Port to send the runtime stats. -->
<runtimestats target="9988"/>
<!-- Demonstrates the different ways to specify properties -->
<!-- The first way is a full name value pair, multiple
values are supported, but only one name -->
<!-- The second way is a little more compact while preserving
the ability to set multiple values for a name -->
<property name="path2">
<!-- The third way is very compact but you can only use one
value. This is adequate for most applications. -->
<property name="path3">bar/</property>
<!-- The operation mix definitions overrides the mix in the annotation.
The format is specific to each mix type.  Whether or not overriding
will cause the run to fail depends on the configPrecedence field of the
benchmark definition annotation -->
<!-- This shows a way to set different configurations of resources outside
the driver. Such parameters are generally used by the Faban Harness.-->