@mbtest/mountebank 2.9.2-beta.9050
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +94 -0
- package/bin/mb +136 -0
- package/package.json +71 -0
- package/releases.json +52 -0
- package/src/cli/api.js +112 -0
- package/src/cli/cli.js +420 -0
- package/src/controllers/configController.js +64 -0
- package/src/controllers/feedController.js +115 -0
- package/src/controllers/homeController.js +58 -0
- package/src/controllers/imposterController.js +328 -0
- package/src/controllers/impostersController.js +215 -0
- package/src/controllers/logsController.js +52 -0
- package/src/models/behaviors.js +553 -0
- package/src/models/behaviorsValidator.js +186 -0
- package/src/models/compatibility.js +133 -0
- package/src/models/dryRunValidator.js +261 -0
- package/src/models/filesystemBackedImpostersRepository.js +908 -0
- package/src/models/http/baseHttpServer.js +207 -0
- package/src/models/http/headersMap.js +87 -0
- package/src/models/http/httpProxy.js +230 -0
- package/src/models/http/httpRequest.js +82 -0
- package/src/models/http/httpServer.js +18 -0
- package/src/models/http/index.js +18 -0
- package/src/models/https/cert/mb-cert.pem +20 -0
- package/src/models/https/cert/mb-csr.pem +16 -0
- package/src/models/https/cert/mb-key.pem +27 -0
- package/src/models/https/httpsServer.js +42 -0
- package/src/models/https/index.js +18 -0
- package/src/models/imposter.js +243 -0
- package/src/models/imposterPrinter.js +120 -0
- package/src/models/impostersRepository.js +49 -0
- package/src/models/inMemoryImpostersRepository.js +418 -0
- package/src/models/jsonpath.js +44 -0
- package/src/models/mbConnection.js +107 -0
- package/src/models/predicates.js +438 -0
- package/src/models/protocols.js +242 -0
- package/src/models/responseResolver.js +398 -0
- package/src/models/smtp/index.js +16 -0
- package/src/models/smtp/smtpRequest.js +60 -0
- package/src/models/smtp/smtpServer.js +109 -0
- package/src/models/tcp/index.js +18 -0
- package/src/models/tcp/tcpProxy.js +110 -0
- package/src/models/tcp/tcpRequest.js +23 -0
- package/src/models/tcp/tcpServer.js +156 -0
- package/src/models/tcp/tcpValidator.js +19 -0
- package/src/models/xpath.js +95 -0
- package/src/mountebank.js +245 -0
- package/src/public/images/arrow_down.png +0 -0
- package/src/public/images/arrow_up.png +0 -0
- package/src/public/images/book.jpg +0 -0
- package/src/public/images/dataflow.png +0 -0
- package/src/public/images/favicon.ico +0 -0
- package/src/public/images/forkme_right_orange_ff7600.png +0 -0
- package/src/public/images/mountebank.png +0 -0
- package/src/public/images/overview.gif +0 -0
- package/src/public/images/quote.png +0 -0
- package/src/public/images/tw-logo.png +0 -0
- package/src/public/scripts/jquery/jquery-3.6.1.min.js +2 -0
- package/src/public/scripts/urlHashHandler.js +31 -0
- package/src/public/stylesheets/application.css +424 -0
- package/src/public/stylesheets/ie.css +14 -0
- package/src/public/stylesheets/imposters.css +121 -0
- package/src/public/stylesheets/jqueryui/1.10.4/themes/smoothness/jquery-ui.css +1178 -0
- package/src/util/combinators.js +68 -0
- package/src/util/date.js +51 -0
- package/src/util/errors.js +55 -0
- package/src/util/helpers.js +131 -0
- package/src/util/inherit.js +28 -0
- package/src/util/ip.js +54 -0
- package/src/util/logger.js +83 -0
- package/src/util/middleware.js +256 -0
- package/src/util/scopedLogger.js +47 -0
- package/src/views/_footer.ejs +20 -0
- package/src/views/_header.ejs +113 -0
- package/src/views/_imposter.ejs +8 -0
- package/src/views/config.ejs +71 -0
- package/src/views/docs/api/behaviors/copy.ejs +427 -0
- package/src/views/docs/api/behaviors/decorate.ejs +182 -0
- package/src/views/docs/api/behaviors/lookup.ejs +220 -0
- package/src/views/docs/api/behaviors/shellTransform.ejs +153 -0
- package/src/views/docs/api/behaviors/wait.ejs +121 -0
- package/src/views/docs/api/behaviors.ejs +141 -0
- package/src/views/docs/api/contracts/addStub-description.ejs +10 -0
- package/src/views/docs/api/contracts/addStub.ejs +10 -0
- package/src/views/docs/api/contracts/config-description.ejs +32 -0
- package/src/views/docs/api/contracts/config.ejs +23 -0
- package/src/views/docs/api/contracts/home-description.ejs +18 -0
- package/src/views/docs/api/contracts/home.ejs +13 -0
- package/src/views/docs/api/contracts/imposter-description.ejs +439 -0
- package/src/views/docs/api/contracts/imposter.ejs +182 -0
- package/src/views/docs/api/contracts/imposters-description.ejs +13 -0
- package/src/views/docs/api/contracts/imposters.ejs +13 -0
- package/src/views/docs/api/contracts/logs-description.ejs +3 -0
- package/src/views/docs/api/contracts/logs.ejs +14 -0
- package/src/views/docs/api/contracts/stub-description.ejs +4 -0
- package/src/views/docs/api/contracts/stub.ejs +7 -0
- package/src/views/docs/api/contracts/stubs-description.ejs +4 -0
- package/src/views/docs/api/contracts/stubs.ejs +11 -0
- package/src/views/docs/api/contracts.ejs +133 -0
- package/src/views/docs/api/errors.ejs +64 -0
- package/src/views/docs/api/fault/connectionReset.ejs +31 -0
- package/src/views/docs/api/fault/randomDataThenClose.ejs +31 -0
- package/src/views/docs/api/faults.ejs +57 -0
- package/src/views/docs/api/injection.ejs +426 -0
- package/src/views/docs/api/json.ejs +205 -0
- package/src/views/docs/api/jsonpath.ejs +210 -0
- package/src/views/docs/api/mocks.ejs +130 -0
- package/src/views/docs/api/overview.ejs +968 -0
- package/src/views/docs/api/predicates/and.ejs +62 -0
- package/src/views/docs/api/predicates/contains.ejs +64 -0
- package/src/views/docs/api/predicates/deepEquals.ejs +114 -0
- package/src/views/docs/api/predicates/endsWith.ejs +66 -0
- package/src/views/docs/api/predicates/equals.ejs +125 -0
- package/src/views/docs/api/predicates/exists.ejs +118 -0
- package/src/views/docs/api/predicates/inject.ejs +67 -0
- package/src/views/docs/api/predicates/matches.ejs +66 -0
- package/src/views/docs/api/predicates/not.ejs +52 -0
- package/src/views/docs/api/predicates/or.ejs +79 -0
- package/src/views/docs/api/predicates/startsWith.ejs +62 -0
- package/src/views/docs/api/predicates.ejs +382 -0
- package/src/views/docs/api/proxies.ejs +191 -0
- package/src/views/docs/api/proxy/addDecorateBehavior.ejs +115 -0
- package/src/views/docs/api/proxy/addWaitBehavior.ejs +96 -0
- package/src/views/docs/api/proxy/injectHeaders.ejs +91 -0
- package/src/views/docs/api/proxy/predicateGenerators.ejs +600 -0
- package/src/views/docs/api/proxy/proxyModes.ejs +495 -0
- package/src/views/docs/api/stubs.ejs +391 -0
- package/src/views/docs/api/xpath.ejs +281 -0
- package/src/views/docs/cli/configFiles.ejs +133 -0
- package/src/views/docs/cli/customFormatters.ejs +53 -0
- package/src/views/docs/cli/help.ejs +6 -0
- package/src/views/docs/cli/replay.ejs +42 -0
- package/src/views/docs/cli/restart.ejs +10 -0
- package/src/views/docs/cli/save.ejs +68 -0
- package/src/views/docs/cli/start.ejs +234 -0
- package/src/views/docs/cli/stop.ejs +32 -0
- package/src/views/docs/commandLine.ejs +93 -0
- package/src/views/docs/communityExtensions.ejs +233 -0
- package/src/views/docs/gettingStarted.ejs +146 -0
- package/src/views/docs/mentalModel.ejs +51 -0
- package/src/views/docs/protocols/custom.ejs +231 -0
- package/src/views/docs/protocols/http.ejs +238 -0
- package/src/views/docs/protocols/https.ejs +246 -0
- package/src/views/docs/protocols/smtp.ejs +142 -0
- package/src/views/docs/protocols/tcp.ejs +431 -0
- package/src/views/docs/security.ejs +38 -0
- package/src/views/faqs.ejs +65 -0
- package/src/views/feed.ejs +33 -0
- package/src/views/imposter.ejs +22 -0
- package/src/views/imposters.ejs +33 -0
- package/src/views/index.ejs +89 -0
- package/src/views/license.ejs +30 -0
- package/src/views/logs.ejs +77 -0
- package/src/views/releases/v1.1.0.ejs +55 -0
- package/src/views/releases/v1.1.36.ejs +84 -0
- package/src/views/releases/v1.1.72.ejs +92 -0
- package/src/views/releases/v1.10.0.ejs +108 -0
- package/src/views/releases/v1.11.0.ejs +109 -0
- package/src/views/releases/v1.12.0.ejs +96 -0
- package/src/views/releases/v1.13.0.ejs +118 -0
- package/src/views/releases/v1.14.0.ejs +107 -0
- package/src/views/releases/v1.14.1.ejs +94 -0
- package/src/views/releases/v1.15.0.ejs +113 -0
- package/src/views/releases/v1.16.0.ejs +104 -0
- package/src/views/releases/v1.2.0.ejs +78 -0
- package/src/views/releases/v1.2.103.ejs +86 -0
- package/src/views/releases/v1.2.122.ejs +86 -0
- package/src/views/releases/v1.2.30.ejs +84 -0
- package/src/views/releases/v1.2.45.ejs +84 -0
- package/src/views/releases/v1.2.56.ejs +79 -0
- package/src/views/releases/v1.3.0.ejs +86 -0
- package/src/views/releases/v1.3.1.ejs +100 -0
- package/src/views/releases/v1.4.0.ejs +96 -0
- package/src/views/releases/v1.4.1.ejs +103 -0
- package/src/views/releases/v1.4.2.ejs +100 -0
- package/src/views/releases/v1.4.3.ejs +113 -0
- package/src/views/releases/v1.5.0.ejs +104 -0
- package/src/views/releases/v1.5.1.ejs +91 -0
- package/src/views/releases/v1.6.0.ejs +109 -0
- package/src/views/releases/v1.7.0.ejs +113 -0
- package/src/views/releases/v1.7.1.ejs +90 -0
- package/src/views/releases/v1.7.2.ejs +96 -0
- package/src/views/releases/v1.8.0.ejs +121 -0
- package/src/views/releases/v1.9.0.ejs +111 -0
- package/src/views/releases/v2.0.0.ejs +159 -0
- package/src/views/releases/v2.1.0.ejs +121 -0
- package/src/views/releases/v2.1.1.ejs +106 -0
- package/src/views/releases/v2.1.2.ejs +84 -0
- package/src/views/releases/v2.2.0.ejs +115 -0
- package/src/views/releases/v2.2.1.ejs +102 -0
- package/src/views/releases/v2.3.0.ejs +121 -0
- package/src/views/releases/v2.3.1.ejs +100 -0
- package/src/views/releases/v2.3.2.ejs +102 -0
- package/src/views/releases/v2.3.3.ejs +97 -0
- package/src/views/releases/v2.4.0.ejs +114 -0
- package/src/views/releases/v2.5.0.ejs +51 -0
- package/src/views/releases/v2.6.0.ejs +35 -0
- package/src/views/releases/v2.7.0.ejs +32 -0
- package/src/views/releases/v2.8.0.ejs +36 -0
- package/src/views/releases/v2.8.1.ejs +7 -0
- package/src/views/releases/v2.8.2.ejs +26 -0
- package/src/views/releases/v2.9.0.ejs +32 -0
- package/src/views/releases/v2.9.1.ejs +10 -0
- package/src/views/releases.ejs +26 -0
- package/src/views/sitemap.ejs +36 -0
- package/src/views/support.ejs +14 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<h2>New Features</h2>
|
|
7
|
+
<ul class='bullet-list'>
|
|
8
|
+
<li>I extracted the lifecycle management code the mountebank build uses into a separate
|
|
9
|
+
<a href='https://github.com/bbyars/grunt-mountebank'>grunt-mountebank</a> build plugin.
|
|
10
|
+
Instructions for implementing build plugins are documented on the
|
|
11
|
+
<a href='http://<%= host %>/docs/communityExtensions'>client libraries</a> page.</li>
|
|
12
|
+
<li>You can now use <a href='http://<%= host %>/docs/protocols/http#inline-json-response-bodies'>
|
|
13
|
+
inline JSON</a> for http/s response bodies rather than a string.</li>
|
|
14
|
+
<li>Support in-process startup with imposters, bypassing the CLI.</li>
|
|
15
|
+
<li>The source documentation is now auto-deployed on every commit to
|
|
16
|
+
<a href='https://mountebank.firebaseapp.com/'>Firebase</a>.</li>
|
|
17
|
+
<li>Link to <a href='http://donhenton.github.io/mountebank-UI/public_html/index.html#/'>Don Henton's</a>
|
|
18
|
+
UI from the <a href='http://<%= host %>/imposters'>imposters</a> page</li>
|
|
19
|
+
<li>The number of milliseconds the proxied request took is now stored in the <code>_proxyResponseTime</code>
|
|
20
|
+
field of the response.</li>
|
|
21
|
+
</ul>
|
|
22
|
+
|
|
23
|
+
<h2>Bug Fixes</h2>
|
|
24
|
+
<ul class='bullet-list'>
|
|
25
|
+
<li>Fixed CLI startup and shutdown race conditions. As of this version, the pidfile will only
|
|
26
|
+
be written once all initialization is complete, including loading any imposters through a
|
|
27
|
+
config file.</li>
|
|
28
|
+
<li>Fixed github Fork Me logo</li>
|
|
29
|
+
</ul>
|
|
30
|
+
|
|
31
|
+
<p>Many thanks to the following kind folk for help with this release:</p>
|
|
32
|
+
|
|
33
|
+
<ul class='bullet-list'>
|
|
34
|
+
<li><a href='https://github.com/burkhardr'>Burkhard Reffeling</a></li>
|
|
35
|
+
<li><a href='http://paulhammant.com/'>Paul Hammant</a></li>
|
|
36
|
+
<li><a href='https://github.com/donhenton'>Don Henton</a></li>
|
|
37
|
+
<li>David Haines</li>
|
|
38
|
+
<li><a href='https://github.com/tpbrown'>Tim Brown</a></li>
|
|
39
|
+
</ul>
|
|
40
|
+
|
|
41
|
+
<h2>Install</h2>
|
|
42
|
+
|
|
43
|
+
<pre><code>
|
|
44
|
+
npm install -g mountebank@<%= releaseVersion %>
|
|
45
|
+
</code></pre>
|
|
46
|
+
|
|
47
|
+
<p>or:</p>
|
|
48
|
+
|
|
49
|
+
<table>
|
|
50
|
+
<tr>
|
|
51
|
+
<th>Option</th>
|
|
52
|
+
<th>node.js required?</th>
|
|
53
|
+
<th>sudo required?</th>
|
|
54
|
+
<th>links</th>
|
|
55
|
+
<th>Description</th>
|
|
56
|
+
</tr>
|
|
57
|
+
<tr>
|
|
58
|
+
<td>Self-contained archives</td>
|
|
59
|
+
<td>No</td>
|
|
60
|
+
<td>No</td>
|
|
61
|
+
<td style="min-width: 5em;">
|
|
62
|
+
<ul>
|
|
63
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-darwin-x64.tar.gz">osx</a></li>
|
|
64
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x86.tar.gz">linux x86</a></li>
|
|
65
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x64.tar.gz">linux x64</a></li>
|
|
66
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x86.zip">win x86<sup>*</sup></a></li>
|
|
67
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x64.zip">win x64<sup>*</sup></a></li>
|
|
68
|
+
</ul>
|
|
69
|
+
</td>
|
|
70
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
71
|
+
</tr>
|
|
72
|
+
<tr>
|
|
73
|
+
<td>OS-specific packages</td>
|
|
74
|
+
<td>No</td>
|
|
75
|
+
<td>Yes</td>
|
|
76
|
+
<td>
|
|
77
|
+
<ul>
|
|
78
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>.pkg">pkg</a></li>
|
|
79
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-<%= releaseVersion %>-1.x86_64.rpm">rpm</a></li>
|
|
80
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank_<%= releaseVersion %>_amd64.deb">deb</a></li>
|
|
81
|
+
</ul>
|
|
82
|
+
</td>
|
|
83
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
84
|
+
</tr>
|
|
85
|
+
<tr>
|
|
86
|
+
<td>source tarball</td>
|
|
87
|
+
<td>Yes</td>
|
|
88
|
+
<td>No</td>
|
|
89
|
+
<td>
|
|
90
|
+
<ul>
|
|
91
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-npm.tar.gz">mb</a></li>
|
|
92
|
+
</ul>
|
|
93
|
+
</td>
|
|
94
|
+
<td>source tarball if you roll that way.</td>
|
|
95
|
+
</tr>
|
|
96
|
+
</table>
|
|
97
|
+
|
|
98
|
+
<h2 id='windows-path-limitations'>Windows path limitations</h2>
|
|
99
|
+
|
|
100
|
+
<p><sup>*</sup>mountebank wishes very much for your Windows experience to be hassle-free, but he is simply not qualified to address
|
|
101
|
+
a particular constraint of Windows Explorer. For legacy reasons, some Windows applications, including most notably Windows Explorer,
|
|
102
|
+
have a maximum number of characters allowed in a path of 260 characters. As mountebank writes these words, the longest path he
|
|
103
|
+
includes in the zip files is around 175 characters. The zip file name, which is likely to represent itself as <i>two</i>
|
|
104
|
+
nested directories if you use the defaults to unzip it, will be around 25 characters. That gives you very little wiggle room.
|
|
105
|
+
If you unzip the file in your users directory, you may very likely get an error because of this constraint.</p>
|
|
106
|
+
|
|
107
|
+
<p>The following solutions will all work:</p>
|
|
108
|
+
|
|
109
|
+
<ul class='bullet-list'>
|
|
110
|
+
<li>Unzip to the root of your C: drive (or a similar small path)</li>
|
|
111
|
+
<li>Use <a href='http://www.7-zip.org/'>7zip</a> to unzip the file instead of Windows Explorer</li>
|
|
112
|
+
<li>Use <code>npm</code> to install mountebank instead of the zip file</li>
|
|
113
|
+
</ul>
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<h2>New Features</h2>
|
|
7
|
+
<ul class='bullet-list'>
|
|
8
|
+
<li>Support for <a href='http://<%= host %>/docs/api/json'>object predicates that treat
|
|
9
|
+
string fields containing JSON</a> (like http bodies and tcp data) as objects for easier
|
|
10
|
+
predicate matching.</li>
|
|
11
|
+
<li>Support for <a href='http://<%= host %>/docs/api/jsonpath'>JSONPath expressions</a> in
|
|
12
|
+
predicates. Combined with the first feature, this makes mountebank fully JSON aware.</li>
|
|
13
|
+
<li>New <a href='http://<%= host %>/docs/communityExtensions'>client libraries</a> for C# and Clojure</li>
|
|
14
|
+
</ul>
|
|
15
|
+
|
|
16
|
+
<h2>Bug Fixes</h2>
|
|
17
|
+
<ul>
|
|
18
|
+
<li>Fixed confusing <a href='http://<%= host %>/docs/api/stubs'>stubs documentation</a></li>
|
|
19
|
+
<li>Persisting proxy responses after running through the decorator function (thanks Jonathan Wilson)</li>
|
|
20
|
+
</ul>
|
|
21
|
+
|
|
22
|
+
<p>Many thanks to the following kind folk for help with this release:</p>
|
|
23
|
+
|
|
24
|
+
<ul class='bullet-list'>
|
|
25
|
+
<li><a href='https://github.com/mattherman'>Matthew Herman</a></li>
|
|
26
|
+
<li><a href='https://github.com/mdaley'>Matthew Daley</a></li>
|
|
27
|
+
<li><a href='https://github.com/jwilson121'>Jonathan Wilson</a></li>
|
|
28
|
+
<li><a href='https://github.com/Cramsden'>Carson Ramsdem</a></li>
|
|
29
|
+
<li><a href='https://github.com/avmcrae'>Avalon McRae</a></li>
|
|
30
|
+
</ul>
|
|
31
|
+
|
|
32
|
+
<h2>Install</h2>
|
|
33
|
+
|
|
34
|
+
<pre><code>
|
|
35
|
+
npm install -g mountebank@<%= releaseVersion %>
|
|
36
|
+
</code></pre>
|
|
37
|
+
|
|
38
|
+
<p>or:</p>
|
|
39
|
+
|
|
40
|
+
<table>
|
|
41
|
+
<tr>
|
|
42
|
+
<th>Option</th>
|
|
43
|
+
<th>node.js required?</th>
|
|
44
|
+
<th>sudo required?</th>
|
|
45
|
+
<th>links</th>
|
|
46
|
+
<th>Description</th>
|
|
47
|
+
</tr>
|
|
48
|
+
<tr>
|
|
49
|
+
<td>Self-contained archives</td>
|
|
50
|
+
<td>No</td>
|
|
51
|
+
<td>No</td>
|
|
52
|
+
<td style="min-width: 5em;">
|
|
53
|
+
<ul>
|
|
54
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-darwin-x64.tar.gz">osx</a></li>
|
|
55
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x86.tar.gz">linux x86</a></li>
|
|
56
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x64.tar.gz">linux x64</a></li>
|
|
57
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x86.zip">win x86<sup>*</sup></a></li>
|
|
58
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x64.zip">win x64<sup>*</sup></a></li>
|
|
59
|
+
</ul>
|
|
60
|
+
</td>
|
|
61
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
62
|
+
</tr>
|
|
63
|
+
<tr>
|
|
64
|
+
<td>OS-specific packages</td>
|
|
65
|
+
<td>No</td>
|
|
66
|
+
<td>Yes</td>
|
|
67
|
+
<td>
|
|
68
|
+
<ul>
|
|
69
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>.pkg">pkg</a></li>
|
|
70
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-<%= releaseVersion %>-1.x86_64.rpm">rpm</a></li>
|
|
71
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank_<%= releaseVersion %>_amd64.deb">deb</a></li>
|
|
72
|
+
</ul>
|
|
73
|
+
</td>
|
|
74
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
75
|
+
</tr>
|
|
76
|
+
<tr>
|
|
77
|
+
<td>source tarball</td>
|
|
78
|
+
<td>Yes</td>
|
|
79
|
+
<td>No</td>
|
|
80
|
+
<td>
|
|
81
|
+
<ul>
|
|
82
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-npm.tar.gz">mb</a></li>
|
|
83
|
+
</ul>
|
|
84
|
+
</td>
|
|
85
|
+
<td>source tarball if you roll that way.</td>
|
|
86
|
+
</tr>
|
|
87
|
+
</table>
|
|
88
|
+
|
|
89
|
+
<h2 id='windows-path-limitations'>Windows path limitations</h2>
|
|
90
|
+
|
|
91
|
+
<p><sup>*</sup>mountebank wishes very much for your Windows experience to be hassle-free, but he is simply not qualified to address
|
|
92
|
+
a particular constraint of Windows Explorer. For legacy reasons, some Windows applications, including most notably Windows Explorer,
|
|
93
|
+
have a maximum number of characters allowed in a path of 260 characters. As mountebank writes these words, the longest path he
|
|
94
|
+
includes in the zip files is around 175 characters. The zip file name, which is likely to represent itself as <i>two</i>
|
|
95
|
+
nested directories if you use the defaults to unzip it, will be around 25 characters. That gives you very little wiggle room.
|
|
96
|
+
If you unzip the file in your users directory, you may very likely get an error because of this constraint.</p>
|
|
97
|
+
|
|
98
|
+
<p>The following solutions will all work:</p>
|
|
99
|
+
|
|
100
|
+
<ul class='bullet-list'>
|
|
101
|
+
<li>Unzip to the root of your C: drive (or a similar small path)</li>
|
|
102
|
+
<li>Use <a href='http://www.7-zip.org/'>7zip</a> to unzip the file instead of Windows Explorer</li>
|
|
103
|
+
<li>Use <code>npm</code> to install mountebank instead of the zip file</li>
|
|
104
|
+
</ul>
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<h2>Bug Fixes</h2>
|
|
7
|
+
<ul class='bullet-list'>
|
|
8
|
+
<li>Fix npm install issues due to misconfigured shrinkwrap</li>
|
|
9
|
+
<li>Allow access to global <code>process</code> object in response injection
|
|
10
|
+
(it was being shadowed by a local mountebank function of the same name)</li>
|
|
11
|
+
</ul>
|
|
12
|
+
|
|
13
|
+
<p>Many thanks to the following kind folk for help with this release:</p>
|
|
14
|
+
|
|
15
|
+
<ul class='bullet-list'>
|
|
16
|
+
<li>Burkhard Reffeling</li>
|
|
17
|
+
<li>Zen Chen</li>
|
|
18
|
+
<li>Natalia Pedan</li>
|
|
19
|
+
</ul>
|
|
20
|
+
|
|
21
|
+
<h2>Install</h2>
|
|
22
|
+
|
|
23
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
24
|
+
|
|
25
|
+
<p>or:</p>
|
|
26
|
+
|
|
27
|
+
<table>
|
|
28
|
+
<tr>
|
|
29
|
+
<th>Option</th>
|
|
30
|
+
<th>node.js required?</th>
|
|
31
|
+
<th>sudo required?</th>
|
|
32
|
+
<th>links</th>
|
|
33
|
+
<th>Description</th>
|
|
34
|
+
</tr>
|
|
35
|
+
<tr>
|
|
36
|
+
<td>Self-contained archives</td>
|
|
37
|
+
<td>No</td>
|
|
38
|
+
<td>No</td>
|
|
39
|
+
<td style="min-width: 5em;">
|
|
40
|
+
<ul>
|
|
41
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-darwin-x64.tar.gz">osx</a></li>
|
|
42
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x86.tar.gz">linux x86</a></li>
|
|
43
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x64.tar.gz">linux x64</a></li>
|
|
44
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x86.zip">win x86<sup>*</sup></a></li>
|
|
45
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x64.zip">win x64<sup>*</sup></a></li>
|
|
46
|
+
</ul>
|
|
47
|
+
</td>
|
|
48
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
49
|
+
</tr>
|
|
50
|
+
<tr>
|
|
51
|
+
<td>OS-specific packages</td>
|
|
52
|
+
<td>No</td>
|
|
53
|
+
<td>Yes</td>
|
|
54
|
+
<td>
|
|
55
|
+
<ul>
|
|
56
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>.pkg">pkg</a></li>
|
|
57
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-<%= releaseVersion %>-1.x86_64.rpm">rpm</a></li>
|
|
58
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank_<%= releaseVersion %>_amd64.deb">deb</a></li>
|
|
59
|
+
</ul>
|
|
60
|
+
</td>
|
|
61
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
62
|
+
</tr>
|
|
63
|
+
<tr>
|
|
64
|
+
<td>source tarball</td>
|
|
65
|
+
<td>Yes</td>
|
|
66
|
+
<td>No</td>
|
|
67
|
+
<td>
|
|
68
|
+
<ul>
|
|
69
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-npm.tar.gz">mb</a></li>
|
|
70
|
+
</ul>
|
|
71
|
+
</td>
|
|
72
|
+
<td>source tarball if you roll that way.</td>
|
|
73
|
+
</tr>
|
|
74
|
+
</table>
|
|
75
|
+
|
|
76
|
+
<h2 id='windows-path-limitations'>Windows path limitations</h2>
|
|
77
|
+
|
|
78
|
+
<p><sup>*</sup>mountebank wishes very much for your Windows experience to be hassle-free, but he is simply not qualified to address
|
|
79
|
+
a particular constraint of Windows Explorer. For legacy reasons, some Windows applications, including most notably Windows Explorer,
|
|
80
|
+
have a maximum number of characters allowed in a path of 260 characters. As mountebank writes these words, the longest path he
|
|
81
|
+
includes in the zip files is around 175 characters. The zip file name, which is likely to represent itself as <i>two</i>
|
|
82
|
+
nested directories if you use the defaults to unzip it, will be around 25 characters. That gives you very little wiggle room.
|
|
83
|
+
If you unzip the file in your users directory, you may very likely get an error because of this constraint.</p>
|
|
84
|
+
|
|
85
|
+
<p>The following solutions will all work:</p>
|
|
86
|
+
|
|
87
|
+
<ul class='bullet-list'>
|
|
88
|
+
<li>Unzip to the root of your C: drive (or a similar small path)</li>
|
|
89
|
+
<li>Use <a href='http://www.7-zip.org/'>7zip</a> to unzip the file instead of Windows Explorer</li>
|
|
90
|
+
<li>Use <code>npm</code> to install mountebank instead of the zip file</li>
|
|
91
|
+
</ul>
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<h2>New Features</h2>
|
|
7
|
+
<ul class='bullet-list'>
|
|
8
|
+
<li>Added the ability to use a JavaScript function for
|
|
9
|
+
<a href='http://<%= host %>/docs/api/behaviors'>wait behavior</a></li>
|
|
10
|
+
<li>Added a new <a href='http://<%= host %>/docs/api/behaviors'>repeat behavior</a>
|
|
11
|
+
to repeat a response multiple times</li>
|
|
12
|
+
<li>Added support for <a href='http://<%= host %>/docs/api/proxies'>injecting headers</a>
|
|
13
|
+
into a proxy request</li>
|
|
14
|
+
<li>Support for proxy behavior through a <a href='http://<%= host %>/docs/api/proxies'>
|
|
15
|
+
corporate proxy</a></li>
|
|
16
|
+
<li>Added support for node v6</li>
|
|
17
|
+
</ul>
|
|
18
|
+
|
|
19
|
+
<h2>Bug Fixes</h2>
|
|
20
|
+
<ul class='bullet-list'>
|
|
21
|
+
<li>Support multiple response cookies with the same name</li>
|
|
22
|
+
<li>Support multiple values for the same HTTP header</li>
|
|
23
|
+
<li>Remove listing environment variables from the config page and endpoint, which could
|
|
24
|
+
be a security vulnerability in shared environments.</li>
|
|
25
|
+
<li>Changed OS packages and self-contained archives to use node v4, which is the current
|
|
26
|
+
LTS version</li>
|
|
27
|
+
</ul>
|
|
28
|
+
|
|
29
|
+
<p>Many thanks to the following kind folk for help with this release:</p>
|
|
30
|
+
|
|
31
|
+
<ul class='bullet-list'>
|
|
32
|
+
<li><a href='https://github.com/distributedlife'>Ryan Boucher</a></li>
|
|
33
|
+
<li><a href='https://github.com/njenan'>Nathan Jenan</a></li>
|
|
34
|
+
<li><a href='https://github.com/meare'>Andrew</a></li>
|
|
35
|
+
<li><a href='https://github.com/RookY2K'>RookY2K</a></li>
|
|
36
|
+
<li>Tomas Bezdek</li>
|
|
37
|
+
</ul>
|
|
38
|
+
|
|
39
|
+
<h2>Install</h2>
|
|
40
|
+
|
|
41
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
42
|
+
|
|
43
|
+
<p>or:</p>
|
|
44
|
+
|
|
45
|
+
<table>
|
|
46
|
+
<tr>
|
|
47
|
+
<th>Option</th>
|
|
48
|
+
<th>node.js required?</th>
|
|
49
|
+
<th>sudo required?</th>
|
|
50
|
+
<th>links</th>
|
|
51
|
+
<th>Description</th>
|
|
52
|
+
</tr>
|
|
53
|
+
<tr>
|
|
54
|
+
<td>Self-contained archives</td>
|
|
55
|
+
<td>No</td>
|
|
56
|
+
<td>No</td>
|
|
57
|
+
<td style="min-width: 5em;">
|
|
58
|
+
<ul>
|
|
59
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-darwin-x64.tar.gz">osx</a></li>
|
|
60
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x86.tar.gz">linux x86</a></li>
|
|
61
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x64.tar.gz">linux x64</a></li>
|
|
62
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x86.zip">win x86<sup>*</sup></a></li>
|
|
63
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x64.zip">win x64<sup>*</sup></a></li>
|
|
64
|
+
</ul>
|
|
65
|
+
</td>
|
|
66
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
67
|
+
</tr>
|
|
68
|
+
<tr>
|
|
69
|
+
<td>OS-specific packages</td>
|
|
70
|
+
<td>No</td>
|
|
71
|
+
<td>Yes</td>
|
|
72
|
+
<td>
|
|
73
|
+
<ul>
|
|
74
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>.pkg">pkg</a></li>
|
|
75
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-<%= releaseVersion %>-1.x86_64.rpm">rpm</a></li>
|
|
76
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank_<%= releaseVersion %>_amd64.deb">deb</a></li>
|
|
77
|
+
</ul>
|
|
78
|
+
</td>
|
|
79
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
80
|
+
</tr>
|
|
81
|
+
<tr>
|
|
82
|
+
<td>source tarball</td>
|
|
83
|
+
<td>Yes</td>
|
|
84
|
+
<td>No</td>
|
|
85
|
+
<td>
|
|
86
|
+
<ul>
|
|
87
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-npm.tar.gz">mb</a></li>
|
|
88
|
+
</ul>
|
|
89
|
+
</td>
|
|
90
|
+
<td>source tarball if you roll that way.</td>
|
|
91
|
+
</tr>
|
|
92
|
+
</table>
|
|
93
|
+
|
|
94
|
+
<h2 id='windows-path-limitations'>Windows path limitations</h2>
|
|
95
|
+
|
|
96
|
+
<p><sup>*</sup>mountebank wishes very much for your Windows experience to be hassle-free, but he is simply not qualified to address
|
|
97
|
+
a particular constraint of Windows Explorer. For legacy reasons, some Windows applications, including most notably Windows Explorer,
|
|
98
|
+
have a maximum number of characters allowed in a path of 260 characters. As mountebank writes these words, the longest path he
|
|
99
|
+
includes in the zip files is around 175 characters. The zip file name, which is likely to represent itself as <i>two</i>
|
|
100
|
+
nested directories if you use the defaults to unzip it, will be around 25 characters. That gives you very little wiggle room.
|
|
101
|
+
If you unzip the file in your users directory, you may very likely get an error because of this constraint.</p>
|
|
102
|
+
|
|
103
|
+
<p>The following solutions will all work:</p>
|
|
104
|
+
|
|
105
|
+
<ul class='bullet-list'>
|
|
106
|
+
<li>Unzip to the root of your C: drive (or a similar small path)</li>
|
|
107
|
+
<li>Use <a href='http://www.7-zip.org/'>7zip</a> to unzip the file instead of Windows Explorer</li>
|
|
108
|
+
<li>Use <code>npm</code> to install mountebank instead of the zip file</li>
|
|
109
|
+
</ul>
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<p class='warning-icon'>mountebank v1.7.0 no longer supports node v0.10 or v0.12. This
|
|
7
|
+
corresponds to the node community's <a href='https://github.com/nodejs/LTS#lts-schedule'>LTS schedule</a>.</p>
|
|
8
|
+
|
|
9
|
+
<h2>New Features</h2>
|
|
10
|
+
<ul class='bullet-list'>
|
|
11
|
+
<li>Added an <a href='http://<%= host %>/docs/commandLine#save'><code>mb save</code></a>
|
|
12
|
+
command to persist the existing configuration of imposters</li>
|
|
13
|
+
<li>Added the ability to <a href=''>add latency</a> to saved responses from proxies based
|
|
14
|
+
on the actual time it took to call the downstream endpoint</li>
|
|
15
|
+
<li>Added the ability to override the default response for imposters, including overriding
|
|
16
|
+
the default <code>Connection: close</code> <a href='http://<%= host %>/docs/protocols/http'>http header</a></li>
|
|
17
|
+
<li>Added a <a href='http://<%= host %>/docs/commandLine'><code>--noParse</code></a>
|
|
18
|
+
command line option that prevents parsing config files as templates</li>
|
|
19
|
+
<li>Added a <a href='http://<%= host %>/docs/commandLine'><code>--nologfile</code></a>
|
|
20
|
+
command line parameter to prevent logging to the filesystem</li>
|
|
21
|
+
<li>Allow changing the cipher for <a href='http://<%= host %>/docs/api/proxies'>https proxies</a></li>
|
|
22
|
+
</ul>
|
|
23
|
+
|
|
24
|
+
<h2>Bug Fixes</h2>
|
|
25
|
+
<ul class='bullet-list'>
|
|
26
|
+
<li>An <code>xpath exists</code> predicate will return true if the XML tag exists, even if
|
|
27
|
+
it does not have any text data.</li>
|
|
28
|
+
<li>Fix Content-Length header if a <code>decorate</code> behavior changes it from the original</li>
|
|
29
|
+
<li>Fix <code>repeat</code> behavior when used with headers</li>
|
|
30
|
+
<li>Fix <code>repeat</code> behavior so that it loops back to the beginning of the <code>responses</code>
|
|
31
|
+
array when it reaches the end, to keep it consistent with the circular buffer behavior</li>
|
|
32
|
+
<li>Fixed missing documentation, including on the <a href='http://<%= host %>/docs/api/contracts'>
|
|
33
|
+
contracts</a> page</li>
|
|
34
|
+
<li>Don't default to chunked encoding on http proxy calls</li>
|
|
35
|
+
</ul>
|
|
36
|
+
|
|
37
|
+
<p>Many thanks to the following kind folk for help with this release:</p>
|
|
38
|
+
|
|
39
|
+
<ul class='bullet-list'>
|
|
40
|
+
<li><a href='https://github.com/meare'>Andrew</a></li>
|
|
41
|
+
</ul>
|
|
42
|
+
|
|
43
|
+
<h2>Install</h2>
|
|
44
|
+
|
|
45
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
46
|
+
|
|
47
|
+
<p>or:</p>
|
|
48
|
+
|
|
49
|
+
<table>
|
|
50
|
+
<tr>
|
|
51
|
+
<th>Option</th>
|
|
52
|
+
<th>node.js required?</th>
|
|
53
|
+
<th>sudo required?</th>
|
|
54
|
+
<th>links</th>
|
|
55
|
+
<th>Description</th>
|
|
56
|
+
</tr>
|
|
57
|
+
<tr>
|
|
58
|
+
<td>Self-contained archives</td>
|
|
59
|
+
<td>No</td>
|
|
60
|
+
<td>No</td>
|
|
61
|
+
<td style="min-width: 5em;">
|
|
62
|
+
<ul>
|
|
63
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-darwin-x64.tar.gz">osx</a></li>
|
|
64
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x86.tar.gz">linux x86</a></li>
|
|
65
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x64.tar.gz">linux x64</a></li>
|
|
66
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x86.zip">win x86<sup>*</sup></a></li>
|
|
67
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x64.zip">win x64<sup>*</sup></a></li>
|
|
68
|
+
</ul>
|
|
69
|
+
</td>
|
|
70
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
71
|
+
</tr>
|
|
72
|
+
<tr>
|
|
73
|
+
<td>OS-specific packages</td>
|
|
74
|
+
<td>No</td>
|
|
75
|
+
<td>Yes</td>
|
|
76
|
+
<td>
|
|
77
|
+
<ul>
|
|
78
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>.pkg">pkg</a></li>
|
|
79
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-<%= releaseVersion %>-1.x86_64.rpm">rpm</a></li>
|
|
80
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank_<%= releaseVersion %>_amd64.deb">deb</a></li>
|
|
81
|
+
</ul>
|
|
82
|
+
</td>
|
|
83
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
84
|
+
</tr>
|
|
85
|
+
<tr>
|
|
86
|
+
<td>source tarball</td>
|
|
87
|
+
<td>Yes</td>
|
|
88
|
+
<td>No</td>
|
|
89
|
+
<td>
|
|
90
|
+
<ul>
|
|
91
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-npm.tar.gz">mb</a></li>
|
|
92
|
+
</ul>
|
|
93
|
+
</td>
|
|
94
|
+
<td>source tarball if you roll that way.</td>
|
|
95
|
+
</tr>
|
|
96
|
+
</table>
|
|
97
|
+
|
|
98
|
+
<h2 id='windows-path-limitations'>Windows path limitations</h2>
|
|
99
|
+
|
|
100
|
+
<p><sup>*</sup>mountebank wishes very much for your Windows experience to be hassle-free, but he is simply not qualified to address
|
|
101
|
+
a particular constraint of Windows Explorer. For legacy reasons, some Windows applications, including most notably Windows Explorer,
|
|
102
|
+
have a maximum number of characters allowed in a path of 260 characters. As mountebank writes these words, the longest path he
|
|
103
|
+
includes in the zip files is around 175 characters. The zip file name, which is likely to represent itself as <i>two</i>
|
|
104
|
+
nested directories if you use the defaults to unzip it, will be around 25 characters. That gives you very little wiggle room.
|
|
105
|
+
If you unzip the file in your users directory, you may very likely get an error because of this constraint.</p>
|
|
106
|
+
|
|
107
|
+
<p>The following solutions will all work:</p>
|
|
108
|
+
|
|
109
|
+
<ul class='bullet-list'>
|
|
110
|
+
<li>Unzip to the root of your C: drive (or a similar small path)</li>
|
|
111
|
+
<li>Use <a href='http://www.7-zip.org/'>7zip</a> to unzip the file instead of Windows Explorer</li>
|
|
112
|
+
<li>Use <code>npm</code> to install mountebank instead of the zip file</li>
|
|
113
|
+
</ul>
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
<h1>v<%= releaseVersion %></h1>
|
|
2
|
+
|
|
3
|
+
<p class='info-icon'>Be sure to keep up with the latest releases by subscribing to the
|
|
4
|
+
<a href='http://www.mbtest.dev/feed'>ATOM feed</a>.</p>
|
|
5
|
+
|
|
6
|
+
<p class='warning-icon'>mountebank v1.7 no longer supports node v0.10 or v0.12. This
|
|
7
|
+
corresponds to the node community's <a href='https://github.com/nodejs/LTS#lts-schedule'>LTS schedule</a>.</p>
|
|
8
|
+
|
|
9
|
+
<h2>Bug Fixes</h2>
|
|
10
|
+
<ul class='bullet-list'>
|
|
11
|
+
<li>The matches predicate now correctly handles case insensitivity for object keys (like http header names)</li>
|
|
12
|
+
</ul>
|
|
13
|
+
|
|
14
|
+
<p>Many thanks to the following kind folks for help with this release:</p>
|
|
15
|
+
|
|
16
|
+
<ul class='bullet-list'>
|
|
17
|
+
<li>Sachin Sthalekar</li>
|
|
18
|
+
</ul>
|
|
19
|
+
|
|
20
|
+
<h2>Install</h2>
|
|
21
|
+
|
|
22
|
+
<pre><code>npm install -g mountebank@<%= releaseVersion %></code></pre>
|
|
23
|
+
|
|
24
|
+
<p>or:</p>
|
|
25
|
+
|
|
26
|
+
<table>
|
|
27
|
+
<tr>
|
|
28
|
+
<th>Option</th>
|
|
29
|
+
<th>node.js required?</th>
|
|
30
|
+
<th>sudo required?</th>
|
|
31
|
+
<th>links</th>
|
|
32
|
+
<th>Description</th>
|
|
33
|
+
</tr>
|
|
34
|
+
<tr>
|
|
35
|
+
<td>Self-contained archives</td>
|
|
36
|
+
<td>No</td>
|
|
37
|
+
<td>No</td>
|
|
38
|
+
<td style="min-width: 5em;">
|
|
39
|
+
<ul>
|
|
40
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-darwin-x64.tar.gz">osx</a></li>
|
|
41
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x86.tar.gz">linux x86</a></li>
|
|
42
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-linux-x64.tar.gz">linux x64</a></li>
|
|
43
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x86.zip">win x86<sup>*</sup></a></li>
|
|
44
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-win-x64.zip">win x64<sup>*</sup></a></li>
|
|
45
|
+
</ul>
|
|
46
|
+
</td>
|
|
47
|
+
<td>Simply unpack and run <code>mb</code> from inside</td>
|
|
48
|
+
</tr>
|
|
49
|
+
<tr>
|
|
50
|
+
<td>OS-specific packages</td>
|
|
51
|
+
<td>No</td>
|
|
52
|
+
<td>Yes</td>
|
|
53
|
+
<td>
|
|
54
|
+
<ul>
|
|
55
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>.pkg">pkg</a></li>
|
|
56
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-<%= releaseVersion %>-1.x86_64.rpm">rpm</a></li>
|
|
57
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank_<%= releaseVersion %>_amd64.deb">deb</a></li>
|
|
58
|
+
</ul>
|
|
59
|
+
</td>
|
|
60
|
+
<td>Puts <code>mb</code> at <code>/usr/local/bin</code>, which is generally in the <code>PATH</code>.</td>
|
|
61
|
+
</tr>
|
|
62
|
+
<tr>
|
|
63
|
+
<td>source tarball</td>
|
|
64
|
+
<td>Yes</td>
|
|
65
|
+
<td>No</td>
|
|
66
|
+
<td>
|
|
67
|
+
<ul>
|
|
68
|
+
<li><a href="https://s3.amazonaws.com/mountebank/v<%= releaseMajorMinor %>/mountebank-v<%= releaseVersion %>-npm.tar.gz">mb</a></li>
|
|
69
|
+
</ul>
|
|
70
|
+
</td>
|
|
71
|
+
<td>source tarball if you roll that way.</td>
|
|
72
|
+
</tr>
|
|
73
|
+
</table>
|
|
74
|
+
|
|
75
|
+
<h2 id='windows-path-limitations'>Windows path limitations</h2>
|
|
76
|
+
|
|
77
|
+
<p><sup>*</sup>mountebank wishes very much for your Windows experience to be hassle-free, but he is simply not qualified to address
|
|
78
|
+
a particular constraint of Windows Explorer. For legacy reasons, some Windows applications, including most notably Windows Explorer,
|
|
79
|
+
have a maximum number of characters allowed in a path of 260 characters. As mountebank writes these words, the longest path he
|
|
80
|
+
includes in the zip files is around 175 characters. The zip file name, which is likely to represent itself as <i>two</i>
|
|
81
|
+
nested directories if you use the defaults to unzip it, will be around 25 characters. That gives you very little wiggle room.
|
|
82
|
+
If you unzip the file in your users directory, you may very likely get an error because of this constraint.</p>
|
|
83
|
+
|
|
84
|
+
<p>The following solutions will all work:</p>
|
|
85
|
+
|
|
86
|
+
<ul class='bullet-list'>
|
|
87
|
+
<li>Unzip to the root of your C: drive (or a similar small path)</li>
|
|
88
|
+
<li>Use <a href='http://www.7-zip.org/'>7zip</a> to unzip the file instead of Windows Explorer</li>
|
|
89
|
+
<li>Use <code>npm</code> to install mountebank instead of the zip file</li>
|
|
90
|
+
</ul>
|