Skip to content

Instantly share code, notes, and snippets.

@smn
Created July 26, 2013 10:22
Show Gist options
  • Save smn/6087842 to your computer and use it in GitHub Desktop.
Save smn/6087842 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<!DOCTYPE tsung
SYSTEM '/usr/local/Cellar/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"/>
</clients>
<servers>
<server host="go.vumi.org" port="80" type="tcp"></server>
</servers>
<load>
<!-- several arrival phases can be set: for each phase, you can set
the mean inter-arrival time between new clients and the phase
duration -->
<arrivalphase duration="5" phase="1" unit="minute">
<users interarrival="0.1" unit="second"/>
</arrivalphase>
</load>
<sessions>
<session name="zm-cellulant-ussd-http" probability="100" type="ts_http">
<request subst="true">
<http method="GET" url="/api/v1/cellulant/ussd?MSISDN=%%ts_user_server:get_unique_id%%&amp;INPUT=0001&amp;opCode=BEG&amp;ABORT=0&amp;sessionID=%%ts_user_server:get_unique_id%%"></http>
</request>
</session>
</sessions>
</tsung>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment