Permalink
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (41 sloc) 1.11 KB
<?xml version="1.0"?>
<!DOCTYPE tsung SYSTEM "@prefix@/share/@PACKAGE_NAME@/@DTD@">
<tsung loglevel="debug" dumptraffic="true">
<clients>
<client host="localhost" use_controller_vm="true"/>
</clients>
<!-- Server side setup -->
<servers>
<server host="192.168.0.2" port="3306" type="tcp"/>
</servers>
<monitoring>
<monitor host="localhost"/>
</monitoring>
<load>
<arrivalphase phase="1" duration="1" unit="minute">
<users interarrival="3" unit="second"></users>
</arrivalphase>
</load>
<sessions>
<session probability="100" name="mysql-example" type="ts_mysql">
<request>
<mysql type="connect" />
</request>
<request>
<mysql type="authenticate" database="test" username="test" password="test" />
</request>
<request>
<mysql type="sql">SHOW TABLES</mysql>
</request>
<request>
<mysql type="sql">SELECT * FROM gens</mysql>
</request>
<request>
<mysql type="sql">SELECT * FROM te</mysql>
</request>
<request>
<mysql type="close"></mysql>
</request>
</session>
</sessions>
</tsung>