Skip to content
forked from summerwind/h2spec

The conformance test tool for HTTP/2 servers.

License

Notifications You must be signed in to change notification settings

jthackray/h2spec

 
 

Repository files navigation

h2spec

h2spec is a conformance test tool for HTTP/2 server.
This tool supports draft-ietf-httpbis-http2-16.

Install

Go to the releases page, find the version you want, and download the zip file.

Build

  1. Make sure you have go 1.4 and set GOPATH appropriately
  2. Clone this repo and move to the cloned repo directory
  3. Run go get github.com/bradfitz/http2
  4. Run go build cmd/h2spec.go

Usage

$ 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)
  -o:     Maximum time allowed for test. (Default: 3)
  -s:     Section number on which to run the test. (Example: -s 6.1 -s 6.2)
  --help: Display this help and exit.

Screenshot

Sceenshot

About

The conformance test tool for HTTP/2 servers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%