Hey Tickling,

A new project that was just recently accepted by the SIPp group is pysipp (
https://github.com/SIPp/pysipp). It's essentially a wrapper for launching
multiple coordinated SIPp commands from Python. Unfortunately, there isn't
a ton of documentation yet but if you give it a try and find it useful I'd
be happy to add more. The main feature you'll probably find useful is the
'scenario' object. It encapsulates the configuring and invoking of multiple
commands/agents.

>I will instantiate a number, say 10 clients (SIPp program tasks) that act
as SIPp callees and another 10 clients (SIPp program tasks) as SIPp callers.

Since the default pysipp 'scenario' contains a single UAC/UAS pair all you
have to do is set 'scenario.clientdefaults.proxyaddr =
<asterisk_profile_socket>. So you could accomplish the 10 scenario
situation pretty easily by having multiple scenario instances configured
this way (even pointing to multiple asterisk sip profiles if need be). If
you are performing registrations prior to the initial INVITE then you will
of course need to modify the default '-sn [uac|uas]' xml scripts.

Another alternative for stress testing (with media) is to use switchy (
https://github.com/sangoma/switchy). It's a Python tool which can drive a
FreeSWITCH cluster as a call generator. You will need to deploy your own
FreeSWITCH server as the call gen and will need to configure the SIP
profile to use only TCP (pretty straight forward). The default BERT test
app does media checking by performing a 1k tone transparency check in
real-time and dropping calls if there is enough of a mismatch.

Hope this helps.

Tyler
------------------------------------------------------------------------------
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to