一、部署安装
==============
1)安装依赖
yum -y install perl
yum -y install gnuplot
由于需要erlang支持,那么下载erlang-R14B04
wget http://www.erlang.org/download/otp_src_R14B04.tar.gz
tar zxvf opt_src_R14B04.tar.gz
cd opt_src_R14B04
./configure –-prefix=/usr/local/erlang
make
make install
2)安装tsung
wget http://tsung.erlang-projects.org/dist/tsung-1.4.1.tar.gz
tar zxvf tsung-1.4.1.tar.gz
cd tsung-1.4.1
./configure –-prefix=/usr/local/tsung –-with-erlang=/usr/local/erlang
make
make install
----
示例xml脚本。
/usr/local/tsung/share/doc/tsung/examples
程序安装到了
/usr/local/tsung/
二、配置启动
==============
1)配置XMPP登陆示例
xmppLogin.xml
2)启动
./tsung -f xmppLogin.xml start
三、问题描述
四、相关文档
==============
http://tsung.erlang-projects.org/
http://www.ec-os.net/misc/Tsung.html
==============
1)安装依赖
yum -y install perl
yum -y install gnuplot
由于需要erlang支持,那么下载erlang-R14B04
wget http://www.erlang.org/download/otp_src_R14B04.tar.gz
tar zxvf opt_src_R14B04.tar.gz
cd opt_src_R14B04
./configure –-prefix=/usr/local/erlang
make
make install
2)安装tsung
wget http://tsung.erlang-projects.org/dist/tsung-1.4.1.tar.gz
tar zxvf tsung-1.4.1.tar.gz
cd tsung-1.4.1
./configure –-prefix=/usr/local/tsung –-with-erlang=/usr/local/erlang
make
make install
----
示例xml脚本。
/usr/local/tsung/share/doc/tsung/examples
程序安装到了
/usr/local/tsung/
二、配置启动
==============
1)配置XMPP登陆示例
xmppLogin.xml
2)启动
./tsung -f xmppLogin.xml start
三、问题描述
==============
使用该脚本测试的时候,要禁用XMPP服务器的auth验证模块,不然账号密码不对,登陆不进去。
单个IP的端口65535的问题导致单个机器模拟的连接数有限,这个问题我没解决,只能通过使用很多机器都开这个服务来解决。四、相关文档
==============
http://tsung.erlang-projects.org/
http://www.ec-os.net/misc/Tsung.html