Record & Replay proxy.
$ git clone https://github.com/y2k2mt/replay && cd replay
$ make clean && make install
Recording
$ replay -r http://your-awesome-api
...
$ curl localhost:8899/endpoint
Hello # Record and return a response from the real server.(http://your-awesome-api/endpoint)
Replaying(Work as a mock server)
$ replay -R http://your-awesome-api
...
$ curl localhost:8899/endpoint
Hello # Answering from 'replay' server.
- Ideomatic refactor
- More flexible condition matching
- Support more protocol (Implements by pure TCP API)
- Condition editor UI
- Fork it (https://github.com/y2k2mt/replay/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- y2k2mt - creator and maintainer