/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
*
* Author : Juan Antonio Alvarez <jualvarez@gmail.com>
*/
README
These scripts are intended to gather information from a SIP server under test.
An entry in SIPp wiki is available for more details:
http://sipp.sourceforge.net/wiki/index.php/Getting_feedback_from_the_server
The script auto_test runs sipp with a series of parameters configured as BASH
variables. snmparser goes trough the files generated by snmp runs and builds a
comma separated values file with the relevant information (i.e. those fields
that changed over the different runs). fullcsv runs snmparser for all the snmp*
files in the directory and pastes them together with sipp stats output.
REQUIREMENTS
First of all, your SIP server must be running some snmp server.
auto_script needs
- bash
- awk
- netcat
- net-snmp
snmparser is a php script, so it needs php-cli (chmod +x if you want to use it
with fullcsv).
fullcsv is a simple bash script, it uses sed and paste, but that should be
available in most linux boxes.
HOW TO RUN THEM
Make sure your system meets the requirements. Edit auto_script. Modify all the
variables so that they fit your taste, everything is commented so it shouldn't
be a problem. The variable test_name is some custom name for this particular
run. A directory will be created with that name and every stats will be dumped
there.
To start the test, simply run bash auto_script. Note that the script only takes
care of the UAC part. If you intend sipp to run the UAS part as well, you should
run it for yourself. Something like
sipp -sn uas -p <sip_listen_port> -mp <media_port>
should be enough.
If you wish to convert what you've got into something easier to analyze, cd to
test_name directory, and run
bash ../fullcsv
A file named full.csv will be created. It should be really easy to import that
file in any spreadsheet, and even SPSS or R for further analysis.
PLEASE NOTE
All three scripts should be in the same directory. Be sure to edit the path to
sipp in auto_script.
When running fullcsv, take into account that it expects the files from only one
run to reside in the directory. You can know they are all from the same run,
because they have the same ending, that is the unix timestamp of the time the
test was launched.
没有合适的资源?快使用搜索试试~ 我知道了~
一个SIP协议栈的实现源码
5星 · 超过95%的资源 需积分: 50 189 下载量 71 浏览量
2010-01-12
17:20:35
上传
评论 7
收藏 8.99MB GZ 举报
温馨提示
共73个文件
hpp:13个
cpp:13个
pcap:12个
一个SIP协议栈的实现源码,对sip协议进行了完整的封装。 Implementation of a SIP protocol stack source code, to sip protocol complete package.
资源推荐
资源详情
资源评论
收起资源包目录
sipp.3.1.src.tar.gz (73个子文件)
sipp.svn
prepare_pcap.c 6KB
infile.hpp 1KB
comp.c 2KB
sipp-build-ext-lib.conf 2KB
xp_parser.c 10KB
sipp-external-lib-src
gsl-1.9.tar.gz 2.46MB
gsl-1.9-src-11.11.tar.gz 2.83MB
libpcap-0.9.5.tar.gz 423KB
openssl-0.9.8c.tar.gz 3.16MB
scenario.cpp 106KB
deadcall.cpp 3KB
xp_parser.h 1KB
sslthreadsafe.c 3KB
infile.cpp 7KB
socketowner.cpp 4KB
local.mk 412B
call.hpp 10KB
prepare_pcap.h 2KB
actions.cpp 17KB
send_packets.c 8KB
sipp-epm-build.ksh 1KB
variables.cpp 8KB
auth.c 18KB
message.hpp 4KB
comp.h 2KB
milenage.h 1KB
sipp.hpp 23KB
screen.hpp 2KB
deadcall.hpp 469B
sslinit.c 2KB
screen.cpp 7KB
pcap
dtmf_2833_star.pcap 764B
dtmf_2833_9.pcap 764B
dtmf_2833_4.pcap 764B
dtmf_2833_pound.pcap 764B
dtmf_2833_2.pcap 764B
dtmf_2833_3.pcap 764B
dtmf_2833_6.pcap 764B
dtmf_2833_5.pcap 764B
g711a.pcap 71KB
dtmf_2833_8.pcap 764B
dtmf_2833_7.pcap 764B
dtmf_2833_1.pcap 764B
socketowner.hpp 2KB
call.cpp 107KB
MEDIA.txt 3KB
rijndael.c 27KB
variables.hpp 3KB
message.cpp 15KB
task.hpp 4KB
listener.hpp 1KB
milenage.c 7KB
scenario.hpp 6KB
README.txt 2KB
LICENSE.txt 17KB
task.cpp 6KB
stat.cpp 64KB
tools
monitor
snmparser 4KB
auto_script 9KB
README.txt 3KB
fullcsv 1KB
sipp.dtd 2KB
actions.hpp 7KB
sipp-build-ext-lib.ksh 4KB
sipp-epm-list
sipp-pcapplay-ossl.list 2KB
sipp-standard.list 414B
sslcommon.h 2KB
listener.cpp 2KB
send_packets.h 4KB
Makefile 7KB
stat.hpp 20KB
sipp.cpp 170KB
rijndael.h 898B
共 73 条
- 1
zmy9709
- 粉丝: 0
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页