XXXXXX网站平台压力测试报告XXXXXX科技有限公司2013-11-251.测试项目1.1功能描述:XXXXXXXX网站平台压力测试是XXXXXX科技有限公司对XXXXXXXX网站平台服务器进行性能测试手段,通过模拟大批量用户的并发访问操作,从而可以预测系统在大量用户并发发访问操作的情况下,系统可以响应的时间及服务器资源占用等性能情况。
本文主要描述了对服务器进行性能压力测试的过程及结果。
本次测试主要关心的指标:●平均响应时间●总用时●服务器CPU利用率●内存占用等。
1.2系统压力强度估算系统响应时间判断原则如下:➢系统业务响应时间小于2-5秒,判为优秀,用户对系统感觉很好;➢系统业务响应时间在5-10秒之间,判为良好,用户对系统感觉一般;➢系统业务响应时间超过15秒,判断为一般,用户体验不佳。
2.测试环境:2.1 服务器端测试环境描述:硬件配置:(例如HP LXr 8500 Server双PIIIXeon/900 (2MB Cache)、4GB内存、2个36GB硬盘、磁带机、双网卡)软件配置:(例如Windows 2003 Server、Oracle10g、IIS5.1、.NET FRAMEWORK2.0等)2.2 客户端测试环境描述:DELL A840商务笔记本CPU:T1400 频率1.73GHz双核处理器内存:2G硬盘:120G计算机版本:WindowsXP SP32.3 网络测试环境描述:服务器和客户端用的是10M网络带宽。
3.测试工具微软Microsoft Web Application Stress Tool 1.1(W AS)主要思想是使用虚拟用户(Virtual users)来模拟实际用户对系统施加压力。
模拟图如下:Stress Level(threads)线程数:100Stress multiplier(sockets per)每个线程可以产生多少个请求:10 注:线程数乘以请求数等于并发数测试时间(Test Run Time):1分钟停止响应时间(Requst Delay):最小20 最大404.测试案例的测试结果:5000用户并发访问网站,正常。
以下为软件测试数据Overview================================================================= ===============Report name: 2013-2-17 11:56:09Run on: 2013-2-17 11:56:09Run length: 00:12:07Web Application Stress Tool Version:1.1.293.1Number of test clients: 1Number of hits: 90018Requests per Second: 149.99Socket Statistics--------------------------------------------------------------------------------Socket Connects: 94307Total Bytes Sent (in KB): 24256.93Bytes Sent Rate (in KB/s): 40.42Total Bytes Recv (in KB): 6838953.58Bytes Recv Rate (in KB/s): 11395.10Socket Errors--------------------------------------------------------------------------------Connect: 0Send: 0Recv: 0Timeouts: 4289RDS Results--------------------------------------------------------------------------------Successful Queries: 0Script Settings================================================================= ===============Server: 192.168.1.86Number of threads: 5000Test length: 00:10:00Warmup: 00:01:00Cooldown: 00:01:00Use Random Delay: NoFollow Redirects: YesMax Redirect Depth: 15Clients used in test================================================================= ===============localhostClients not used in test================================================================== ==============Result CodesCode Description Count================================================================= ===============200 OK 89970404 Not Found 48 Query================================================================= ===============Page SummaryPage Hits TTFB Avg TTLB Avg Auth Query================================================================= ===============GET / 461 347.05 980.28 No No GET /style/Style.css 379 398.73 680.53 No NoGET /style/css_navigation.css 349 328.34 328.39 No NoGET /style/lightbox.css 309 179.12 179.15 No NoGET /js/prototype.js 229 506.74 1129.94 No NoGET /js/scriptaculous.js?load= 219 130.24 130.29 No NoGET /js/effects.js 183 241.41 486.50 No NoGET /js/lightbox.js 160 306.23 594.94 No No GET /js/dialog.js 87 240.03 655.71 No No GET /images/img01.gif 62 189.74 189.97 No No GET /images/02.gif 58 114.90 157.19 No No GET /top.swf 43 100.81 777.53 No No GET /focus1.swf 41 136.59 207.73 No No GET /images/nav.jpg 40 116.53 116.53 No No GET /images/nav_line.gif 39 47.77 47.77 No No GET /images/button_02.gif 38 37.68 37.71 No No GET /file_adv/Image2/201121215 34 87.71 275.15 No No GET /images/gg_li.gif 33 44.33 44.36 No No GET /images/time.gif 33 147.24 147.33 No No GET /images/sub_top_bg.gif 29 26.52 26.52 No No GET /file_adv/Image2/201122113 28 24.89 24.93 No No GET /images/gg_top_01.gif 27 16.81 16.81 No No GET /images/jcyw_top.gif 27 20.00 20.00 No NoGET /js/roll_01.js 27 19.70 19.70 No No GET /file_adv/Image2/201121293 967 1203.48 36082.23 No No GET /images/tupian_16.gif 979 2292.06 3954.71 No No GET /file_adv/Image2/201112321 1024 1545.30 151315.98 No No GET /file_adv/Image2/201112321 1024 2188.11 8342.31 No No GET /images/tupian_17.gif 1023 1584.63 3202.64 No No GET /images/tupian_18.gif 1023 1556.58 2920.99 No No GET /images/xc_31.gif 1023 645.72 645.75 No No GET /file_adv/Image2/201010201 1021 1172.80 30403.47 No No GET /file_adv/Image2/201010201 1020 1507.81 30273.87 No No GET /file_adv/Image2/201010201 1020 1764.37 38776.38 No No GET /file_adv/Image2/201010201 1018 1762.05 40102.34 No No GET /file_adv/Image2/201010201 1015 1432.51 40474.84 No No GET /file_adv/Image2/201010201 1015 1403.48 19153.67 No No GET /images/lianjie.gif 1015 1472.28 2986.05 No No GET /images/yqlj02.gif 1015 1410.71 3029.36 No No GET /images/blank.gif 1015 1044.98 1045.00 No No GET /images/blank.gif 1014 1156.21 1156.23 No No GET /js/images/loading.gif 1014 1769.12 2677.42 No No GET /js/images/closelabel.gif 1014 1429.21 1429.24 No No GET /SuperviseNewsDetail.aspx? 1014 1269.45 3528.02 No No GET /style/style_Nav.css 1014 1424.87 2690.25 No No GET /images/bg.gif 1014 742.37 742.38 No No GET /top.swf 1013 1301.98 11723.37 No No GET /images/nav.jpg 1013 892.04 892.05 No No GET /images/nav_line.gif 1013 741.00 741.02 No No GET /images/gb.gif 1013 692.86 692.88 No No GET /images/time.gif 1012 704.56 704.59 No No GET /images/xc_90.gif 1012 792.64 792.67 No No GET /SuperviseNewsDetail.aspx? 1010 970.01 3123.37 No YesGET /style/style_Nav.css 1010 1660.15 3461.75 No No GET /images/gb.gif 1010 773.34 773.35 No No GET /images/bg.gif 1010 654.15 654.16 No No GET /top.swf 1010 1230.77 12477.92 No No GET /images/nav.jpg 1010 937.21 937.23 No No GET /images/nav_line.gif 1010 760.39 760.42 No No GET /images/xc_90.gif 1010 800.95 800.97 No No GET /images/time.gif 1010 932.98 933.02 No No GET /SuperviseNewsDetail.aspx? 1010 940.92 2739.47 No No GET /style/style_Nav.css 1010 1351.41 2809.51 No No GET /images/gb.gif 1009 944.90 944.91 No No GET /top.swf 1008 1417.48 13293.90 No No GET /images/bg.gif 1008 938.07 938.08 No No GET /images/nav.jpg 1008 728.75 728.77 No No GET /images/nav_line.gif 1008 706.45 706.46 No No GET /images/xc_90.gif 1008 803.84 803.87 No No GET /images/time.gif 1008 883.37 883.41 No No GET /SuperviseNewsDetail.aspx? 1008 855.70 2487.41 No Yes GET /style/style_Nav.css 1007 1342.35 2818.80 No No GET /images/bg.gif 1007 848.51 848.52 No No GET /top.swf 1006 1273.15 11717.80 No No GET /images/nav_line.gif 1006 665.11 665.12 No No GET /images/nav.jpg 1005 448.30 448.31 No No GET /images/gb.gif 1005 390.50 390.52 No No GET /images/xc_90.gif 1005 375.72 375.74 No No GET /images/time.gif 1005 378.66 378.68 No No GET /ReviewInfoList.aspx 1005 371.74 1280.44 No No GET /style/css_navigation.css 1005 585.16 585.20 No No GET /style/css.css 1005 726.55 726.58 No No GET /images/xc_30.gif 1005 661.42 661.45 No NoGET /images/sen_18.gif 1005 517.40 517.44 No No GET /images/sen_05.gif 1005 399.92 399.96 No No GET /images/shouye2_090.gif 1005 366.77 366.78 No No GET /images/myd_bg.gif 1005 364.63 364.66 No No GET /images/shouye2_09.gif 1004 374.49 374.53 No No GET /ReviewInfoList.aspx 1000 352.08 1104.20 No No GET /tousuNotice.aspx 989 413.67 1442.81 No No GET /images/sen_20.gif 984 370.53 376.12 No No GET /images/sen_19.gif 974 485.75 502.61 No No GET /images/xc_38.gif 969 366.36 366.37 No No GET /images/xc_47.gif 961 401.93 401.94 No No GET /images/xc_35.gif 955 387.67 387.68 No No GET /images/botton_newbg.gif 954 310.68 310.70 No No GET /tousu.aspx 952 384.19 1007.95 No No GET /js/uploadfile/uploadfile2 947 672.96 1199.17 No No POST /tousu.aspx 902 1121.16 2600.28 No No GET /toushucheck.aspx?toushuch 870 485.74 1564.67 No Yes GET /images/whan003.gif 851 503.88 504.15 No No GET /images/whan005.gif 752 292.13 292.17 No No GET /images/whan0043.gif 669 600.03 886.45 No No GET /ToushuSearch.aspx 572 689.51 2162.28 No No POST /ToushuSearch.aspx 526 730.04 1396.05 No No。