标签:site copyright webbench ges new root install enc tar zxvf
1.WebBenchWebBench使用:
webbench -c 1000 -t 60 http://192.168.80.157/phpinfo.php
webbench -c 并发数 -t 运行测试时间 URL
Apache测试实例结果:
当并发300时,
root [ ~ ]# webbench -c 300 -t 60 http://192.168.80.157/phpinfo.php
Webbench - Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.
Benchmarking: GET http://192.168.80.157/phpinfo.php
300 clients, running 60 sec.
Speed=24525 pages/min, 20794612 bytes/sec.
Requests: 24525 susceed, 0 failed.
每秒钟响应请求数:24525 pages/min,每秒钟传输数据量20794612 bytes/sec.
2.ApacheBench
ab -n 4000 -c 1000 http://www.ha97.com/
-n后面的4000代表总共发出4000个请求;-c后面的1000表示采用1000个并发(模拟1000个人同时访问),后面的网址表示测试的目标URL。
https://www.oschina.net/news/21033/12-free-online-tools-for-website-testing
3.ngrinder
4.jmeter
标签:site copyright webbench ges new root install enc tar zxvf
原文地址:http://blog.51cto.com/10884109/2315768