Andreas,

Do you have a label at the end of your scenario that you jump to after 
your standard call setup? Something like:

<recv request="INVITE" crlf="true" next="1" chance="0.01">
</recv>
<send 100 />
<send 180 />
<send 200 next="2" />
<label id="1" />
<send 500 />
<label id="2" />

Assuming this isn't it if you post your full scenario, then you should be 
able to get better answers.

Charles

[EMAIL PROTECTED] wrote on 06/08/2007 04:47:32 AM:

> Hi all,
> 
> I have been browsing through the mail archive but cant find any 
> answer to the problem I have. I hope that someone can help me
> 
> I'm writing a AUS scenario and it starts with receiving an Invite. 
> Then I want that in 99% of the cases the call should be setup with 
> 180, 200 and so on. However, for 1% of the calls I want to send 500 
> Server Error instead (to simulate a specific case). When reading the
> manual I found the "chance" command and tried to using that. This is
> how my script starts:
> <recv request="INVITE" crlf="true" next="1" chance="0.01">
> </recv>
> Now label=1 is jumping to a place where I send 500, and if I dont 
> jump the script continues with setting up a simple call.
> 
> The problem is when I run this scenario Iget the 500 in all cases, 
> not only in 1% of the cases. Looking again in the documentaiton I 
> can only find examples where test and chance is used togheter. But 
> it also says that "test and chance can be combined, i.e to have..." 
> so I guess I should be able to use chance alone? If this is not 
> possible, can I add a test that is always true?
> 
> Thanks in advance!
> // Andreas
> 
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Sipp-users mailing list
> Sipp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sipp-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to