I think the problem may be label itself. There was an exchange in January with 
the title "label, next and ontimeout broken in 3.1‏" and I suggested:

 

>So a crude fix to the problem is to change:
> 
>line 739 of scenario.cpp to:
> 
>           labelMap[strdup(ptr)] = length;
> 
>and line 1639 of scenario.cpp to:
> 
>           ontimeoutLabels[length] = strdup(ptr);
>
>and put a note on the TODO list about the leaking memory. I have tested it and 
>it does >fix Sumeet's issue. The memory loss is one off not continuous.


I don't think that fix (or any equivalent) has been done. The only other option 
is to use 3.0 (with labels 1-99 only and may not have jump).

 

Peter
 


Date: Sun, 25 Jul 2010 06:50:44 -0500
Subject: Re: [Sipp-users] How to use the <jump> action
From: trinhta...@gmail.com
To: plh...@hotmail.com
CC: sipp-users@lists.sourceforge.net

>From googling the usage of <jump>, it seems people specify a label in the 
>value of <jump>. However, when I do it, I get an overflow of the log file and 
>SIPp coredumps. 
Besides <jump>, are there other ways to force a jump to a different place in 
the script ?
Thanks,
--
T. Ta 


On Sat, Jul 24, 2010 at 12:16 PM, Peter Higginson <plh...@hotmail.com> wrote:


 
SIPp internally numbers each line in the scenario. The label mechanism maps 
onto those. I imagine "jump" gives you direct access to the internal numbers 
(even more of a hack than the original numeric label scheme that I wrote). Try 
putting a print or something you can track as the 4th, 5th and 6th active 
statements and see what happens.
 
If that fails, when I have got some spare time, I'll look at the code and find 
out what it really does.
 
Peter



Date: Sat, 24 Jul 2010 10:02:50 -0500
From: trinhta...@gmail.com
To: sipp-users@lists.sourceforge.net
Subject: [Sipp-users] How to use the <jump> action




Example in the user's doc:
<jump value="5"/>

The documentation says it will jump to an arbitrary scenario index. Does that 
mean it will jump to a <label> ?

Even though I have a label with id="5", it does not go there. Instead, I get an 
infinite loop as shown in the logs.log file and SIPp gets a "bus error".




Get a free e-mail account with Hotmail. Sign-up now.
                                          
_________________________________________________________________
http://clk.atdmt.com/UKM/go/195013117/direct/01/
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to