[asterisk-users] How best to run a SIPp test on a remote host

Patrick Wakano pwakano at gmail.com
Mon Oct 22 20:50:19 CDT 2018


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

On Sat, 20 Oct. 2018, 01:55 Olivier, <oza.4h07 at gmail.com> wrote:

> 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
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Astricon is coming up October 9-11!  Signup is available at:
> https://www.asterisk.org/community/astricon-user-conference
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20181023/3eb03099/attachment.html>


More information about the asterisk-users mailing list