Skip to content
An example protocol implementation for mountebank
Branch: master
Clone or download
Latest commit b1ae119 Mar 13, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
src First commit Mar 13, 2019
.gitignore First commit Mar 13, 2019 Updated README Mar 13, 2019
package-lock.json First commit Mar 13, 2019
package.json First commit Mar 13, 2019

An example mountebank protocol implementation

Mountebank allows you to create custom protocol implementations. This example demonstrates a custom HTTP implementation. Even though mountebank ships with a built-in HTTP server, it makes a useful example simply because HTTP is the most commonly understood network protocol.

To run the example, download the source locally. Create a file called "protocols.json" with the following content (replace PATH with the downloaded path):

  "http": {
    "createCommand": "node PATH/mountebank-http/src/index.js"
You can’t perform that action at this time.