SIPp,VOIP并发测试、性能测试的神器。
本文记录一下常用的脚本文件。
一、reg.xml
此文件是sipp的执行的脚本流程。
<!-- --> <!-- You should have received a copy of the GNU General Public License --> <!-- along with this program; if not, write to the --> <!-- Free Software Foundation, Inc., --> <!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA --> <!-- --> <!-- Sipp default 'branchc' scenario. --> <!-- --> <scenario name="branch_client"> <send retrans="500"> <![CDATA[ REGISTER sip:[remote_ip] SIP/2.0 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] From: [field0] <sip:[field0]@[remote_ip]:[remote_port]>;tag=[call_number] To: [field0] <sip:[field0]@[remote_ip]:[remote_port]> Call-ID: [call_id] CSeq: 1 REGISTER Contact: sip:[field0]@[local_ip]:[local_port] Content-Length: 0

本文介绍SIPp工具在VOIP并发和性能测试中的应用,并详细讲解了reg.xml(执行流程)、reg.csv(模拟注册号码信息)和reg.sh(Linux执行脚本)这三个关键脚本文件的用途,帮助读者理解SIPp的注册测试过程。
最低0.47元/天 解锁文章
1977

被折叠的 条评论
为什么被折叠?



