Mockoon vs Gostly

Keep the client and the assertion that catches the bug. Choose how you want to prepare responses, reset state and run the API case behind that test.

  • Self-hosted
  • Runs on Docker Compose
  • Built from real API traffic
  • Your test data, your control
  • Use the tests you already run

Gostly as a Mockoon alternative

Gostly is a self-hosted API mocking tool. It builds its mock library from real API traffic, or from HAR captures and OpenAPI examples you import, then adds the errors, delays, state changes and simulated API time your tests need. In MOCK mode it answers from that library and does not call the upstream API.

14-day Pro trial. Runs on Docker Compose in your environment. See pricing

Workflow comparison

Use these details to configure and inspect your selected case.
DecisionMockoonGostly
Record and editRecord proxied HTTP transactions into routes, then edit responses and rules. A route created for a path/method does not preserve every response variation automatically. HTTP recordingCapture selected exchanges, inspect them, then build the service library and confirm MOCK serving. Keep coverage and the caller's response source visible. Record/replay workflow
State and resetCRUD routes use data buckets for state across requests during a server run. Runtime mutations are not saved back to the environment file; restart restores initial content. CRUD routes · Data bucket lifecycleConfigure the lifecycle and check the same resource after each action. Plan reset and application cleanup separately; ordinary recorded POST replay does not create arbitrary resources. Stateful workflow scope
DeploymentNative environment files support desktop and CLI workflows, including Docker and CI. Choose compatible file/runtime versions. Pro adds self-hosted collaboration and deployment controls. CLI documentation · Pro deployment and pricingOperate the supported self-hosted stack and route your caller to a selected service. Retain the library, service configuration and test assertions together. Gostly setup
Move selected fixturesOpenAPI carries part of the API definition. Rules are lost on export, and created bodies do not become exported body examples. Native environment files retain more Mockoon behavior. OpenAPI compatibilityUse the OpenAPI or HAR guide for selected inputs. Inspect bodies, warnings and the served response; configure required rules and state separately.

Two workflows, one application check

Mockoon: editable routes and rules

Record proxied HTTP into mock routes, then shape responses and rules around the case. Data buckets hold state across requests during a run; restarting restores initial data. Use desktop or CLI workflows, including CI; Pro adds self-hosted team collaboration and deployment.

Recording · CRUD · CLI · Pro

Gostly: a service library for your caller

Keep selected responses in a managed library and call a configured Gostly service. For captured traffic, build the library and confirm MOCK before testing. Choose this workflow when you want the service, its scenarios and your caller's checks together.

Gostly capture and replay

Evaluate one case

Use one representative request and a second case that should behave differently. Keep the assertion the same while comparing the setup.

  1. Cover the variation

    Choose requests that should return different results. Inspect matching, response rules and any uncovered case.

  2. Reset state on purpose

    For a configured stateful case, start from known data, act, then read the same resource. Repeat from its baseline.

  3. Keep the client assertion

    Run your application against the selected endpoint and deployment. Check its response and resulting action with your existing runner.

Sources and operating detail

Official Mockoon sources

Current plans: Mockoon pricing · Gostly pricing

FAQ

Do I need an API specification to use Gostly?

No. You can capture a permitted HTTP exchange in LEARN, build the library and confirm the service is in MOCK before running your test.

Can I use Gostly with my existing test runner?

Yes. Your application or test runner calls the configured Gostly service and keeps its own assertions. Check both the response and the resulting application behavior.

What should I bring to the Gostly trial?

A reviewed nonproduction HTTP exchange and an application assertion. Use a Gostly account and license key with the supported stack, configure the service route, complete the library build and confirm effective MOCK. Review retained data and configured connections.

How does the Gostly trial work?

Gostly starts with a 14-day Pro trial, no credit card required. A subscription is required after the trial.

Resources

Continue with one useful case

Choose an adequate approach

Use an existing worked choice and name the check that could reject it.

Explore the decision guide

Inspect a client regression

Keep a tricky response while checking a change in your client.

Explore record and replay

Start with an OpenAPI example

Review one declared request, response and the resulting fixture before expanding it.

Open the import guide

Optional · Full stack

Train a model to simulate any API or service.

The model learns from the HTTP exchanges between your application and the service, whoever runs it: a payment provider, a partner, another team. Choose the exchanges you have reviewed, train a small adapter on your own compute, and attach the version you choose. Every answer says whether it was stored, retrieved or generated.

  • Full stack
  • Your own compute
  • Reviewed examples

See how a model is trained

  1. 1Choose traffic (current)
  2. 2Train a version
  3. 3Attach adapter

Service + URI filter

ServiceDemo API

URI filter/gostly-demo/anything/*

ExchangesThe ones you reviewed

Try Gostly with the APIs your app calls

Capture an HTTP exchange, build your library and check the result with your application.