SIPp on Linux to Generate Voice Load

SIPp on Linux to Generate Voice Load

Introduction This lab introduces the installation and basic use of SIPp, a free voice performance testing tool. It can emulate thousands of user agen

Digital Signage Using Raspberry Pi
Home-made Web GUI Configuration Generator
Deploy Scalable and Reliable WordPress Site on LEMP(3)

Introduction

This lab introduces the installation and basic use of SIPp, a free voice performance testing tool. It can emulate thousands of user agents making SIP calls and generate both SIP and RTP traffic. Although it is not as powerful as Cyara, contact centre testing tool (http://cyara.com/), it is FREE, so good for lab or limited budget.

Please visit SIPp website for product details: http://sipp.sourceforge.net/.

Install SIPp on Ubuntu

Step 1: Install Ubuntu server

Please refer to Python to Manage Network Devices (1): Linux lab setup

Step 2: Download and Save SIPp on Ubuntu

SIPp 3.3, current stable version, is available from: https://sourceforge.net/projects/sipp/files/

SIPp_download

Save ‘sipp-3.3.tar.gz’ on ubuntu server. I downloaded the sipp-3.3.tar.gz from the lab ftp server and saved under the user’s home directory ‘/home/jsmith’.

Step 3: Compile SIPp on Ubuntu

3. 1 Pre-requisites to compile SIPp are as below:

3.2 Execute command  sudo tar -xvzf sipp-3.3.tar.gz to unzip ‘sipp-3.3.tar.gz’ to ‘sipp-3.3’. ‘z’ attribute is to unzip ‘gz’.

3.3  The folder ‘sipp-3.3’ contains all the extracted  files and at the same location as where ‘sipp-3.3.tar.gz’ stays. Execute cd sipp-3.3 to go into the folder.

SIPp_folder

3.4 Execute ‘sudo make pcapplay’ to compile with pcap files to provide RTP traffic.

pcap.JPG

Step 4: Generate SIP and RTP Traffic

Deploy two SIPp servers, one with UAC (user agent client, send SIP requests) role and the other with UAS (user agent server, receive SIP request) role, following steps in Step 3.

Execute the following commands under ‘sip-3.3’ folder.

On UAC:

On UAS:

Use ./sipp --help or ./sipp | grep xx to check command syntax as below:

SIPp_attribute.JPG

SIPp_attribute_2.JPG

After running sudo ./sipp -sn uac_pcap 192.168.2.227 on UAC and sudo ./sipp -sn uas on UAS, the following monitoring windows appear:
sipp_flow.png

TCPdump can be used to capture traffic as below:

Prime Infrastructure is used to monitor the application traffic and shows sip and rtp traffic as below:

sipp_pi_monitor.png

COMMENTS

WORDPRESS: 0
DISQUS: 0