标题: 今天用web application stress对网页进行了下压力测试 看不懂报告,请大家帮忙解答下 [打印本页] 作者: zhangyuan1986 时间: 2009-12-23 09:12 标题: 今天用web application stress对网页进行了下压力测试 看不懂报告,请大家帮忙解答下 Overview
================================================================================
Report name: 2009-12-22 16:15:49
Run on: 2009-12-22 16:15:49
Run length: 00:19:09
Web Application Stress Tool Version:1.1.293.1
Number of test clients: 1
Number of hits: 38885
Requests per Second: 43.25
Socket Statistics
--------------------------------------------------------------------------------
Socket Connects: 41465
Total Bytes Sent (in KB): 9281.75
Bytes Sent Rate (in KB/s): 10.32
Total Bytes Recv (in KB): 19524.57
Bytes Recv Rate (in KB/s): 21.72
Script Settings
================================================================================
Server: 172.16.96.133
Number of threads: 500
Test length: 00:15:00
Warmup: 00:02:00
Cooldown: 00:02:00
Use Random Delay: Yes
Min Delay Time: 20
Max Delay Time: 40
Follow Redirects: Yes
Max Redirect Depth: 15
Clients used in test
================================================================================
localhost
Clients not used in test
================================================================================
Result Codes
Code Description Count
================================================================================
200 OK 400
400 Bad Request 8004
500 Internal Server Error 357
503 Service Unavailable 974
NA HTTP result code not given 29150
Page Summary
Page Hits TTFB Avg TTLB Avg Auth Query
================================================================================
POST /pressure_deal.jsp 38885 3103.20 3103.64 No No作者: msnshow 时间: 2009-12-23 13:32
不明白楼主是哪些地方看不明白作者: zhangyuan1986 时间: 2009-12-23 14:07 标题: 回复 2# 的帖子 我设置的参数是500个线程,我参考网上的一些参数设置,不过我不知道为何有38885多的点击量。这些点击量可以自行设定吗?还是随机的?Socket Errors
--------------------------------------------------------------------------------
Connect: 431
Send: 0
Recv: 28217
Timeouts: 2580
这个链接431错误表示什么呢?作者: 云层 时间: 2009-12-23 15:15
点击量是用户按照一定的周期执行,最后统计得到的数据
connect431是指客户连接了431次应该是作者: zhangyuan1986 时间: 2009-12-23 15:26 标题: 回复 4# 的帖子 500个进程表示500台客户机链接 那么是不是表示有431次是链接失败的呢?作者: dennyqiang 时间: 2009-12-24 09:12
Result Codes
Code Description Count
================================================================================
200 OK 400
400 Bad Request 8004
500 Internal Server Error 357
503 Service Unavailable 974
NA HTTP result code not given 29150
从这一段内容可以看出,楼主的测试脚本估计有问题,导致这么多4xx, 5xx的错误,只有400个是http 200的正常状态,基本可以断定,本次结果的测试数据不可用。作者: dennyqiang 时间: 2009-12-24 09:27
Number of hits: 38885
点击量跟虚拟用户数没有必然联系,点击量是发送请求的数量,如从服务器GET一张图片,一个JS文件,一个CSS文件或者一个HTML页面都是一个点击。