Thursday, March 19, 2015

Performance Testing with SIPp

Performance Testing with SIPp:  


Installation:

Download SIPp from http://sourceforge.net/projects/sipp/files/sipp/

./configure --with-pcap
make
make install

Testing:


Server:

  • ./sipp -sn uas

Client:

  • ./sipp -sn uac 192.168.1.10

Advance client options:

  • ./sipp -sd uac > uac.xml
  • ./sipp -sf uac.xml
  • ./sipp -sn uac -i 192.168.1.5 -d 60000 -l 1 -m 1 -r 1 -s 1001 sip.example.com
-i   bind local IP
-d  call duration ( 60s )
-l  limit concurrent calls
-r  call rate per second
-s username or extension
sip.example.com is remote SIP server.


Send RTP stream:


  • ./sipp -sn uac_pcap -i 192.168.1.5 -d 60000 -l 1 -m 1 -r 1 -s 1001 sip.example.com