FindSoftware

httpexpect

Go library for end-to-end HTTP and REST API tests, with chainable request builders and response assertions.

httpexpect is a testing library for Go that builds HTTP requests and checks their responses through chainable calls. A test sets the path, query, headers, cookies and a JSON, urlencoded or multipart body, then asserts on the status, headers, cookies and payload, including JSON paths and JSON Schema.

The library can talk to a server through a real HTTP client or call the Go handler directly. Failures are reported through the standard testing package or through testify.

Identity

Status
Active
Maintainer
Victor Gaydov3
Maintained by
Individual
First release
20195

Releases

Current major version
24
Last release
2025-03-044

Adoption

GitHub stars
2,7231
Contributors
726

Why these figures do not compare

Sources

  1. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/gavv/httpexpect
  2. 2026-11-16: links, Categories, Runtime
    raw.githubusercontent.com/gavv/httpexpect/master/README.md
  3. 2026-11-16: License, Maintainer
    raw.githubusercontent.com/gavv/httpexpect/master/LICENSE
  4. 2026-11-16: Current major version, Last release
    api.github.com/repos/gavv/httpexpect/releases/latest
  5. 2026-11-16: First release
    api.github.com/repos/gavv/httpexpect/commits/v1.0.0
  6. 2026-11-16: Contributors
    api.github.com/repos/gavv/httpexpect/contributors

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON