Crates.io | goku |
lib.rs | goku |
version | 0.1.1 |
source | src |
created_at | 2019-11-10 15:07:37.497175 |
updated_at | 2019-11-13 14:56:19.298701 |
description | goku is a HTTP load testing application written in Rust |
homepage | |
repository | https://github.com/k-nasa/goku |
max_upload_size | |
id | 179945 |
size | 57,666 |
goku is a HTTP load testing application written in Rust
(This is inspired by vegeta!)
Get them here
brew install k-nasa/tap/goku
cargo install goku
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
goku 0.1.0
goku is a HTTP load testing application written in Rust
USAGE:
goku [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
help Show help
kamehameha Run load test [aliases: attack]
Send 10,000 requests to 127.0.0.1:8080 in 10 parallel (There is an attack alias because hitting 'kamehameka' is awkward.)
goku kamehameha -c 10 -n 10000 'http://127.0.0.1:8080'
# or goku attack -c 10 -n 10000 'http://127.0.0.1:8080'
Output in json and text is possible. When combined with jq, the display can be made beautiful.
goku kamehameha -c 10 -n 10000 'http://127.0.0.1:8080' -o json | jq .
{
"errors": [],
"concurrency_level": 10,
"time_taken_test": {
"secs": 2,
"nanos": 209216142
},
"complete_requests": 10000,
"failed_requests": 0,
"total_transferred": 1290000,
"total_time": {
"secs": 22,
.
.
.