Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/y2k2mt/replay
Record and Replay proxy
https://github.com/y2k2mt/replay
mock-server test-automation web
Last synced: 29 days ago
JSON representation
Record and Replay proxy
- Host: GitHub
- URL: https://github.com/y2k2mt/replay
- Owner: y2k2mt
- License: mit
- Created: 2022-06-21T14:02:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-25T13:15:01.000Z (over 1 year ago)
- Last Synced: 2024-11-09T14:45:09.421Z (3 months ago)
- Topics: mock-server, test-automation, web
- Language: Crystal
- Homepage:
- Size: 139 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# replay
Record & Replay proxy.
## Installation
### From Sources
```console
$ git clone https://github.com/y2k2mt/replay && cd replay
$ make clean && make install
```## Usage
Recording
```console
$ 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)
```console
$ replay -R http://your-awesome-api
...
$ curl localhost:8899/endpoint
Hello # Answering from 'replay' server.
```## RoadMap
- Ideomatic refactor
- More flexible condition matching
- Support more protocol (Implements by pure TCP API)
- Condition editor UI## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request## Contributors
- [y2k2mt](https://github.com/y2k2mt) - creator and maintainer