Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

54 lines (40 sloc) 1.234 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>
<!-- Server side setup -->
<servers>
<server host="127.0.0.1" port="5432" type="tcp"/>
</servers>
<monitoring>
<monitor host="localhost"/>
</monitoring>
<load>
<arrivalphase phase="1" duration="10" unit="minute">
<users interarrival="30" unit="second"></users>
</arrivalphase>
</load>
<sessions>
<session probability="100" name="pgsql-example" type="ts_pgsql">
<transaction name="connection">
<request>
<pgsql type="connect" database="bench" username="bench" />
</request>
</transaction>
<transaction name="authentication">
<request>
<pgsql type="authenticate" password="sesame"/>
</request>
</transaction>
<thinktime value="12"/>
<transaction name="select">
<request><pgsql type="sql">SELECT * from accounts;</pgsql></request>
</transaction>
<thinktime value="20"/>
<request><pgsql type="sql">SELECT * from users;</pgsql></request>
<request><pgsql type="close"></pgsql></request>
</session>
</sessions>
</tsung>
Jump to Line
Something went wrong with that request. Please try again.