How Best To Run A SIPp Test On A Remote Host

Home » Asterisk Users » How Best To Run A SIPp Test On A Remote Host
Asterisk Users 1 Comment

Hello,

I’m curently setting a lab environment for load testing an Asterisk instance.

This environment includes:
– a management workstation where I would like to run scripts and store test reports
– a box hosting SIPp
– the Asterisk box I’m load testing (System Under Test)
– an other Asterisk box that simply anwers and echoes incoming media

The SIPp commande I’m currently using looks like:
sipp -bg -nostdin -trace_screen -screen_file
/home/foobar/reports.d/campaign_123456789_1_1.txt -sf
/home/foobar/custom_with_10_minutes_audio.xml 3.4.49.3 -i 3.4.58.206 -s
123456789 -r 1 -m 1 -d 60000

Explainations:
– Run in background mode (more on that later)
– Last SIPp screen with successful/failed call counters saved in a file
– SIPp reads a 10 minutes audio file and stops reading after 60000 ms (see
-d parameter)
– Media comes from SIPs, pass though System Under Test and then comes back

1. How can you run such “sipp -bg …” command from management workstation on remote SIPp box ?
I tried using Fabric (I’m discovering) but it always fails with a 99 exit code, as if SIPp/Fabric required a different options set.

2. This project pysipp [1] seems interesting. Has anyone tried it ?
How can you get started ?

3. Suggestions ?

Best regards

[1] https://github.com/SIPp/pysipp

One thought on - How Best To Run A SIPp Test On A Remote Host

  • I’ve never worked with fabric nor pysipp, but if you want to run sipp in background so you can log out from your remote server and leave the test running, I suggest you can use screen. It works well for me. Patrick Wakano