Workflow comparison
Use these four decisions to compare the input you have, the test you need and the deployment you intend to operate.
| Decision | Microcks | Gostly |
|---|---|---|
| Prepare captured examples | Imports 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 association | For 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 testing | Mock 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 example | Your 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 operation | The 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 configuration | Use 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 requirements | Some 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 configuration | This 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.

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
- HAR import conventions API identity, inferred operations, prefix handling and primary/secondary roles.
- Multi-artifact merging Primary definitions, secondary examples and name/version association.
- Microcks main concepts Callable mocks and implementation contract checks as distinct uses.
- Local mock quickstart Native Uber setup, importing samples and calling mock endpoints.
- Contract-test quickstart A reachable API implementation, selected strategy and test results.
- Official Microcks project Project overview and artifact, mock and test context.
- Deployment options Modular components, ephemeral Uber and persistent distributions.
- Docker Compose guidance Identity configuration and async broker/minion dependencies.
Review current Gostly plans and include the infrastructure and ongoing operation of the deployment you choose.