Parrot Server
A simple, high-performing mockserver that can dynamically build new routes with customized responses, parroting back whatever you tell it to.
Features
- Simplistic and fast design
- Run within your Go code, through a small binary, or in a minimal Docker container
- Easily record all incoming requests to the server to programmatically react to
Use
See our runnable examples in examples_test.go to see how to use Parrot programmatically.
Run
go run ./cmd
go run ./cmd -h
Test
make test
make test PARROT_TEST_LOG_LEVEL=trace
make test_race
make bench
Build
make goreleaser