mountebank icon indicating copy to clipboard operation
mountebank copied to clipboard

Allow fault simulation

Open bbyars opened this issue 3 years ago • 2 comments

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.

bbyars avatar May 01 '21 20:05 bbyars

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.

tmhung-nt avatar Oct 17 '21 13:10 tmhung-nt

2.6 introduced faults - should this be closed now?

brunns avatar Jun 01 '22 12:06 brunns