h2spec is a conformance test tool for HTTP/2 server.
This tool supports draft-ietf-httpbis-http2-16.
Go to the releases page, find the version you want, and download the zip file.
- Make sure you have go 1.4 and set GOPATH appropriately
- Run
go get github.com/bradfitz/http2
- Run
cd cmd && go build
$ h2spec --help
Usage: h2spec [OPTIONS]
Options:
-p: Target port. (Default: 80)
-h: Target host. (Default: 127.0.0.1)
-t: Connect over TLS. (Default: false)
-k: Don't verify server's certificate. (Default: false)
--help: Display this help and exit.