forked from scalableinternetservicesarchive/xd-enterprises
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsung_test.xml
39 lines (32 loc) · 1.12 KB
/
tsung_test.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0"?>
<!DOCTYPE tsung SYSTEM "/home/ec2-user/opt/tsung-1.5.0/share/tsung/tsung-1.0.dtd">
<tsung loglevel="notice" version="1.0">
<!-- Client side setup -->
<clients>
<client host="localhost" use_controller_vm="true" maxusers='15000'/>
</clients>
<!-- Server side setup -->
<servers>
<!-- when testing replace google.com with ec2stack url -->
<server host="www.google.com" port="80" type="tcp"></server>
</servers>
<load>
<arrivalphase phase="1" duration="10" unit="second">
<users arrivalrate="1" unit="second"></users>
</arrivalphase>
</load>
<options>
<!-- Set connection timeout to 2 seconds -->
<option name="global_ack_timeout" value="2000"></option>
<option type="ts_http" name="user_agent">
<user_agent probability="100">Mozilla/5.0 (Windows; U; Windows NT 5.2; fr-FR; rv:1.7.8) Gecko/20050511 Firefox/1.0.4</user_agent>
</option>
</options>
<sessions>
<session name="http-example" probability="100" type="ts_http">
<request>
<http url='/' version='1.1' method='GET'></http>
</request>
</session>
</sessions>
</tsung>