Load tests are done with the application load-sipapp and SIPp.
This application allows testing Cipango in the following modes:

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:

  1. Open a command prompt window and navigate to your cipango root directory
  2. Go to the load-sipapp directory and build it:
    cd extras/load-sipapp
    mvn install
    

Testing

  1. Start Cipango with right memory configuration (see also Improve performance)
    java -Xmx1700M -Xms1700M -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -jar start.jar etc/cipango.xml
  2. configure SIPp environment
  3. Run the scripts:

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