Introduction to SIPp Speaker YanHsiang Wang Date 2006
- Slides: 13
Introduction to SIPp Speaker: Yan-Hsiang Wang Date: 2006. 12. 25 1
Outline n n n Introduction Basic scenarios Custom XML Advance scenarios Reference 2
Introduction n SIP performance tester ¡ ¡ n It includes several basic user agent scenarios ¡ ¡ ¡ n a free open source test tool a traffic generator UAC UAS UAC_PCAP, 3 PCC etc. It can read custom XML scenario files 3
Introduction (cont. ) n It features the dynamic display of statistics about running tests ¡ ¡ ¡ n call rate round trip delay message statistics It can also send media (RTP) traffic 4
UAS vs UAC n n UAS: sipp -sn uas UAC: sipp -sn uac 127. 0. 0. 1 -mp 6100 5
UAS vs UAC (cont. ) n n UAS: sipp -sf uas. xml ¡ sipp -sd uas > uas. xml ¡ http: //ms 11. voip. edu. tw/~sepp/sipp/uas. xml UAC: sipp 127. 0. 0. 1 -sf uac. xml -mp 6100 ¡ sipp -sd uac > uac. xml ¡ http: //ms 11. voip. edu. tw/~sepp/sipp/uac. xml -sn name : use a default scenario -mp media_port : set the local RTP port (defaulf=6000) -sf filename : load a custom scenario -sd name : dump a default scenario 6
Options n Usage ¡ n sipp remote_host[: remote_port] [options] Regular options ¡ ¡ ¡ -sn name : use a default scenario -mp media_port : set the local RTP port (defaulf=6000) -sf filename : load a custom scenario -sd name : dump a default scenario -inf filename : inject values from an external CSV file 7
Options (cont. ) n Advance options ¡ ¡ ¡ ¡ -d duration: control call length when “pause” occur (default=0 ms) -r rate: set the call rate a. k. a. CPS (default=10) -rp period: specify the rate period (default=1000 ms) -m calls: set the total number of calls -nr: disable retransmission in UDP mode -l calls_limit: set the maximum number of calls -rsa host: port: set the relay address -i local_ip: set local ip 8
REGISTER n sipp -sf register. xml sip_proxy -inf user_list. csv ¡ ¡ http: //ms 11. voip. edu. tw/~sepp/sipp/register. xml http: //ms 11. voip. edu. tw/~sepp/sipp/user_list. csv. txt -inf filename : inject values from an external CSV file 9
Defacto scenario n n UAS: sipp -sn uas -rsa relay_host: 5060 -i uas_ip UAC: sipp -sn uac -rsa relay_host: 5060 uas_ip -i uac_ip -l 1 -nr -r 1 10
Send RTP n n UAS: sipp -sn uas -rsa relay_host: 5060 -i uas_ip UAC: sipp -sn uac_pcap -rsa relay_host: 5060 uas_ip -i uac_ip -l 3 ¡ http: //ms 11. voip. edu. tw/~sepp/sipp/uac_pcap. xml 11
Reference n Welcome to SIPp ¡ n Using SIPp to run performance tests ¡ n http: //sipx-wiki. calivia. com/index. php/Using_SIPp_to_run_performance_tests iptel. org: SER and Open. SER t_relay tests ¡ n http: //sipp. sourceforge. net/ http: //www. iptel. org/~vku/performance/tm. ser. Xopenser. more/ voip-info. org: Sipp ¡ http: //www. voip-info. org/wiki/view/Sipp 12
Merry X’mas!! 13