llmock vs Gostly

aimock, formerly llmock, supplies fixtures for its supported AI wires. Compare its authored and recorded response paths with a reviewed Gostly HTTP case for your application.

Compare the boundary your test needs

Keep the client request, response source and application assertion visible. Authored fixtures, provider recording and a selected replay are separate cases.

Taskaimock (formerly llmock)Gostly
Client boundarySelect a supported AI wire and client endpoint. The documented suite includes LLM providers, MCP tools/resources and other AI services.Configure the supported HTTP service route for the selected application request.
Response preparationSupply an authored fixture or review a response saved through HTTP record mode.Capture a permitted HTTP exchange, review it, build the service library and confirm effective MOCK.
When a request missesWith a configured HTTP provider, record mode forwards misses and saves responses. Proxy-only forwards without saving; strict mode refuses misses before forwarding.Define the intended match and miss cases. Inspect the selected response and client result rather than assuming a fallback.
Recording freshnessRecordings can include system/tool hashes for comparison on re-recording. These describe input metadata changes, not model-output quality.Decide when to review or refresh the case and apply your application assertion after changing a relevant input.
Data and connectionsHTTP recording excludes auth headers from saved fixtures, while response content remains. Selected upstream credentials may be forwarded.Review captured content, library copies and configured connections before using or sharing the case.
License and setupMIT-licensed repository. Configure the fixture source, client route and mode for the selected case.Use the supported licensed stack with a Gostly account and license key.

Fixtures, provider forwarding and freshness

The current project is aimock, formerly llmock. Its documented suite extends beyond LLM calls to MCP and other AI services. Select the supported wire your client needs; authored fixtures and reviewed recordings give you different ways to prepare a response. Matching controls include messages, turns and tool results.

In HTTP record mode, a fixture miss forwards to the configured provider and the response is saved. Proxy-only mode forwards without saving. Strict mode refuses misses before provider forwarding. Keep these choices separate when checking the connection your test actually uses.

The recording documentation describes saved system/tool hashes and comparison on re-recording. That can identify changes in the recorded input metadata; it does not judge model-output quality or establish that a whole agent still behaves correctly. Apply your application assertion after changing a relevant prompt or tool input.

HTTP auth headers are excluded from saved aimock fixtures, but response content remains and selected upstream credentials may be forwarded. Remote fixture loading is also documented. Review sensitive fixture content, retained copies and actual connections; those configuration choices do not imply that every mode stays offline.

Choose the response your test needs

An authored aimock fixture can describe a selected text or tool-call response for a supported client wire. Its Chat Completions guide includes JSON and SSE examples. Check that your client receives and handles the response you intended.

For a streaming case: You need streaming replay that approximates the provider’s token timing. aimock documents an approximation of time to first token and average pace; chunk counts can differ. Verify the timing and parsing your own client requires.

For the Gostly HTTP workflow, capture a permitted exchange, review and build the service library, configure the service route and confirm effective MOCK. Your caller's assertion determines whether the selected response produces the intended application result. A replayed HTTP response does not establish a whole agent's outcome.

License and setup

The aimock repository is MIT-licensed. Choose the fixture source, supported client endpoint and recording/replay mode for your case; review any configured provider connection.

The Gostly workflow here uses the supported licensed stack, a Gostly account and license key. Complete the library build and confirm the service's effective MOCK mode before applying your application assertion.

Prepare your evaluation

Choose one nonproduction request and an application assertion, such as a tool argument or rendered result.

  1. Configure the caller. Select the supported endpoint and route before making the request. Supply an authored fixture or review an authorized recording.
  2. Distinguish nearby requests. Change a meaningful matching field and declare which request should select the intended response.
  3. Inspect a miss. Write down the expected miss behavior and observe it with the selected mode. Do not assume provider forwarding or its absence.
  4. Review freshness. Change a prompt or tool input, inspect the relevant recording metadata and apply the application assertion again. A saved response is not proof that the real provider's behavior is unchanged.
  5. Review what remains. Inspect the fixture/library and configured connections before sharing the case. Record accepted observations after running it.

This is a reader-authored evaluation plan, not an executed result. The Gostly path starts from the reviewed HTTP exchange; it does not describe a native aimock/llmock fixture import.

References

Read the project documentation

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.

Resources

Explore Gostly in more detail

Start from a recorded HTTP exchange

Follow a worked example from capture to a reviewed library, then check the response with your own application assertion.

Explore record and replay

Choose the API condition to test

Explore controlled failures, slow responses and simulated time with the tests you already run.

Explore API simulation

Set up one Gostly service

Prepare the supported stack, configure a service route and check your application against it.

Read the setup 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.