请教一个压力测试后前台显示不正确的问题
请教各位大侠:我在使用robot对一个增加信息的栏目做压力测试时,并发数为50且全部通过,但是访问前台网页,该栏目信息只增加了2条,而且录制的脚本也没有错误,其他设置也没有错误。难道是程序出错了吗? 增加成功和失败,服务器返回的数据是不是都是一样的? 经过检查服务器返回的数据与网页上增加的数据一致,只有2条
Time of Emulation Session: Fri Dec 9 2005 14:08
Command Usage Report
Cumulative Statistics for All Selected Virtual Testers and Scripts
Active Time: 2106.6 secsInactive Time: 386.1 secs
Passed Commands: 7850 Average Throughput: 223.59 cmds/min
Failed Commands: 0 Average Throughput: 0.00 cmds/min
Passed Responses: 7850 Average Throughput: 223.59 resps/min
Failed Responses: 0 Average Throughput: 0.00 resps/min
Time Spent Waiting: 97.2 seconds => 4.6%
Time Spent in Input: 0.0 seconds => 0.0%
Time Spent Thinking: 2009.4 seconds =>95.4%
Passed HTTP Connections: 250 Passed Connections/Min: 7.1
Failed HTTP Connections: 0 Avg Connect Setup Time: 18 ms
HTTP Sent Kbytes: 3165 HTTP Sent KBytes/Sec: 1.5
HTTP Received Kbytes: 6893 HTTP Recv KBytes/Sec: 3.3
Sent Kbytes/Connection: 12.7 Recv Kbytes/Connection: 27.6
Summary Statistics
Duration of Run: 45.8 seconds (00:00:45.8)
Summary Statistics for Selected Virtual Testers and Scripts:
Passed Commands: 7850 Total Throughput: 10273.97 cmds/min
Failed Commands: 0 Total Throughput: 0.00 cmds/min
Passed Responses: 7850 Total Throughput: 10273.97 resps/min
Failed Responses: 0 Total Throughput: 0.00 resps/min
Number of Virtual Testers: 50 Number of stop_time Cmds: 0
Number of Completed Scripts: 50 Number of Uncompleted Scripts: 0
Average Number of Scripts Completed per Virtual Tester: 1.0 scripts
Average Duration for Completed Scripts: 42.1 seconds
Script Throughput for Completed Scripts: 3926.4 scripts/hour 晕,海龙斑竹是问你,添加成功和添加失败服务器返回的数据是不是一样的,对你来说就是有2条添加成功了,有48条失败了
数据库肯定和网页上显示的一样啊,网页上就是从数据库读出来的,要是不一样那你们的产品就有大问题了
建议做性能测试之前先搞清楚计算机基本知识
页:
[1]