Chapter 6. Programming mountebank
This chapter covers
- Matching requests even when none of the standard predicates do the trick
- Adding dynamic data to mountebank responses
- Making network calls to create a stub response
- Securing mountebank against unwanted remote execution
- Debugging your scripts within mountebank
Most developers have the experience of a tool or framework that makes solving a problem harder than it should be or outright impossible. A primary goal in mountebank is to keep things that should be easy actually easy, and to make hard things possible. Comprehensive default settings, predicates, and simple is responses enable you to solve easy problems with simple solutions. Support for certificates, JSON, XML, and proxies help you ...
Get Testing Microservices with Mountebank now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.