<?xml version="1.0" encoding="utf-8"?>
<html>
Using SIPp to run performance tests
...
- SIPp Project Page
- SIPStone Benchmarks
- Columbia University paper on SIPStone benchmarks
- SER test scenario
- SIPP Users Mailing List Archive
- SIP Call Flows
- SIPSAK - SIP Test Tool
- SIP Parameters
Introduction
{{Box Important||
SIPp would be a great tool to do performance tests on sipX. However, for the reasons pointed out here, SIPp currently does not work with sipX. Any suggestions on how to fix this would be most welcome. Please post comments to the sipx-dev mailing list, or you are also welcome to add comments to this Wiki page.
}}
Objectives and ToDo's
I tried to create a simple test setup using SIPp to test the call processing performance of the sipX SIP proxy server version 2.8.1.
Objectives and ToDo's
I tried to create a simple test setup using SIPp to test the call processing performance of the sipX SIP proxy server version 2.8.1.
This is what I thought:
- Adapt the SIPp cmd lines below for this scenario
- Find out how to configure sipX (create user / passwd if necessary)
- Find out the difference between authenticated and un-authenticated calls, so that we can test both
...
In order for authentication to work it seems that the standard UAC scenario XML file needs to be extended as follows (copied from the example in the manual):
...
Code Block | ||||
---|---|---|---|---|
| ||||
Panel | ||||
<recv response="407" auth="true"> </recv> |
<send>
<send> <![CDATA[ |
...
ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0 |
...
Panel |
---|
Via: SIP/2.0/[transport] [local_ip]:[local_port ] From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number ] To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param ] Call-ID: [call_id ] CSeq: 1ACK ACK Contact: sip:sipp@[local_ip]:[local_port ] Max-Forwards:70 70 Subject: PerformanceTest Test Content-Length:0 0 ]]> |
...
Panel |
---|
</send> <send retrans="500"> |
...
Panel |
---|
<![CDATA[ |
...
INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0 |
...
Panel |
---|
Via: SIP/2.0/transport [transport] [local_ip]:[local_port ] From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number ] To: sut <sip:[service]@[remote_ip]:[remote_port> ]> Call-ID: [call_id ] CSeq: 2INVITE INVITE Contact: sip:sipp@[local_ip]:[local_port authentication ] [authentication username=foouser ] Max-Forwards:70 70 Subject: PerformanceTest Test Content-Type: application/sdp Content-Length:len [len] v=0 |
...
Panel |
---|
o=user1 53655765 2353687637 IN IP4 127.0.0.1 s=- t=00 0 c=IN IP4 [media_ip ] m=audio [media_port] RTP/AVP0 0 a=rtpmap:0 PCMU/8000 ]]> |
...
Panel |
---|
</send> |
Built in scenarios are part of the executable code. In order to dump an existing scenario into a file use the following command:
...
Panel |
---|
-3pcc ip:port : Launch the tool in 3pcc mode ("Third Party
|
-nr : Disable retransmission in UDP mode.
Panel |
---|
-nd : No Default. Disable all default behavior of SIPp
|
-rsa host:port : Set the remote sending address to host:port.
...