On 01/07/14 14:40, Tomasz Karbowski wrote:
> Hello,
> 
> I tried to use chance in my UAS scenario for getting 50% calls
> connected and 50% calls rejected by 486 Busy here.
> 
> I am getting all time 486 busy here instead of 50% busy here and
> 50% 200OK to connect the call.
> 
> 
> Part of XML UAS scenario :
> 
> <send retrans="500" chance="0.50" next="10"> <!-- jump to 10 label
> and wait for ACK then finish scenario --> <![CDATA[
> 
> SIP/2.0 486 Busy here


I think that, as written, that will *always* send the 486 Busy Here,
and then have a 50% chance to jump to label 10. For what you want, I
thin you'd need the message before this to have chance="0.5" instead,
and a next= attribute that pointed to the 200 OK's label. That would
give a 50% of just carrying on (and so sending the 486 Busy Here) and
a 50% chance of performing the jump (and so sending the 200 OK).

Rob

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to