3 ms·
Yes, that's exactly what you'd want Mockttp for. It's a Node.js library, so you'd need a Node container and a little script to configure it. Mockttp can spin u
by pimterry 7y ago
Yes, that's exactly what you'd want Mockttp for.
It's a Node.js library, so you'd need a Node container and a little script to configure it. Mockttp can spin up an HTTP/HTTPS proxy configured to pass through traffic in a couple of lines, and from there you can add any other mocking rules you want (the Mock tab here is really just a UI over this) and you can subscribe to requests/responses/whatever and report that data elsewhere in any form you'd like (that's where all the data shown in the View tab here comes from).
The details get more complicated of course, but it's definitely possible.