本文主要是介绍sipp测试opensipps,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
测试参照:http://www.kamailio.org/docs/openser-performance-tests/#tm-tests
1、测试register
SIP entities definition:
UAC 192.168.15.157:random
Proxy - 192.168.5.155:5060
SIP messages flow:
UAC --->REGISTER---> Proxy
UAC <---200 OK<--- Proxy
命令:./sipp 192.168.15.155 -sf uac-reg.xml -inf sip-users-random.txt -r 20000 -m 100000 -trace_rtt -trace_screen -l 100
-sf: Loads an alternate xml scenario file. To learn more about XML scenario syntax, use the -sd option to dump embedded scenarios. They contain all the necessary
help.
-inf:Inject values from an external CSV file during calls into the scenarios. First line of this file say whether the data is to be read in sequence (SEQUENTIAL),
random (RANDOM), or user (USER) order. Each line corresponds to one call and has one or more &
这篇关于sipp测试opensipps的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!