processone/tsung

How can i send all XMPP messages to a specific user?

anvouk opened this issue · 1 comments

anvouk commented

Hi, I need N clients to send chat messages to a specific user.

It this possible for tsung? Docs doesn't say anything about it.

I need something like the following:

<request>
    <jabber type="chat" ack="local" destination="my_client@example.com" data="TEST"/>
</request>

Thanks

anvouk commented

Took quite a while to figure it out, but here's how:

<request>
    <jabber type="raw" ack="no_ack" data="&lt;message to=&quot;my_client@example.com&quot; type=&quot;chat&quot; &gt;&lt;body&gt;TEST&lt;/body&gt;&lt;/message&gt;"/>
</request>