Microcks vs Gostly

Microcks accepts artifacts including HAR recordings; Gostly offers selected HTTP capture and a service-library workflow. Compare how each prepares the response, operates the environment and supports the check your application needs.

  • 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 Microcks 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 four decisions to compare the input you have, the test you need and the deployment you intend to operate.

Input preparation, serving and acceptance are separate work. The cells describe documented workflows.
DecisionMicrocksGostly
Prepare captured examplesImports HAR recordings. A primary HAR identifies the API name/version and lets Microcks infer API type and operations. A secondary HAR enriches existing operations under a matching API name/version; unmatched secondary artifacts are ignored. Review the imported mapping. HAR conventions · Artifact associationFor capture, configure the selected HTTP service and reachable upstream, confirm readiness in LEARN and inspect the exchange. Complete the library build before accepting MOCK serving. HAR import is a separate documented input path with filtering and content checks. Capture setup · Gostly HAR input
Separate mock use from contract testingMock endpoints can serve your existing application caller. Separately, contract tests target a reachable API implementation with a selected runner or testing strategy. An implementation contract check does not replace consumer business assertions. Main concepts · Provider-test exampleYour application or harness calls the configured HTTP service and owns its assertions. Keep the expected response and resulting application behavior explicit; a replay match is not a provider-conformance result.
Choose local or persistent operationThe local quickstart uses a native all-in-one Uber container with Keycloak disabled. Uber's in-memory database suits ephemeral use; persistent distributions have modular components and documented Compose options. Choose the distribution before sizing or configuring identity. Local setup · Deployment choices · Compose configurationUse the supported Docker Compose stack, a Gostly account and license key. Keep routing and the built library with the test. Review retained bodies, URLs and headers; license validation, telemetry settings, upstream routing and integrations have separate connection boundaries. Requirements · Security overview
Include protocol and example requirementsSome definitions need supplementary artifacts to supply complete examples. In the documented Compose setup, async features require additional broker/minion configuration. Check the selected protocol and distribution rather than assuming one imported schema completes the setup. Example requirements · Async configurationThis evaluation covers one HTTP exchange. If the application depends on other transports, select and validate a workflow for those separately. Do not infer an entire environment from one accepted response.

Prepare one reviewed exchange

Use known request inputs, an expected status, relevant headers and body, and one application assertion. The following is a reader-authored evaluation plan, not an executed result.

Microcks artifact mapping
With a primary HAR, inspect the inferred operation and response sample. With a primary artifact plus secondary HAR, inspect the API name/version and the association with an existing operation. HAR conventions · Multi-artifact rules
Gostly service mapping
Configure the route and a safe reachable upstream, confirm readiness and capture the permitted exchange in LEARN. Complete Build & switch to MOCK, then confirm the service is effectively in MOCK. Inspect the built library and selected response. Gostly setup

Prepare each input using its documented conventions. A shared exchange does not transfer dispatchers, authentication, state or project configuration between products.

Check with the same caller

Call the prepared endpoint with your existing client or runner. Inspect the selected operation or service, response source, status, relevant headers and body. Check the application assertion separately, and keep the input mapping and configuration with the result.

Gostly Traffic view showing a sample payment request and its 200 response with illustrative data.
Gostly Traffic view · Application capture with illustrative payment data. Open full size ↗

For Gostly capture, recording alone is not a completed, reloadable library. Wait for the build and confirm effective MOCK before this check. Keep retained data, routing and reset conditions explicit.

Provider contract checks are a separate task

Microcks also tests a reachable API implementation using a selected strategy. Name the contract and expected violation separately from your client's business assertion. Contract-test workflow

Sources and operating detail

The linked official documentation supports the selected Microcks workflows above. Choose the distribution, inputs and configuration for your own evaluation.

Official Microcks sources

Review current Gostly plans and include the infrastructure and ongoing operation of the deployment you choose.

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 an input or setup guide

Review a HAR for Gostly

Inspect the existing synthetic input and the request and response content it keeps.

Explore the HAR example

Keep a client regression

See how a retained response can protect a client as its code changes.

Explore HTTP record and replay

Prepare one HTTP service

Configure the stack, capture an exchange, build and confirm MOCK serving.

Follow Quick Start

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.