Thanks for the answer.
Maybe I misunderstand what sipp offers but I think I wasn't clear enough
when I speak about "simulating multiple users". What I meant is to simulate
multiple users at the same time, to simulate multiple connections to a call
server to test its performance. Not only simulate some accounts and use them
sequentially.
Maybe that's what you told me to do with injection but a confirmation will
be great since I'm not confident about my understanding of this feature.
Thanks again.
David JARDIN
On Tue, Apr 21, 2009 at 11:35 AM, mayamatakeshi <[email protected]>wrote:
> On Tue, Apr 21, 2009 at 6:16 PM, David Jardin <[email protected]>
> wrote:
> > Hi all,
> > I would ike to know if it's possible to simulate a bunch of users with
> sipp
>
> Hello,
> yes, it is possible. Use an injection file:
>
> http://sipp.sourceforge.net/doc/reference.html#Injecting+values+from+an+external+CSV+during+calls
>
> > Another question :
> > IS it possible in a scenario to send keep-alive packets regulary..like
> every
> > 30 seconds?
>
> I have not tested but I think you can put a loop in your scenario like
> this:
>
> <label id="loop_start" />
>
> <timewait milliseconds="30000"/>
>
> <send retrans="500">
> <![CDATA[
>
> OPTIONS sip:[field1] SIP/2.0
> Via: SIP/2.0/[transport] [local_ip]:[local_port];rport;branch=[branch]
> From: "[field0]" <sip:[fiel...@[field1]>;tag=[pid]SIPpTag00[call_number]
> To: "[field0]" <sip:[fiel...@[field1]>
> Call-ID: [call_id]
> Contact: <sip:[fiel...@[local_ip]:[local_port]>
> CSeq: 1 OPTIONS
> Max-Forwards: 70
> Expires: 3600
> Allow: INVITE,CANCEL,ACK,BYE,NOTIFY,REFER,OPTIONS,INFO,MESSAGE
> User-Agent: ATA
> Content-Length: 0
>
> ]]>
> </send>
>
> <recv response="200" />
>
> <nop next="loop_start"/>
>
> But you will also have to use some counter to break out of the loop
> and wait for or send BYE.
>
> regards,
> takeshi
>
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users