29 lines
725 B
XML
29 lines
725 B
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<!DOCTYPE tsung SYSTEM "/usr/local/share/tsung/tsung-1.0.dtd" []>
|
||
|
|
<tsung loglevel="warning">
|
||
|
|
|
||
|
|
<clients>
|
||
|
|
<client host="localhost" cpu="2" maxusers="30000000"/>
|
||
|
|
</clients>
|
||
|
|
|
||
|
|
<servers>
|
||
|
|
<server host="localhost" port="9200" type="tcp"/>
|
||
|
|
</servers>
|
||
|
|
|
||
|
|
<load>
|
||
|
|
<arrivalphase phase="1" duration="10" unit="minute">
|
||
|
|
<users arrivalrate="5" unit="second"/>
|
||
|
|
</arrivalphase>
|
||
|
|
</load>
|
||
|
|
|
||
|
|
<sessions>
|
||
|
|
<session name="es_load" weight="1" type="ts_http">
|
||
|
|
<request>
|
||
|
|
<http url="/fooindex/issue/_search"
|
||
|
|
method="GET"
|
||
|
|
contents_from_file="query.json" />
|
||
|
|
</request>
|
||
|
|
</session>
|
||
|
|
</sessions>
|
||
|
|
</tsung>
|