I have been trying to use Tsung to test our openfire server . I have tried tsung many times, but issue is, it doesn't show active sessions.
1) there is spike in Packets / Minute
2) there is spike in server traffic
but I can't see any user, and No Insert querries
my aim is to test 10,000 Live users
i am attaching my tsung xml , if you can guide me, i would really appreciate this
(i have hide the IP and actual domain name)
<?xml version="1.0"?>
<!DOCTYPE tsung SYSTEM "/opt/local/share/tsung/tsung-1.0.dtd">
<tsung loglevel="warning">
<clients>
<client host="tool.abc.com" cpu="2" maxusers="100"/>
</clients>
<servers>
<server host="ignite.xyz.com" port="5222" type="tcp"/>
</servers>
<load>
<arrivalphase phase="1" duration="15" unit="minute">
<users arrivalrate="5" unit="second"/>
</arrivalphase>
</load>
<options>
<option type="ts_jabber" name="global_number" value="0" />
<option type="ts_jabber" name="userid_max" value="99" />
<option type="ts_jabber" name="domain" value="ignite.tlopezhost.com" />
<option type="ts_jabber" name="username" value="javatest_user_" />
<option type="ts_jabber" name="passwd" value="romeo" />
<option type="ts_jabber" name="muc_service" value="abc1@conference.ignite.xyz.com"/>
<option name="bosh_path" value="http://IP:7070/http-bind/"/>
</options>
<sessions>
<session probability="100" name="jabber-example" type="ts_jabber">
<request>
<jabber type="connect" ack="no_ack" />
</request>
<thinktime value="2" />
<transaction name="authenticate">
<request>
<jabber type="auth_get" ack="local" />
</request>
<request>
<jabber type="auth_set_plain" ack="local" />
</request>
</transaction>
<request>
<jabber type="presence:initial" ack="no_ack"/>
</request>
<thinktime value="2" />
<transaction name="online">
<request>
<jabber type="chat" ack="no_ack" size="16" destination="online"/>
</request>
</transaction>
<thinktime value="2"/>
<transaction name="offline">
<request>
<jabber type="chat" ack="no_ack" size="56" destination="offline"/>
</request>
</transaction>
<thinktime value="2" />
<transaction name="close">
<request>
<jabber type="close" ack="local" />
</request>
</transaction>
</session>
</sessions>
</tsung>