[Tsung] Dynamic variables, Vcards, TLS, and service discovery
Mickaël Rémond
mickael.remond at process-one.net
Fri Dec 15 09:15:38 CET 2006
Hello,
Le 15 déc. 06 à 00:22, Megan Chinburg a écrit :
> However, I have not been able to get the dynamic sub to work,
> perhaps I’m missing something?
>
> <request subst="true"><jabber type="raw" ack="no_ack"
> data="<iq
> to='ts_user_server:get_unique_id at servername'
> type='get'
> id='v3'>
> <vCard xmlns='vcard-temp'/>
> </iq>"></jabber></request>
Did you use percent signs ?
From the documentation:
http://www.process-one.net/en/projects/tsung/docs/
user_manual.html#htoc38
Those mark-up are of the form %%Module:Function%%. Substitutions are
executed on a request-by-request basis, only if the request tag has
the attribute subst="true".
<session name="rec20040316-08:47" probability="100" type="ts_http">
<request subst="true">
<http url="/echo?id=%%ts_user_server:get_unique_id%%" method="GET">
</http></request>
</session>
--
Mickaël Rémond
http://www.process-one.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.process-one.net/pipermail/tsung-users/attachments/20061215/eda78822/attachment.html
More information about the Tsung-users
mailing list