1、 03051235 姓名: 陆义良 地点: E- 508 时间: 2008年5月16日 实验目的:一、理解web压力测试概念二、熟练运用WAS (web application stress tool)软件进行web 压力测试实验内容:一、WAS软件安装二、设计测试方案三、使用WAS软件进行测试四、分析测试报告,寻找被测网站的最大负载量实验设备:一、WAS软件二、联网的计算机脚本报告:脚本1报告:Overview=Report name: 2008-5-16 16:01:08Run on:Run length: 00:24:13Web Application Stress Tool Versi
2、on: of test clients: 1Number of hits: 11899Requests per Second: Socket Statistics-Socket Connects: 12310Total Bytes Sent (in KB):Bytes Sent Rate (in KB/s):Total Bytes Recv (in KB):Bytes Recv Rate (in KB/s):Socket ErrorsConnect: 49332Send: 0Recv: 46Timeouts: 20RDS ResultsSuccessful Queries:Script Set
3、tingsServer: of threads: 500Test length:22:00Warmup:Cooldown:Use Random Delay: NoFollow Redirects: YesMax Redirect Depth: 15Clients used in testlocalhostClients not used in testResult CodesCode Description Count 200 OK 11897 NA HTTP result code not given 2 Page SummaryPage Hits TTFB Avg TTLB Avg Aut
4、h Query GET / 5955 No No GET / 5944 No No 脚本2 报告:34:2412 123235 123283 3426 1781920:200 OK 105414 500 Internal Server Error 2 NA HTTP result code not given 17819 GET / 61879 No No GET / 61356 No No 脚本3 报告: 2008-5-16 17:06:2107 67632 67585 15995 170200 OK 67462 NA HTTP result code not given 170 GET / 11267 No No GET / 11257 No No GET / 11293 No No GET / 11292 No No GET / 11270 No No GET / 11253 No No 附录:脚本3截图心得体会:进行压力测试是指实际破坏一个Web应用系统,测试系统的反映。压力测试是测试系统的限制和故障恢复能力,也就是测试Web应用系统会不会崩溃,在什么情况下会崩溃。黑客常常提供错误的数据负载,直到Web应用系统崩溃,接着当系统重新启动时获得存取权。