robin
A little tool I made as an exercise, kind of ripping off https://github.com/davecheney/httpstat
Installation
robin requires Go 1.7 or later.
$ go get -u github.com/stefansinca/robin
Usage
$ robin https://example.com/
Default output
$ robin https://example.com
Target: example.com IP: 93.184.216.34, 2606:2800:220:1:248:1893:25c8:1946
Timestamp: Wed Sep 12 12:06:32 EEST 2018
Status: 200 OK
DNS Lookup: 9ms
TCP Connection: 126ms
TLS Handshake: 366ms
Server Processing: 122ms
Time To First Byte: 623ms
Total: 624ms
Request Headers:
Accept:*/*
Connection:close
User-Agent:RoundRobin
Features
- Set HTTP request headers, e.g.
-H "Field:Value" - Set HTTP request method, e.g.
-X "GET" - Set HTTP request body, e.g.
-B "All your base are belong to us" - Response header and body are discarded by default, but you can turn them on
using
-bfor body and-hfor header - Print as JSON using
-j