01-planetoid

command module
v0.0.0-...-14a3235 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 1 Imported by: 0

README

Load testing

I used Hey

url_api="http://localhost:8080"
data='{"name":"Bob"}'

hey -n 10000 -c 1000 -m POST -T "Content-Type: application/json" -H "rwaapi_token:tada" -H "rwaapi_data:hello world" -d ${data} "${url_api}"

url_api="http://localhost:8080"
data='Bob'
hey -n 10000 -c 1000 -m POST -d ${data} "${url_api}"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL