Alex 是基于 vegeta library 和 boom 封装的压力测试 web UI 。 Vegeta 提供稳定的 qps 压力源, boom 提供稳定的并发数压力源。
github 地址 https://github.com/ireaderlab/alex

install mongodb
install golang  # 1.4+ is required
go get github.com/go-martini/martini
go get github.com/tsenart/vegeta
go get gopkg.in/mgo.v2
go get github.com/shirou/gopsutil
# godep restore
git clone https://github.com/shellquery/alex.git
cd alex
go build
./alex
./alex -c config.json
open browser
http://localhost:8000/
{
    "BindAddr": "localhost:8000",
    "MongoUrl": "mongodb://localhost:27017/alex",
    "Teams": [
        "python",
        "java",
        "php",
        "go"
    ]
}
 
 
 

|  |      1ryd994      2016-05-18 12:07:07 +08:00 via Android 和 shell 脚本+ab 相比,有什么优势? | 
|  |      2shellquery OP 不用写代码,团队成员所有人都可以直接用浏览器就可以使用,算是能解放点生产力吧 | 
|  |      3shellquery OP 每次压测都会生成压测报告,拿报告的链接贴给他人,就可以分享压测报告了 | 
|  |      4julor      2016-05-19 13:41:08 +08:00 via Android 挺好 | 
|      5limengwei      2016-05-22 13:40:50 +08:00 滋磁 | 
|  |      6luw2007      2016-06-21 20:50:09 +08:00 赞一个 |