an experimental Command Line performance testing tool
for your services. What this means, this tool
will run concurrently againts your service.
- Better code
- Writing test
- Better output
- build from source
$ go get github.com/Bhinneka/gubrak
$ go install github.com/Bhinneka/gubrak/cmd/gubrak
- create
config.json
file with signature like this:
{
"url": "http://example.com",
"headers": {
"Authorization": "Basic exnfekeoeoeojsjalaljahhd",
"Content-Type": "application/json",
"Accept": "application/json"
},
"payload": {
"from": "Bob",
"content": {
"header": "This is Message 3",
"body": "Hello There"
}
}
}
- run
gubrak
./gubrak -m get -c /Users/wurianto/Documents/config.json -u https://jsonplaceholder.typicode.com/posts
-m
(defaultGET
) HTTP method, example-m POST
or-m post
-r
(default10
) Size of Concurrentrequest
, example-r 1000
-c
config.json
(defaultconfig.json
) location, example-c /Users/wurianto/Documents/config.json
-u
URL full with path
(default inconfig.json
), example-u https://jsonplaceholder.typicode.com/posts
-h
showHelp
, example./gubrak -h
Wuriyanto musobar https://github.com/wuriyanto48