boomer
boomer copied to clipboard
A better load generator for locust, written in golang.
执行1:go get github.com/myzhan/boomer@master 执行2:go get -u github.com/myzhan/boomer 执行3:go get github.com/myzhan/[email protected] 以上,无法获取boomer的1.6.1 希望您可以重新,加一个版本,非常感谢
目前使用boomer时,会在一个常驻的后台服务里面去进行调用,在服务接收到压测请求之后,会生成 boomer 实例对象,类似于: `testingBoomer := boomer.NewBoomer(host, port)` 然后在每一轮压测,使用 run 和 quit 方法用于不断执行用例,并且根据locust 的 rps 结果调整并发数以获取服务端更高的 rps: `testingBoomer.Run(task)` `testingBoomer.Quit()` 然而不论在使用 gomq 还是 goczmq,都可以发现在每次执行 Run() 和 Quit() 之后,通过 runTime 监控到协程数量会随着每一轮的压测加一个: 由于压测逻辑是基于一个后台稳定服务进行运行的,除了直接 kill...
Messages from master are published as events that can be subscribed to. Spawning behavior is fixed. Previously, at each spawning interval Boomer would stop all users and spawn all new...
This MR implements a new `RecordTransaction` API to record transactions, and output accumulated number of passed/failed transactions in console output and PrometheusPusherOutput. In the console output, it will print `Accumulated...
**Describe the bug** When running in standalone mode, the ConsoleOutput will print each (method, name) group's current RPS. And I found that the data is not accurate. The report interval...
**Description** I update the version of `boomer` from `1.6.0` to the `latest` version on master. I noticed that now the `data` of boomer during a `OnEvent` always returns the number...
locust master 停止的时候出现了个 panic,大佬来处理一下吗? ``` 16:14:15 client_gomq.go:72: runtime error: index out of range goroutine 67 [running]: runtime/debug.Stack(0xc000084000, 0x2, 0xc00021e0c0) /usr/local/go/src/runtime/debug/stack.go:24 +0xa7 runtime/debug.PrintStack() /usr/local/go/src/runtime/debug/stack.go:16 +0x22 github.com/myzhan/boomer.(*gomqSocketClient).recv.func1() /Users/yuongID/go/pkg/mod/github.com/myzhan/[email protected]/client_gomq.go:73 +0x94 panic(0x98d220, 0xeb98d0) /usr/local/go/src/runtime/panic.go:513...
**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Standalone mod 运行, 2.设置globalBoomer.AddOutput(boomer.NewConsoleOutput()) **Expected behavior** A clear and...
[2022-09-12 18:48:02,857] wei/INFO/locust.main: Starting web interface at http://0.0.0.0:8089 (accepting connections from all network interfaces) locust init event received [2022-09-12 18:48:02,865] wei/INFO/locust.main: Starting Locust 2.12.0 [2022-09-12 18:48:09,062] wei/ERROR/locust.runners: An old (pre...