You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am making this issue as more of a help wanted on if it's possible to do what I am required to do using your library.
As a developer, I want to perform API Replay Testing by capturing and replaying real-world traffic from the old service to a new service or Mirror the traffic in real time, so that I can ensure the new service produces consistent responses and maintains compatibility with all clients.
Acceptance Criteria:
Traffic Capture:
Capture real API traffic from the old service, including headers, request payloads, and responses, using a reverse proxy.
Traffic Replay:
Reuse the captured traffic and replay the same requests against the new service.
Response Comparison:
Compare responses between the old and new services for:
HTTP status codes
Response body structure and content
HTTP headers
Implement automated comparison logic to detect and log any discrepancies.
Account for non-deterministic fields (e.g., timestamps, unique IDs) in the comparison process.
Is it possible to do these things using a Middleware? Since this kind of replay testing / mirroring is not unique I'm curious if it there already exists a finished solution for this.
The text was updated successfully, but these errors were encountered:
In short, no such functionality currently exists in the library, but you should be able to build such functionality on top of it.
See #105 and #2075 for more discussions around this & things to watch out for.
It should be relatively straightforward if you're only dealing with simple GET requests, otherwise you run into a lot more things to consider.
Traffic Capture / Traffic Replay
Do you mean mirroring of only live traffic?
There are existing tools that let you capture/persist networking traffic to replay later, have you tried using something like that?
if it there already exists a finished solution for this.
None that I can point you at, but maybe someone from the community can share how they've approached it.
Hello, I am making this issue as more of a help wanted on if it's possible to do what I am required to do using your library.
As a developer,
I want to perform API Replay Testing by capturing and replaying real-world traffic from the old service to a new service or Mirror the traffic in real time,
so that I can ensure the new service produces consistent responses and maintains compatibility with all clients.
Acceptance Criteria:
Traffic Capture:
Traffic Replay:
Response Comparison:
Is it possible to do these things using a Middleware? Since this kind of replay testing / mirroring is not unique I'm curious if it there already exists a finished solution for this.
The text was updated successfully, but these errors were encountered: