- Added new
proxyTransparentproxy mode to allow proxying without saving responses.
- Support binding to a specific host using the
--hostcommand line parameter
- Support recording requests per imposter instead of the global
--mockcommand line flag. See the protocol pages for docs; you set the
recordRequestsfield to true.
- Migrated the public site to HTTPS to avoid upcoming Chrome annoyances.
- Fixed confusing documentation describing the difference between
deepEqualsfor predicates with arrays
- Better deep linking within docs to accordion sections
- Fixed documentation of
defaultResponsewithin each protocol page
Many thanks to the following kind folks for help with this release, either through bug reports, suggestions, or direct code contributions:
- Diogo Moura
- Tomas Bezdek
- Prasanna Venkatesan
- Sean Hussey
npm install -g email@example.com
|Simply unpack and run
mb from inside
/usr/local/bin, which is generally in the
|source tarball if you roll that way.
Windows path limitations
*mountebank wishes very much for your Windows experience to be hassle-free, but he is simply not qualified to address a particular constraint of Windows Explorer. For legacy reasons, some Windows applications, including most notably Windows Explorer, have a maximum number of characters allowed in a path of 260 characters. As mountebank writes these words, the longest path he includes in the zip files is around 175 characters. The zip file name, which is likely to represent itself as two nested directories if you use the defaults to unzip it, will be around 25 characters. That gives you very little wiggle room. If you unzip the file in your users directory, you may very likely get an error because of this constraint.
The following solutions will all work:
- Unzip to the root of your C: drive (or a similar small path)
- Use 7zip to unzip the file instead of Windows Explorer
npmto install mountebank instead of the zip file