Skip to content

Golang语言实现的HTTP压测工具,类似ApacheBench

Notifications You must be signed in to change notification settings

danielzhou/goablite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goablite

Golang语言实现的缩减版HTTP压测工具,类似ApacheBench

名字很简单,go语言编写,类似ab,用的LiteIDE

使用方法:

myGoablite.exe -n=200 -c=10 -p=4 -u=http://www.baidu.com

参数:

-n:连接数
-c:并发数
-p:CPU数
-u:URL

输出:

Complete requests:成功建立连接的请求数
Failed requests:连接失败的请求数
UseTime:一共耗费的时间(s)
RPS:每秒完成的HTTP连接数(request per second)

整体开发过程博客记录: Go语言实现HTTP压测工具

About

Golang语言实现的HTTP压测工具,类似ApacheBench

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages