Good testing of components in an enterprise system is critical and with increased emphasis on service-based separation and deployment automation—critical factors for success with microservices—better tooling in this space is needed. The industry term “service virtualization” refers to tools that can emulate specific components in such an environment. We have seen great success with Mountebank, a lightweight tool for stubbing and mocking HTTP, HTTPS, SMTP and TCP.
When testing services, we commonly need to stub out downstream collaborating services. Written by a Thoughtworker, Mountebank is a lightweight service which you can configure via HTTP that is capable of stubbing and mocking HTTP, HTTPS, SMTP and TCP.