[Tsung] Sending raw XML to Jabber servers
Nicolas Niclausse
nicolas at niclux.org
Tue Nov 14 23:08:40 CET 2006
Rob Davis :: Solaris Media wrote:
>
> I wish to test a custom Jabber application, where users can create,
> destroy and send messages via MUC roooms. It appears that Tsung has
> built-in handling of basic Jabber transactions (authenticate, send
> presence) and I would need to add custom XML to the session to extend it.
>
> Custom XML is mentioned in section 2.3 of the documentation, however
> there is no mention in the section about Jabber sessions (8.6.2.).
>
> Does anyone know how to add custom XML to sessions?
Hello,
You're right, it's not documented, sorry !
You have to use the 'raw' type; for ex:
<jabber type="raw" ack="no_ack"
data="<stream>foo</stream>"></jabber>
( '<' and '>' must be XML encoded, so it's a bit painful if you write
XML by hand ...)
--
Nicolas
More information about the Tsung-users
mailing list