GoosyMock¶
GoosyMock is a configurable test service for mocking HTTP responses, featuring SSL support, dedicated administration API and custom payloads (binary files that can be served on particular routes). It's also prepared for Kubernetes deployments (Helm chart), making it easy to adapt and use.
This project is successor to GPTS and was initially meant to be an improvement over existing solution by introducing new internal architecture, better approach for serving custom content and overall improvements to both code's and repository's structure. Changes turned out to be hard to apply, which led to rewriting whole source code from scratch.
Features¶
- Dynamic default response for non-configured paths
- Declarative configuration
- Support for
YAML
andJSON
configuration formats - Support for method-specific responses per each route (
GET
,POST
,PUT
,PATCH
,DELETE
) - Support for wildcards (
*
) in routes' paths - Support for custom payloads (that can be uploaded, reused, updated and deleted)
- Well-documented administration API (OpenAPI specification included)
- Support for
- Docker support
- Based on latest Google's
distroless
image - Small size (≈ 20MB)
- Running in rootless mode
- Based on latest Google's
- Kubernetes support
- Helm chart available
- Rootless container image
- All settings configurable via chart values
- Support for Ingress controllers
Last update:
2023-01-27