tsung's user creation problem in ejabberd

Hi

I am new to ejabberd. Currently configuring loadtests using tsung. I am facing an issue that when i try to register new users with tsung, only few of the user being created by ejabberd.
Here is my tsung xml file.

<?xml version="1.0"?>
<!DOCTYPE tsung SYSTEM "/usr/share/tsung/tsung-1.0.dtd">
<tsung loglevel="notice" dumptraffic="false" version="1.0">

  <clients>
    <client host="localhost" use_controller_vm="true" maxusers="20">
    </client>
  </clients>

<servers>
   <server host='XXXXX' port='5222' type='tcp'/>
</servers>

<load>
  <arrivalphase phase="1" duration="10" unit="minute">
    <users interarrival="2" unit="second"></users>
  </arrivalphase>
  </load>

<options>
  <option type="ts_jabber" name="global_number" value="5"></option>
  <option type="ts_jabber" name="userid_max" value="20"></option>
  <option type="ts_jabber" name="domain" value="XXXXX"></option>
  <option type="ts_jabber" name="username" value="husky_"></option>
  <option type="ts_jabber" name="passwd" value="pwdhusky_"></option>
</options>

<sessions>
  <session probability="100" name="jabber-example" type="ts_jabber">

    <request>
      <jabber type="connect" ack="local"></jabber>
    </request>

    <request>
      <match do="abort" when="match">error</match>
      <jabber type="register" ack="local" id="new"></jabber>
    </request>

    <request>
      <jabber type="close" ack="local"></jabber>
    </request>

  </session>
</sessions>
</tsung>

Like above code snippet shows, that i am trying to create 20 users, but ejabberd only create 5 or 6 or sometimes 10 or 11, showing random behaviour. How can i fix it.

Thanks in advance,
Saqib

Some years ago, to register

Some years ago, to register accounts I used Jabber Test Suite, see https://www.ejabberd.im/benchmark

Syndicate content