mz

压力测试工具收集

siege (推荐)

linux系统直接使用yum(apt-get)下载

用法:
siege -r 重复次数 -c 用户数 访问的网址
例:siege -r 10 -c 100 https://www.mzblogg.com

##默认最多255yonhu用户 可以去用户根目录下的.siege/siege.conf修改
cd ~ 到home下 
ls -a 
cd .siege/ 
vim siege.conf 

 

 

#apache ab
yum install apr-util

ab -n 100 -c 10 http://test.com/
通过abs对https进行测试

 

#webench
wget http://blog.zyan.cc/soft/linux/webbench/webbench-1.5.tar.gz
tar zxvf webbench-1.5.tar.gz
cd webbench-1.5
make && make install

#wrk
Modern HTTP benchmarking tool
https://github.com/wg/wrk

#gatling
Async Scala-Akka-Netty based Load Test Tool http://gatling.io
https://github.com/gatling/gatling

#sniper
A powerful & high-performance http load tester
https://github.com/btfak/sniper

#hey
HTTP load generator, ApacheBench (ab) replacement, formerly known as rakyll/boom
https://github.com/rakyll/hey

#Siege
Siege is an http load tester and benchmarking utility
https://github.com/JoeDog/siege

#http_load
http_load runs multiple http fetches in parallel, to test the throughput of a web server.
http://www.acme.com/software/http_load/

#vegeta
HTTP load testing tool and library. It’s over 9000!
https://github.com/tsenart/vegeta/

#t50
mixed packet injector tool
https://github.com/fredericopissarra/t50

#tcpcopy
An online request replication tool, also a tcp stream replay tool, fit for real testing, performance testing, stability testing, stress testing, load testing, smoke testing, etc
https://github.com/session-replay-tools/tcpcopy

#gryphon
Gryphon是由网易自主研发的能够模拟千万级别并发用户的一个软件,目的是能够用较少的资源来模拟出大量并发用户,并且能够更加真实地进行压力测试, 以解决网络消息推送服务方面的压力测试的问题和传统压力测试的问题。Gryphon分为两个程序,一个运行gryphon,用来模拟用户,一个是 intercept,用来截获响应包信息给gryphon。Gryphon模拟用户的本质是用一个连接来模拟一个用户,所以有多少个连接,就有多少个用户,而用户的素材则取自于pcap抓包文件。值得注意的是,Gryphon架构类似于tcpcopy,也可以采用传统使用方式和高级使用方式。
https://github.com/wslfa/gryphon

码字很辛苦,转载请注明来自明志博客《压力测试工具收集》

评论