[Tsung] Configuration Problem
Matthias Stiller
fvonx2 at googlemail.com
Thu Apr 3 16:44:49 CEST 2008
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)
- Server machine running ejabberd 1.1.4-5 (IP: 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'>
The Server responds with:
<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='
http://etherx.jabber.org/streams' id='2353187436' from='192.168.2.106'
xml:lang='en'><stream:error><host-unknown
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error></stream:stream>
The Problem is that the initiating stream contains a wrong value
("localhost") for the to-attribute. My configuration looks like:
<snip>
<clients>
<client host="localhost" use_controller_vm="true" maxusers="14900">
</client>
</clients>
<!-- Server side setup -->
<servers>
<server host="192.168.2.106" port="5222" type="tcp"></server>
</servers>
</snip>
When I change the host attribute to an IP-address I get an error message
saying ["Config Error, aborting ! ",badhostname].
Changing the attribute to a valid host name tsung says: "ssh: connect to
host aeneas port 22: Connection refused". Why does it connect to ssh and how
can I solve my problem?
Having tsung and the server on one machine everythings works fine ...
Thanks in advance!
Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.process-one.net/pipermail/tsung-users/attachments/20080403/cc0bdb60/attachment.html
More information about the Tsung-users
mailing list