tsung 对 openfire 压力测试

来源:互联网 发布:命令行查看端口号 编辑:程序博客网 时间:2024/04/28 02:01


1. 参考 http://blog.csdn.net/foxisme2/article/details/7521139 

http://blog.csdn.net/foxisme2/article/details/7528148 

其中生成测试报告的 命令 由于我本机tsung 的安装路径和上面资料的不同 需要使用 

/usr/local/lib/tsung/bin/tsung_stats.pl   (使用 whereis tsung 找到tsung 的安装路径)

其中配置文件  <client host="localhost" use_controller_vm="true" maxusers="60000">   注意添加 maxusers 配置 否则注册产生1000个客户端的时候会自动结束

2. 生成的报告没有图片 参照下面的资料 (安装缺少的库)

http://blog.csdn.net/spider_zhcl/article/details/6073920  

3. 同时在线的压力测试配置参见 

http://blog.csdn.net/simonhe1973/article/details/4456311

4. openfire 的优化参见 (使用了 mongodb 和redis)

http://www.360doc.com/content/12/0601/16/9544_215230754.shtml

5.tsung生成的报告解释

http://linyu19872008.iteye.com/blog/1605707

6. 需要将centos 的打开最大文件数的限制打开, 客户端 和服务端都需要打开,并重启服务

0 0
原创粉丝点击