Apache自带的ab压力测试工具用法详解
作者:网络转载 发布时间:[ 2015/1/23 11:48:34 ] 推荐标签:Apache 压力测试工具
下面是我使用ab.exe 测试新浪一个页面的结果:
C:Users
ickyjfDesktopuseful>ab -n1000 -c100 http://sports.sina.com.cn/k/2011-05-24/12095590365.shtml
This is ApacheBench, Version 2.3 <Revision:655654>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking sports.sina.com.cn (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: Apache/2.0.63
Server Hostname: sports.sina.com.cn
Server Port: 80
Document Path: /k/2011-05-24/12095590365.shtml
Document Length: 86680 bytes
Concurrency Level: 100
Time taken for tests: 66.453 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 87135790 bytes
HTML transferred: 86680000 bytes
Requests per second: 15.05 [#/sec] (mean)
Time per request: 6645.294 [ms] (mean)
Time per request: 66.453 [ms] (mean, across all concurrent requests)
Transfer rate: 1280.51 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 56 398.3 2 3003
Processing: 89 6331 2603.7 6293 14626
Waiting: 2 1748 1485.9 1590 6284
Total: 90 6388 2615.0 6302 14627
Percentage of the requests served within a certain time (ms)
50% 6302
66% 7121
75% 8435
80% 9193
90% 9231
95% 9385
98% 11549
99% 12459
14627 (longest request)
|
3 apache的ab工具也算是一种ddos攻击工具
本文内容不用于商业目的,如涉及知识产权问题,请权利人联系SPASVO小编(021-61079698-8054),我们将立即处理,马上删除。
相关推荐
apache性能测试工具Linux下使用Apache搭建Git服务器压力测试工具ab(Apache Bench)的使用Linux源码安装apache与常见错误解决Linux系统配置Apache虚拟主机实例PHP使用Apache中的ab测试网站的压力性能Linux(CentOS)下的apache服务器配置与管理TP配置apache下Rewrite模式LoadRunner监控ApacheApache安装配置管理网站性能测试工具?ApacheBenchJava发邮件:Java Mail与Apache MailApache Jmeter发送post请求Apache搭建HTTPS Virtual Host试用Apache/Nginx反向代理多个Web应用ApacheBench测试性能并使用GnuPlot绘制图表
更新发布
功能测试和接口测试的区别
2023/3/23 14:23:39如何写好测试用例文档
2023/3/22 16:17:39常用的选择回归测试的方式有哪些?
2022/6/14 16:14:27测试流程中需要重点把关几个过程?
2021/10/18 15:37:44性能测试的七种方法
2021/9/17 15:19:29全链路压测优化思路
2021/9/14 15:42:25性能测试流程浅谈
2021/5/28 17:25:47常见的APP性能测试指标
2021/5/8 17:01:11热门文章
常见的移动App Bug??崩溃的测试用例设计如何用Jmeter做压力测试QC使用说明APP压力测试入门教程移动app测试中的主要问题jenkins+testng+ant+webdriver持续集成测试使用JMeter进行HTTP负载测试Selenium 2.0 WebDriver 使用指南