|
开发同事就告诉我要测试1万个用户并发,不管测哪个功能,我就选择了最简单的登录,考虑到数据库里的用户较多,并且用户还有约束条件才可以登录的,太麻烦了,我就选了20个用户作为登录的参数,这种情况如何能测出1万用户的并发效果呢,一下是一个用户运行的结果:
Maximum Running Vusers: 1
Total Throughput (bytes): 861,765
Average Throughput (bytes/second): 35,907
Total Hits: 75
Average Hits per Second: 3.125
Transaction Name SLA Status Minimum Average Maximum Std. Deviation 90 Percent Pass Fail Stop
Action_Transaction 11.729 11.729 11.729 0.001 11.729 1 0 0
login 11.714 11.714 11.714 0.001 11.714 1 0 0
vuser_end_Transaction 0.297 0.297 0.297 0 0.297 1 0 0
vuser_init_Transaction 10.061 10.061 10.061 0.001 10.061 1 0 0
HTTP Responses Total Per second
HTTP_200 70 2.917
HTTP_302 5 0.208 |
|