Mocko

Mocking made easy, create dynamic mocks, proxy your API and choose which endpoints to mock

Getting started - CLI

If you want to:

  • Manage your mocks in configuration files, structured and versioned in folders
  • Mock integrations for automated tests
  • Run it anywhere with a command and no dependencies

CLI example

Getting started - UI

If you want to:

  • Manage your mocks in a web UI, no configuration or CLIs needed
  • Mock scenarions in your staging environments on-the-go
  • Mock integrations in your development environment

UI example

Getting started - SaaS

If you want to:

  • Create mocks that are available everywhere, in the cloud
  • No installation or configuration required
  • Manage your mocks in a web UI

SaaS example

Features

  • Choose how to manage your mocks
    • Use a simple web UI for speed
    • Use HCL files for documentation and versioning
  • Proxy your real API: Requests will be passed through to it unless there's a mock
  • Create dynamic mocks using Handlebars (more here)
  • Easy to deploy: You can deploy it in containers or even using a CLI
  • Really, really fast. Run your tests as fast as you can.

Use cases

  • Mocking integrations for tests, non-productive environments or local development
  • Mocking your own services on development environment to make it easy to simulate complicated scenarios
  • Mocking your future services on development environment to allow the front end and the back end to develop in parallel (after that, delete the mock and it'll be automatically proxied to the real service)