h2spec
« Back to VersTracker
Description:
Conformance testing tool for HTTP/2 implementation
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: http2 testing conformance rfc7540 protocol
Install: brew install h2spec
About:
H2spec is a conformance testing tool designed to verify the compliance of HTTP/2 implementations with the protocol specification. It runs a suite of automated test cases to identify protocol violations and ensure robust interoperability. This tool is essential for developers building or maintaining HTTP/2 servers and clients.
Key Features:
  • Automated test execution against RFC 7540
  • Detailed reporting of compliance failures
  • Support for both HTTP/2 over TLS and cleartext
  • Command-line interface for easy integration
Use Cases:
  • Validating custom HTTP/2 server implementations for RFC compliance
  • Debugging interoperability issues between clients and servers
  • Performing regression testing during HTTP/2 stack updates
Alternatives:
  • nghttp2 – nghttp2 is a comprehensive HTTP/2 library that includes a client, server, and testing tools, whereas H2spec focuses specifically on conformance testing.
  • curl – curl is a versatile data transfer tool that can be used for manual HTTP/2 testing but lacks the automated, spec-driven test suite of H2spec.
Version History
Detected Version Rev Change Commit
Sep 12, 2025 3:00pm 0 VERSION_BUMP 7a29836f
Sep 13, 2024 4:18pm 0 VERSION_BUMP 958f9d3f