tsung小试牛刀

linux环境:CentOS5.5

1 tsung安装

http://tsung.erlang-projects.org/dist/上面下载最新的安装包,我这里下载的是tsung-1.4.2.tar.gz

tar -zxvf tsung-1.4.2.tar.gz

./configure
make
sudo make install


安装后执行  which tsung,如果显示  /usr/bin/tsung   ,表明安装成功

2  设置

如果没有~/.tsung  目录,执行  mkdir ~/.tsung  ,创建目录

然后拷贝xmpp用户注册例子文件到此目录下 

cp /usr/share/doc/tsung/examples/jabber_register.xml ~/.tsung/tsung.xml

执行  tsung start

15分钟之后,查看openfire的ofuser表里面就会添加200000个用户了

3  生成报告

http://blog.csdn.net/wudongxu/article/details/6326381

Can't locate Template.pm in @INC (@INC contains: /usr/lib64/perl5/site….

必须安装perl5libtemplate-perlgnuplot

则表示没安装perl画图模板库:apt-get install libtemplate-perl gnuplot

https://launchpadlibrarian.net/19366473/libtemplate-perl_2.20.orig.tar.gz

cpan Template

猜你喜欢

转载自linyu19872008.iteye.com/blog/1602303