mountebank
mountebank copied to clipboard
Allow fault simulation
From https://groups.google.com/g/mountebank-discuss/c/0rKCOYvP5yk/m/8fvNzZdgAAAJ?pli=1:
Is it possible to simulate faults with mountebank?
I know it has 'wait' behaviour but what about garbled response, dropped connections etc? Wiremock provides this functionality (http://wiremock.org/docs/simulating-faults - see the Bad responses section at the bottom) but we need to use TCP protocol for a lot of our imposters, which Wiremock doesn't support.
This is a nice idea and I'm looking forward to seeing it gets implemented. Especially something like global wait/delay as responses don't come back immediately. Mountebank does a great job to help us verify the functionality without dependencies, however, we seem to move away from some of the faults scenarios.