A conformance testing tool for HTTP/2 implementation.
Перейти к файлу
Moto Ishizawa 88061c13ba Refactor packages 2017-01-22 23:58:37 +09:00
cmd/h2spec Implement JUnit Reporter 2017-01-22 23:58:37 +09:00
config Implement JUnit Reporter 2017-01-22 23:58:37 +09:00
http2 Refactor packages 2017-01-22 23:58:37 +09:00
log Refactor packages 2017-01-22 23:58:37 +09:00
reporter Refactor packages 2017-01-22 23:58:37 +09:00
spec Refactor packages 2017-01-22 23:58:37 +09:00
.gitignore Initialize 2014-08-29 14:17:08 +09:00
LICENSE Add LICENSE 2014-12-03 23:32:51 +09:00
Makefile Remove build step for 386 2016-04-10 21:38:52 +09:00
README.md Update usage section 2016-07-26 13:51:15 +02:00
glide.lock Refactor packages 2017-01-22 23:58:37 +09:00
glide.yaml Refactor packages 2017-01-22 23:58:37 +09:00
h2spec.go Refactor packages 2017-01-22 23:58:37 +09:00

README.md

h2spec

h2spec is a conformance testing tool for HTTP/2 implementation.
This tool is compliant with RFC 7540 (HTTP/2).

Install

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

Build

  1. Make sure you have go 1.5 and set GOPATH appropriately
  2. Run go get github.com/summerwind/h2spec/cmd/h2spec

It is also possible to build specific version.

  1. Make sure you have go 1.5 and set GOPATH appropriately
  2. Run go get gopkg.in/summerwind/h2spec.v1/cmd/h2spec

Usage

$ h2spec --help
Usage: h2spec [OPTIONS]

Options:
  -p:        Target port. (Default: 80 or 443)
  -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: 2)
  -s:        Section number on which to run the test. (Example: -s 6.1 -s 6.2)
  -S:        Run the test cases marked as "strict".
  -j:        Creates report also in JUnit format into specified file.
  --version: Display version information and exit.
  --help:    Display this help and exit.

Screenshot

Sceenshot