[Tsung] Register Module - Error is "Users are not allowed to register accounts so quickly"

Venkatesh Subramani venkatesh.s at contus.in
Thu Jul 21 12:00:57 CEST 2016


Hi all,

I have tried to register 10 users only using tsung tool and we are using
ejabberd server for xmpp ptotocol to develop the app. When i have checked
in the server/DB, one user only getting registered. We have found error
code 500(resource-constraint) and it represents Users are not allowed to
register accounts so quickly. Referred many sites and changed the
configuration to {registration_timeout, infinity} and To disable in-band
registration, replace 'allow' with 'deny'. register:all: allow in ejabberd
server. Still we are facing the same issue.

I have referred many sites and done the changes accordingly still issues
not yet solved. I am placing the script and dump content for reference.
Please go through and anybody assist on this.
*Register.xml:*
<?xml version="1.0"?><tsung loglevel="notice" dumptraffic="true"
version="1.0">

  <clients>
    <client host="localhost" maxusers="10" use_controller_vm="true">
    </client>
  </clients>
<servers>
   <server host="Server IP/Domain Name" port="5222" type="tcp"/>
</servers>
<load>
  <arrivalphase phase="1" duration="60" unit="second">
    <users maxnumber="10" interarrival="1" unit="second"/>
  </arrivalphase>
  </load>
<options>
  <option type="ts_jabber" name="global_number" value="10"/>
  <option type="ts_jabber" name="userid_max" value="10"/>
  <option type="ts_jabber" name="domain" value="Server IP/Domain Name"/>
  <option type="ts_jabber" name="username" value="erlangtwo"/>
  <option type="ts_jabber" name="passwd" value="tsung"/>
</options>

<sessions>
  <session probability="100" name="jabber-example" type="ts_jabber">
    <request>
      <jabber type="connect" ack="local"/>
    </request>
<request>
      <match do="abort" when="match">error</match>
      <jabber type="register" ack="local" id="new"/>
      </request>

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

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


*Tsung.dump File:*

NewClient:1468907723.857173:1
load:1
NewClient:1468907723.940115:1
load:2
Send:1468907724.130995:<0.85.0>:<?xml version='1.0'?>
Send:1468907724.207427:<0.88.0>:<?xml version='1.0'?>
Recv:1468907724.422558:<0.85.0>:<?xml version='1.0'?>
Send:1468907724.44325:<0.85.0>:erlangtwo1tsungtsung1
Recv:1468907724.443268:<0.85.0>:DIGEST-MD5SCRAM-SHA-1PLAINX-OAUTH2
EndClient:1468907724.443412:1
load:1
NewClient:1468907724.516075:1
load:2
Send:1468907724.758632:<0.89.0>:<?xml version='1.0'?>
Recv:1468907724.8085:<0.88.0>:<?xml
version='1.0'?>DIGEST-MD5SCRAM-SHA-1PLAINX-OAUTH2
Send:1468907724.809424:<0.88.0>:erlangtwo2tsungtsung2
Recv:1468907725.001756:<0.89.0>:<?xml
version='1.0'?>DIGEST-MD5SCRAM-SHA-1PLAINX-OAUTH2
Send:1468907725.002668:<0.89.0>:erlangtwo3tsungtsung3
Recv:1468907725.056937:<0.88.0>:erlangtwo2tsungtsung2Users are not allowed
to register accounts so quickly
Send:1468907725.057804:<0.88.0>:
Recv:1468907725.24447:<0.89.0>:erlangtwo3tsungtsung3Users are not allowed
to register accounts so quickly
Send:1468907725.24518:<0.89.0>:
Recv:1468907725.305033:<0.88.0>:
EndClient:1468907725.305255:2
load:1
Recv:1468907725.48625:<0.89.0>:
EndClient:1468907725.486463:3
load:0
.
.
..

Thanks

Venkey

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please delete it right away or
notify the sender.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.process-one.net/pipermail/tsung-users/attachments/20160721/4cf55773/attachment.html>


More information about the Tsung-users mailing list