Product capabilities · Record & replay

Keep the response.
Move the code forward.

Capture selected HTTP exchanges and bring retained responses into your test environment. Reproduce a client bug, check a fix and keep the regression case as your code changes.

One selected HTTP caseIllustration
Captured response200

GET /orders/order_demo_001

delivery_date""
Your response libraryA case you can return to
Your applicationYour existing tests
Conceptual flow. Build the selected library before accepting retained replay.

A response worth keeping.

Bring the awkward case back

Keep the response that exposed a bug, even after the upstream has moved on.

Use your real HTTP client

Exercise the routing, parsing and SDK behavior around the dependency with your existing tests.

Keep a useful regression

Carry a reviewed response into the next code change, with the assertion that makes it matter.

Same selected inputIllustration
Delivery dateEmpty value
Original client

Date conversion fails

Bug exposed
Changed client

Estimate unavailable

Order remains visible
Synthetic client illustration. Your assertions decide whether the change is correct.

Client regressions

Keep the tricky input.
Improve the client.

A successful API response can still contain a value your client mishandles. Keep that input steady while you change the parser, wrapper or interface.

The existing empty-delivery-date example shows this idea using local JSON. Its normal-date control keeps an always-unavailable shortcut from passing.

Try the synthetic client example

Your HTTP environment

A retained case.
A new code change.

Route your application to a configured Gostly service and bring its response library into development or CI. Capture, build and replay form the loop; your own test checks what the consumer does.

Keep the selected service, request and response source clear. Matching and coverage still matter. Review retained copies, and keep the service configuration with the regression.

Keep the useful caseIllustration
Reviewed responseYour regression case
Service routingClient revisionYour assertion
Keep the response and its test context together as your code changes.

FAQ

What happens between capture and replay?

Capture a selected exchange, build its service library, then confirm MOCK serving. Recording alone is not a completed, reloadable library.

Can I keep my test runner?

Yes. Gostly supplies the HTTP dependency surface. Your client and test runner keep the application assertions and decide whether the result is right.

Does replay prove the upstream still behaves this way?

A retained response preserves a test input. Review fresh upstream behavior separately before replacing that baseline; keep the case that protects your regression.

What should I review before sharing recordings?

Review retained bodies, URLs and headers. Local replay copies and processed database rows have different data-handling boundaries; later processing does not sanitize every copy.

Resources

Explore the capability in more detail

Try the client bug example

Run the existing synthetic packet with original and corrected clients.

Explore the example

Capture, build and replay

Use the supported stack and selected-service workflow for your own HTTP test.

Read Quick Start

Review the retained copies

Separate local replay content, processed stores and selected connections.

Inspect the data flow

Start with one API dependency

Keep the case that makes
your next change better.

Start your Pro trial and build a response library around your own test.

Get started free