SIPp on Windows:
Pre-Requisite Downloads:-
Download the following Installation files from the following links:
1) https://cygwin.com/install.html - Cygwin
2) https://sourceforge.net/projects/sipp/files/sipp/3.2/sipp-win32-3.2-setup.exe - Sipp-win-XXX.exe
Procedure:
1) First start installing Cygwin
2) Select the root install directory (by default, C:/cygwin) and then click the button “Next”.Select local package directory and then click the button “Next”.
3) Choose the connection method. In this example, “Direct Connection” is selected and then the button “Next”.
4) Choose a mirror site and the click the button “Next”. (chose http://ftp.daum.net).
5) Enter the below packages in search box, default 3 to 4 list are displayed with Skip, select them and check the box under "bin" for all packages below:-
Select packages to install .
vim
gcc-core
gcc-g++
gcc
libncurses
6) Cygwin setup is done.
7) After installation the folder structure is created C://cygwin
8) Run the sipp installation file, during installation select the location as C://cygwin/Sipp
9) After installation go to C://cygwin/ and open the "terminal.bat" file.
10) gcc --version
11) make --version
12) Browse http://www.openssl.org/ , Click the button “Source ”
13) Download the latest version of OpenSSL. Copy the downloaded OpenSSL source into “home” subfolder of the folder where “cygwin” is installed (eg, C:/cygwin/)
14 ) Run “cygwin” and then do the followings:
$ cd /home $ tar zxvf openssl-x.x.x.tar.gz
15) $ cd /home/openssl-x.x.x $ ./config
16) $ cd /home/openssl-x.x.x $ make
17) $ cd /home/openssl-x.x.x $ make test
18) $ cd /home/openssl-x.x.x $ make install
19) Check if the following three files show up inside Openssl-XXX.X folder : –
Execution file: openssl – Library files: libssl.a, libcrypto.a 32
20) To compile SIPp on Windows with pcap (media support), you must:
- Copy the WinPcap developer package to "C:\cygwin\lib\WpdPack"
- Remove or rename "pthread.h" in "C:\cygwin\lib\WpdPack\Include", as it interfers with pthread.h from cygwin
22) Goto C://cygwin and click terminal.bat file
23) Compile
# cd sipp # ./configure --with-pcap # make pcapplay_ossl or make pcap
24) ./sipp XXX.XX.XX.XXX -sf REGISTER_client.xml -inf Register_client.csv -m 1