Skip to content
Amit Gupta edited this page Dec 29, 2016 · 1 revision
Stubmatic logo

Stubmatic helps you to stub HTTP(s) calls. You can make stubbed data service for SOAP or REST calls in few minutes.

In addition of features it has for end user, it's code base is very small. Any developer can participate in this to make it more useful.

Features

  • Mappings : Request Response mappings
    • Multiple mappings files
    • Short notations
    • Default mapping
  • Strategy: Strategy to select desire response file.
    • first-found
    • Random
    • Round-robin
    • Many other strategies are in development
  • Latency: Custom delay in response
  • Dynamic Response
    • Dynamically select response file
    • Capture some part of the request and use it in response body or response headers.
    • Fill the response from dbset (consider it as data table). Use the response file as skeleton.
  • Dumps: Construct response from multiple files
    • Decide at runtime which dump has to be included.
  • DB sets: Create response skeletons and fill the data from data table like dbsets.
  • Minimal config: Stubmatic comes with default configuration. And it tries to resolve configs from a directory automatically.
  • Easy set up: just one line setup and one line start up.
  • Logs: It comes with some default on screen colourful logging and basic file based logging. So you can find out which request actually matched or which file was actually responded. So you can correct your mistakes
  • Debug: Add the 'debug=true' query parameter with any request and see what is going on behind the scenes
  • Auto config: Stubmatic can prepare configuration based on directory structure.
Clone this wiki locally