🚀 Minor release which features a bunch of bug fixes.
bombardierdoes not checks hostname plausibility when it shouldn't, thus allowing URLs like
- 🛠 the correct way to set
fasthttphave been pointed out by @nielsole (#41). This also fixes an old bug, previously deemed unresolvable (#17);
- 🐛 bug in
fasthttpthat haven't allowed some valid use cases has been fixed (see #38 for details).
🆕 New in v1.2
--no-printflags were implemented (as per #25). Read more about usage in GoDoc. In short, you can now choose what to output (a combination of
(intro, progress and results)or
- 👉 user-defined output templates. Thorough documentation can be found here. There are also two builtin templates, that you can look at as an example;
- 95-th percentile were added by @salmonz (per suggestion from #28).
- 🛠 A bug reported in #27 were fixed;
- 🛠 It turned out (thanks to #32) that Go's
net/httpused chunked transfer encoding when it wasn't supposed to. This is now fixed.
🍱 To all the people who shared links to this tool, wrote (blog)posts about it, reported bugs, sent PRs or otherwise contributed to this project. And even more praise goes to those who will continue to do so. 🎉
🆕 New in v1.1
- Rate limiting:
Now you can limit RPS by specifying desired upper limit. This is done via
- Switchable client:
0️⃣ You can choose between
fasthttp's and Go's default HTTP client. Relevant flags are:
fasthttp's implementation of HTTP client (default)
--http1— Go's HTTP client with HTTP/2.x disabled
--http2— Go's HTTP client that will use HTTP/2.x, whether it's possible
- Body from file:
In some (most? many?) cases it's super inconvenient to paste request's body into the console, so now you can use
-f) flag to read it from file or add
-s) flag to stream it from file system.
- ⏱ Stats implementation has been reworked. This allows use of higher values for
--timeout(previously only 10s — max). Also, you can check out new implementation's repo in case you need a goroutine-safe histogram. It's a bit rough, but usable.
Spread the word
🚀 If you like the tool I've built (with a little bit of help from @husobee) or this release in particular, feel free to share information about it (via reddit/Twitter/
<other social media>post or in private conversation with a friend, anything will do really) or submit bug/feature request or a pull request. This will help me better understand how people use my tool, what issues they are encountering and how we could improve things.
- Rate limiting:
- 🛠 fixed bug with fields alignment that led to crashes on ARM and x86-32.
- 🛠 fixed rounding errors that led to a minor loss of precision in stats.