# httpexpect

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


Source: https://findsoftware.frbit.cloud/httpexpect/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- repository: https://github.com/gavv/httpexpect
- docs: https://pkg.go.dev/github.com/gavv/httpexpect/v2
- discord: https://discord.gg/5SCPCuCWA9
- forum: https://github.com/gavv/httpexpect/discussions

### Identity

- status: active
- maintainer: Victor Gaydov
- maintainerType: individual
- parent: unknown
- firstRelease: 2019
- hqCountry: unknown

### Kind

- category: testing
- hosting: not applicable
- language: go
- runtime: binary
- runtimeMin: not applicable
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: unknown

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 2
- latestReleaseDate: 2025-03-04

### Adoption

- githubStargazers: 2723
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 72
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://api.github.com/repos/gavv/httpexpect (read 2026-11-16)
- urls: https://raw.githubusercontent.com/gavv/httpexpect/master/README.md (read 2026-11-16)
- category: https://raw.githubusercontent.com/gavv/httpexpect/master/README.md (read 2026-11-16)
- language: https://api.github.com/repos/gavv/httpexpect (read 2026-11-16)
- runtime: https://raw.githubusercontent.com/gavv/httpexpect/master/README.md (read 2026-11-16)
- license: https://raw.githubusercontent.com/gavv/httpexpect/master/LICENSE (read 2026-11-16)
- maintainer: https://raw.githubusercontent.com/gavv/httpexpect/master/LICENSE (read 2026-11-16)
- currentMajor: https://api.github.com/repos/gavv/httpexpect/releases/latest (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/gavv/httpexpect/releases/latest (read 2026-11-16)
- firstRelease: https://api.github.com/repos/gavv/httpexpect/commits/v1.0.0 (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/gavv/httpexpect (read 2026-11-16)
- contributors: https://api.github.com/repos/gavv/httpexpect/contributors (read 2026-11-16)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
