ghz vs GripMock
ghz
ghz.shGripMock
gripmock.orgSide by side
| Figure | ghz | GripMock |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | Yes | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 0 |
| Spec score · gRPC Tools | 8.7 (#2) | 7.7 (#16) |
| Integrations | The documentation includes prebuilt Grafana dashboards and describes InfluxDB output and use with Prototool. | The documentation lists a Model Context Protocol API, an official GitHub Actions integration, and OpenTelemetry trace export over OTLP. |
| License | The GitHub repository identifies the project license as Apache-2.0. | The project is released under the MIT License. |
| Purpose | ghz is a command line utility and Go package for load testing and benchmarking gRPC services, including local debugging and performance regression testing in automated CI environments. | GripMock is a mock server for gRPC services that serves responses defined in YAML or JSON without a backend. |
| Support | The site links to the guide, Go documentation, GitHub repository, and a community support link labeled “Say Thanks!”. | The documentation directs bug reports and questions to GitHub issues. |
Plans
In their own words
ghz
ghz is a command-line utility and Go package for load testing and benchmarking gRPC services, including local debugging and performance regression checks in CI. Tests can define a service with a.proto file, a compiled protoset bundle, or server reflection, and exercise unary, streaming, or duplex calls using JSON or binary data. Load schedules include constant, step, and linear request rates. Go templates can generate request data and metadata for each call using values such as worker ID, request number, method name, and timestamps. The CLI can emit summary, CSV, JSON, pretty JSON, HTML, Prometheus text exposition, and InfluxDB line protocol results. Documentation also covers InfluxDB output, Prototool, and prebuilt Grafana dashboards. The complementary ghz-web application is labeled beta; it stores reports in projects for viewing and comparison over time, and supports SQLite, MySQL, or PostgreSQL storage. It accepts reports through ingest endpoints. The project is identified as Apache-2.0 licensed. Installation options include prebuilt executables, Homebrew, and building from source. The CLI is listed at free; the web companion is beta.
GripMock
GripMock is a mock server for gRPC services that returns responses defined in YAML or JSON without requiring a backend. It supports unary, server-streaming, client-streaming, and bidirectional calls. Stubs can match request inputs and headers using rules such as equals, contains, matches, anyOf, and glob; dynamic templates can form responses from request payloads, headers, and stream position. Stubs can also return gRPC status errors or delayed responses for timeout testing. The web dashboard lists used and unused stubs and allows them to be created, edited, or deleted while the server runs. GripMock loads .proto files or compiled .pb descriptors, including descriptors supplied to a running server, and can start from a Buf Schema Registry module reference. Deployment options include Docker, release binaries, Homebrew, shell scripts, and Go; a Go SDK embeds it in a test process. It also supports native TLS, optional mutual TLS, OTLP traces, a /metrics endpoint, and MCP endpoints for AI agents. It is free and MIT-licensed.