I have used SIPp as UAC and my Asterisk PBX as UAS. I tried with 2 different
extension with a injection file. You can include as many extension in the
data file. I am attaching the file, and check whether it helps. Cheers...

On Wed, Jul 13, 2011 at 2:14 PM, Ruben Roque <decruzreu...@gmail.com> wrote:

> Hi All,
>
> Good afternoon!
> I have a query with SIPp as mentioned below:
>
> *Scenario to simulate:*
> 1) To simulate two different instances of SIPp, one as a UAC and one as UAS
> 2) 100 users from SIPp(UAC) should call 100 users of SIPp(UAS)
> 3) Assume scenario files for UAC and UAS are already available with me
> 4) Assume the requests are proxied via proxy server
>
> *My requirement from SIPp forum:*
> 1) In UAC side, I want to simulate 100 users starting from 1000 - 1100, so
> I can fetch these via an injection mechanism like "-inf". I need a working
> injectione file
> 2) In UAS side, I want to simulate 100 users starting from 2000 - 2100, so
> I can fetch these via an injection mechanism like "-inf".  I need a working
> injectione file
>  3) What will be the command line arguments for UAC and UAS instances?
>
> Regards,
> Reubne
>
>
> ------------------------------------------------------------------------------
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> _______________________________________________
> Sipp-users mailing list
> Sipp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
>
SEQUENTIAL
Gopal;2001
Murali;1777
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">

<!--
SEQUENTIAL
Gopal;2001
Murali;1777
-->

<!--./sipp -i 192.168.0.87 -p 6060 -sf call_injection.xml -inf data_invite_inject.txt -m 2 -l 1 -d 2000 192.168.0.54 -trace_err-->

<!--./sipp -sf myscenario.xml -t ui -inf database.csv -ip_field 2 192.168.1.1 "Ignore this line"-->

<scenario name="Call Establishment Injection">
<send retrans="500">
    <![CDATA[

      INVITE sip:[field1]@[remote_ip]:[remote_port] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port]
      From: [field0] <sip:[field1]@[local_ip]:[local_port]>;tag=[call_number]
      To: [field0] <sip:[field1]@[remote_ip]:[remote_port]>
      Call-ID: [call_id]
      CSeq: 1 INVITE
      Contact: sip:[field1]@[local_ip]:[local_port]
      Max-Forwards: 70
      Subject: Performance Test
      Content-Type: application/sdp
      Content-Length: [len]

      v=0
      o=user1 53655765 2353687637 IN IP4 127.0.0.1
      s=-
      t=0 0
      c=IN IP4 [media_ip]
      m=audio [media_port] RTP/AVP 0
      a=rtpmap:0 PCMU/8000
    ]]>
  </send>
  <recv response="100"
          optional="true">
  </recv>
  
  <recv response="180" optional="true">
  </recv>
  <recv response="200" rtd="true">
  </recv>
  
  <send>
      <![CDATA[
  
        ACK sip:[field1]@[remote_ip]:[remote_port] SIP/2.0
        Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
        From: [field0] <sip:[field1]@[local_ip]:[local_port]>;tag=[call_number]
        To: [field0] <sip:[field1]@[remote_ip]:[remote_port]>[peer_tag_param]
        Call-ID: [call_id]
        CSeq: 1 ACK
        Contact: sip:[field1]@[local_ip]:[local_port]
        Max-Forwards: 70
        Subject: Performance Test
        Content-Length: 0
  
      ]]>
    </send>
	<pause/>
	<send retrans="500">
      <![CDATA[
  
		BYE sip:[field1]@[remote_ip]:[remote_port] SIP/2.0
        Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
        From: [field0] <sip:[field1]@[local_ip]:[local_port]>;tag=[call_number]
		To: [field0] <sip:[field1]@[remote_ip]:[remote_port]>[peer_tag_param]
        Call-ID: [call_id]
        CSeq: 2 BYE
        Contact: sip:[field1]@[local_ip]:[local_port]
        Max-Forwards: 70
        Subject: Performance Test
        Content-Length: 0
 
     ]]>
   </send>
 
   <recv response="200" crlf="true">
   </recv>
   <!-- definition of the response time repartition table (unit is ms)   -->
   <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
 
   <!-- definition of the call length repartition table (unit is ms)     -->
   <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
   <pause milliseconds="2000"/>
</scenario>
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to