Skip to content
Newer
Older
100644 48 lines (41 sloc) 1.11 KB
777b89d @nniclausse use Unix-style line termination
nniclausse authored
1 <?xml version="1.0"?>
2 <!DOCTYPE tsung SYSTEM "@prefix@/share/@PACKAGE_NAME@/@DTD@">
3 <tsung loglevel="debug" dumptraffic="true">
4
5 <clients>
6 <client host="localhost" use_controller_vm="true"/>
7 </clients>
8
9 <!-- Server side setup -->
10 <servers>
11 <server host="192.168.0.2" port="3306" type="tcp"/>
12 </servers>
13
14 <monitoring>
15 <monitor host="localhost"/>
16 </monitoring>
17
18 <load>
19 <arrivalphase phase="1" duration="1" unit="minute">
20 <users interarrival="3" unit="second"></users>
21 </arrivalphase>
22 </load>
23
24 <sessions>
25 <session probability="100" name="mysql-example" type="ts_mysql">
26 <request>
27 <mysql type="connect" />
28 </request>
29 <request>
30 <mysql type="authenticate" database="test" username="test" password="test" />
31 </request>
32 <request>
33 <mysql type="sql">SHOW TABLES</mysql>
34 </request>
35 <request>
36 <mysql type="sql">SELECT * FROM gens</mysql>
37 </request>
38 <request>
39 <mysql type="sql">SELECT * FROM te</mysql>
40 </request>
41 <request>
42 <mysql type="close"></mysql>
43 </request>
44 </session>
45 </sessions>
46 </tsung>
47
Something went wrong with that request. Please try again.