[Tsung] Configuration Problem
Matthias Stiller
fvonx2 at googlemail.com
Sat Apr 5 13:31:39 CEST 2008
Erm ... yes ... :) Thank you.
I have another problem. I would like to simulate more than 1000 concurrent
users.
Unfortunately, it always stops at ~1000. Do I have to configure the erlang
virtual machine when starting tsung to handle such amount of users (maybe as
I did with the ejabberd: http://www.ejabberd.im/tuning)?
My tsung configuration currently looks like:
---
<tsung loglevel="notice" dumptraffic="true" version="1.0">
<clients>
<client host="localhost" use_controller_vm="false" maxusers="5000">
</client>
</clients>
<servers>
<server host="192.168.2.106" port="5222" type="tcp"></server>
</servers>
<load>
<arrivalphase phase="1" duration="10" unit="minute">
<users interarrival="0.03" unit="second"></users>
</arrivalphase>
</load>
<options>
<option type="ts_jabber" name="global_number" value="5000"></option>
<option type="ts_jabber" name="userid_max" value="5000"></option>
<option type="ts_jabber" name="domain" value="192.168.2.106"></option>
<option type="ts_jabber" name="username" value="user"></option>
<option type="ts_jabber" name="passwd" value="pass"></option>
</options>
...
---
Thanks in advance!
Matthias
2008/4/4, Nicolas Niclausse <nicolas at niclux.org>:
>
> Matthias Stiller ecrivait le 03.04.2008 16:44:
>
> > Hi,
> >
> > I am currently trying to use tsung to do some load tests against an
> > ejabberd XMPP server. I have the following simple scenario:
> >
> > - Client machine to simulate the users running tsung 1.2.1-1 (IP:
> > 192.168.2.101 <http://192.168.2.101>)
> > - Server machine running ejabberd 1.1.4-5 (IP: 192.168.2.106 <
> > http://192.168.2.106>)
> >
> > Both are connected via the local network. Unfortunately I didn't get the
> > tsung machine working to send valid packets to the server.
> >
> > These are the packets the Client sends to connect a user to the server:
> > <stream:stream id='1' to='localhost' xmlns='jabber:client'
> > xmlns:stream='http://etherx.jabber.org/streams'>
> >
>
> you must set the domain for jabber:
>
> <option type="ts_jabber" name="domain" value="mydomain.org" />
>
>
>
>
> --
> Nicolas
> _______________________________________________
> Tsung-users mailing list
> Tsung-users at lists.process-one.net
> https://lists.process-one.net/mailman/listinfo/tsung-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.process-one.net/pipermail/tsung-users/attachments/20080405/28b9662d/attachment.html
More information about the Tsung-users
mailing list