—大傻
文档历史
| 日期 | 版本号 | 作者 | 修订历史 |
| 2010-12-7 | 1.0 | 大傻 | 编写 |
版权声明:本文由BSTT成员收集整理,只作相互交流学习使用,不能作为任何商业用途,转载时请务必标识BSTT统一LOGO,并注明BSTT宗旨(倡导测试开源,分享测试经验)。QQ交流群号:14926562
1测试项说明
●输入说明
●输出说明
2测试过程说明
参见《LoadRunner8.0下WebService测试总结.doc》
3测试结果(默认)
3.1100*10
3.1.1事物执行情况
3.1.2稳定性控制图
3.1.3服务器资源
无
3.1.4错误记录
无
3.2100*30
3.2.1事物执行情况
3.2.2稳定性控制图
3.2.3服务器资源
3.2.4错误记录
无
3.3100*50
3.3.1事物执行情况
3.3.2稳定性控制图
3.3.3服务器资源
3.3.4错误记录
无
3.4100*60
3.4.1事物执行情况
3.4.2稳定性控制图
无
3.4.3服务器资源
3.4.4错误记录
1.Action.c(8): Error: Web service call "inWSDLOperation_101" execution failed
2.Action.c(8): Error:
3.Action.c(8): Error:
4测试结果(优化)
优化了GlassFish(JDK)中JVM设置
4.150*70
4.1.1事物执行情况
4.1.2稳定性控制图
4.1.3服务器资源
4.1.4错误记录
无
4.250*100
4.2.1事物执行情况
4.2.2稳定性控制图
4.2.3服务器资源
4.2.4错误记录
无
4.350*120
4.3.1事物执行情况
4.3.2稳定性控制图
4.3.3服务器资源
4.3.4错误记录
4.450*150
4.4.1事物执行情况
4.4.2稳定性控制图
4.4.3服务器资源
4.4.4错误记录
4.5100*60
4.5.1事物执行情况
4.5.2稳定性控制图
4.5.3服务器资源
4.5.4错误记录
无
4.6100*70
4.6.1事物执行情况
4.6.2稳定性控制图
无
4.6.3服务器资源
4.6.4错误记录
1.Action.c(8): Error: Web service call "inWSDLOperation_101" execution failed
2.Action.c(8): Error:
3.Action.c(8): Error:
5测试分析
| 场景名称 | 最小值 | 平均值 | 最大值 | 90Percent |
| 50*70 | 0.014 | 0.148 | 0.316 | 0.223 |
| 50*100 | 0.014 | 0.143 | 0.308 | 0.223 |
| 50*120 | 0.014 | 0.144 | 0.322 | 0.223 |
| 50*150 | 0.014 | 0.146 | 0.334 | 0.223 |
| 100*10 | 0.016 | 0.303 | 1.332 | 0.681 |
| 100*30 | 0.016 | 0.525 | 1.440 | 1.038 |
| 100*50 | 0.016 | 0.573 | 1.633 | 1.069 |
6测试结论
1.当前环境下最多去100*50或50*180,优化后虽然支持100*60,但是从4.5.2控制图中可以看出运行已经很不稳定。
2.从5测试分析中可以看出50用户并发时,程序执行稳定,响应时间比较快,而100用户时运行响应时间最大值,平均值,最小值的落差比较大,如下图。
| 50*150 | 100*50 |
7测试碰到问题
Internal error, please call customer support. Details: class java.lang.Object :
Internal error, please call customer support. Details: Error while retrieving body -- can not parse output parameters
解决方法:脚本所在目录不能中文或目录层次不能太深
Abnormal termination, caused by mdrv process termination。
解决方法:LR 安装目录dat\\protocols下的CsNet.lrp文件中[Vugen]下面新加一条MaxThreadPerProcess=要设置的vuser数量下载本文