-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrails.xml
40 lines (33 loc) · 1.13 KB
/
rails.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
40
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE tsung SYSTEM "/usr/local/Cellar/tsung/1.6.0/share/tsung/tsung-1.0.dtd" []>
<tsung loglevel="warning">
<clients>
<client host="localhost" maxusers="60000" use_controller_vm="true"/>
</clients>
<servers>
<server host="127.0.0.1" port="3000" type="tcp"/>
</servers>
<load>
<arrivalphase phase="1" duration="30" unit="second">
<users maxnumber="10" arrivalrate="10" unit="second"/>
</arrivalphase>
<arrivalphase phase="2" duration="30" unit="second">
<users maxnumber="40" arrivalrate="40" unit="second"/>
</arrivalphase>
</load>
<options>
<option name="ports_range" min="1025" max="65535" />
</options>
<sessions>
<session name="es_load" weight="1" type="ts_http">
<setdynvars sourcetype="random_string" length="13">
<var name="rndstring1" />
</setdynvars>
<for var="i" from="1" to="5" incr="1">
<request subst="true">
<http url="/message-bus/NAZDAR%%_rndstring1%%hhhafhwuefbwaeuifgwe/poll" method="POST" contents="/noise_level=-1&__seq=1" />
</request>
</for>
</session>
</sessions>
</tsung>