All Projects → donhenton → mountebank-UI

donhenton / mountebank-UI

Licence: other
ui for editing mountebank doubles

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects
PHP
23972 projects - #3 most used programming language
ruby
36898 projects - #4 most used programming language
powershell
5483 projects

Projects that are alternatives of or similar to mountebank-UI

kotest-gradle-plugin
A gradle plugin for Kotest
Stars: ✭ 18 (-35.71%)
Mutual labels:  testing-tools
page-walker
Chrome DevTools automation for desktop and mobile devices
Stars: ✭ 18 (-35.71%)
Mutual labels:  testing-tools
request-baskets
HTTP requests collector to test webhooks, notifications, REST clients and more ...
Stars: ✭ 149 (+432.14%)
Mutual labels:  testing-tools
awesome-website-testing-tools
Resource of web-based testing and validation tools
Stars: ✭ 27 (-3.57%)
Mutual labels:  testing-tools
Gorgon
Distributed testing for ruby with centralized management
Stars: ✭ 32 (+14.29%)
Mutual labels:  testing-tools
JUnitPerf
API performance testing framework built using JUnit
Stars: ✭ 48 (+71.43%)
Mutual labels:  testing-tools
mountebank-api-php
Working with mountebank api it's easy!
Stars: ✭ 17 (-39.29%)
Mutual labels:  mountebank
cypress-plugin-stripe-elements
A small Cypress plugin that assists you in filling in Stripe Elements inputs
Stars: ✭ 22 (-21.43%)
Mutual labels:  testing-tools
tranquility
a lightweight dependency/bloat-free alternative to serenity-rest-assured
Stars: ✭ 20 (-28.57%)
Mutual labels:  testing-tools
page-modeller
⚙️ Browser DevTools extension for modelling web pages for automation.
Stars: ✭ 66 (+135.71%)
Mutual labels:  testing-tools
vim-testbed
Docker image for testing Vim plugins
Stars: ✭ 40 (+42.86%)
Mutual labels:  testing-tools
orion
A next-generation testing tool. Orion provides a powerful DSL to write and automate your acceptance tests
Stars: ✭ 40 (+42.86%)
Mutual labels:  testing-tools
StrictCheck
Keep your laziness in check!
Stars: ✭ 28 (+0%)
Mutual labels:  testing-tools
gemini-gui
GUI for gemini
Stars: ✭ 69 (+146.43%)
Mutual labels:  testing-tools
op-test
Testing Firmware for OpenPOWER systems
Stars: ✭ 30 (+7.14%)
Mutual labels:  testing-tools
educhain
an instructional purpose blockchain.
Stars: ✭ 21 (-25%)
Mutual labels:  testing-tools
servirtium-java
Service Virtualized HTTP - to help service test automation stay fast and consistent
Stars: ✭ 16 (-42.86%)
Mutual labels:  testing-tools
testkube
☸️ Kubernetes-native framework for test definition and execution
Stars: ✭ 172 (+514.29%)
Mutual labels:  testing-tools
showroom
Universal development and automated test environment for web components
Stars: ✭ 89 (+217.86%)
Mutual labels:  testing-tools
gmock-xcode
Xcode integration for GoogleMock through XCTest
Stars: ✭ 18 (-35.71%)
Mutual labels:  testing-tools

Mountebank UI

URL

The url for this application is https://donhenton.github.io/mountebank-UI/public_html/index.html

Docker Image With Mountebank

https://hub.docker.com/r/djangofan/mountebank-with-ui-node, courtesty of github user djangofan

Source Code

https://github.com/donhenton/mountebank-UI

Sample Data

Example data can be found at https://github.com/donhenton/mountebank-UI/blob/master/docs/madjs/mountebank-UI-restaurant.json The docs folder holds a Powerpoint presentation as well

YouTube Presentation

https://www.youtube.com/watch?v=69usGV3uScI&list=WL&index=5

Summary

Mountebank UI is a test double generator for the Mountebank server. This program helps the user formulate the various sections of the JSON that are used with Mountebank's API to create a test double.

The Home Page

This is the page where one can set the response or multiple responses, and the required criteria. This page works on the current Imposter Collection which is all the imposters for a given port. An imposter is a given response/match pair. New imposters can be added or deleted on this page as well. Additionally, imposters can be sorted, to allow for handling short-circuit matching logic.

Support for Injection

Injection of predicates and responses is supported in Mountebank UI. To use it, beware that it is either Injection OR Standard, and using one will wipe out any work for the other. Select the work areas via the toggle checkbox. For more see the Mountebank Injection Documentation.

Notes

  • Http protocol only
  • For any element in Response or Match, if left blank it will not be included in the mountebank json.
  • Query elements in match criteria use only deepEquals
  • Method is not optional
  • The match logic is each group (body, query parameters, headers) are AND'd together. Complex logic using OR is not currently available. You can use Injection instead.

Collection Maintenance Page

This is the page where one can delete and add collections, as well as modify the properties associated with a collection, currently the description and the port.

CORS support

Use Cors allows you to specify placing a CORS response OPTIONS handler and a Origin header on each request automatically. These headers and responses will use the origin url specified in the CORS Origin Full Url slot. Note that Method Headers are set to POST,PUT,DELETE,GET,PATCH. If you use the injection feature, you will have to include the Response headers manually, but the OPTION response will still be added.

Default Response

Add Default allows adding a catch-all response to your collection. This will be returned if no match takes place. The default response to send if no predicate matches. Also represents the default values that get merged into a response that doesn't specify every field.

Mountebank JSON Page

This page provides a read only display of the JSON that can be posted to Mountebank's imposters endpoint. Additionally one can post directly to mountebank via a form. Provide the base url to mountebank, and choose the action, either post or delete. Note that Mountebank will need the '--allowCORS' option for this to work.

Persistence (Import/Export)

All data is persisted to local storage. If accessing this application for the first time, an initial collection will be created. The data can be exported and imported using the menu item Import/Export.
The persisted data is in a format which allows the creation of the Mountebank data, it is not in the Mountebank format.

Dev Notes

Dev server: gulp dev will serve from src

gulp serve-public will serve from the public_html folder, which is the build

folder for gh-pages. gulp build is used to create public_html

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].