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

Reply via email to