Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (39 sloc) 1.18 KB
<?xml version="1.0"?>
<!DOCTYPE tsung SYSTEM "@prefix@/share/@PACKAGE_NAME@/@DTD@">
<tsung loglevel="notice">
<clients>
<client host="localhost" use_controller_vm="true"/>
</clients>
<servers>
<server host="127.0.0.1" port="5432" type="tcp"/>
</servers>
<load>
<arrivalphase phase="1" duration="10" unit="minute">
<users interarrival="0.5" unit="second"></users>
</arrivalphase>
<arrivalphase phase="2" duration="600" unit="second">
<users interarrival="0.5" unit="minute"></users>
</arrivalphase>
<arrivalphase phase="3" duration="6" unit="hour">
<users interarrival="0.5" unit="hour"></users>
</arrivalphase>
</load>
<options>
<option name="thinktime" value="3" random="true" override="false"/>
</options>
<sessions>
<session probability="100" name="pgsql-example" type="ts_pgsql">
<transaction name="connection">
<request>
<pgsql type="connect" database="bench" username="bench" />
</request>
</transaction>
<request>
<pgsql type="authenticate" password="sesame"/>
</request>
<thinktime value="1"/>
<request><pgsql type="close"></pgsql></request>
<thinktime/>
</session>
</sessions>
</tsung>
Something went wrong with that request. Please try again.