This documentation relates to last stable version of Cipango.
visit the last unstable documentation home.
Load SIP Servlet application
Load tests are done with the application load-sipapp
and SIPp.
This application allows testing Cipango in the following modes:
- UAS
- Back to back
- Proxy
SIPp scripts are provided in extras/load-sipapp/src/test/sipp
.
Compilation
Load-sipapp is located under the extras
directory of your cipango sources directory. To build from the sources, follow these steps:
- Open a command prompt window and navigate to your cipango root directory
- Go to the
load-sipapp
directory and build it:cd extras/load-sipapp mvn install
Testing
- Start Cipango with right memory configuration (see also Improve performance)
java -Xmx1700M -Xms1700M -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -jar start.jar etc/cipango.xml
- configure SIPp environment
- on Unix/Linux: edit
extras/load-sipapp/src/test/sipp/unix/setEnv.sh
- on Microsoft Windows: edit
extras/load-sipapp/src/test/sipp/windows/setEnv.cmd
- on Unix/Linux: edit
- Run the scripts:
message.bat/.sh
: For a simple MESSAGE test, Cipango acting as UAS./uac.sh -s uas
oruac.bat -s uas
: For a simple call test, Cipango acting as UASuas.sh/.bat
then./uac.sh -s b2b
oruac.bat -s b2b
: For a simple call test, Cipango acting as Back-to-back user agentuas.sh/.bat
then./uac.sh -s proxy
oruac.bat -s proxy
: For a simple call test, Cipango acting as a proxy
For tests calls, to add a delay between ACK and BYE requests, add the SIPp parameters -d delay in milliseconds. For instance, ./uac.sh -s uas -d 2000
or uac.bat -s uas -d 2000