I’m trying to overcome request matching failures during server response replay. The failures are caused by a timestamp in a request URL parameter.
My intended solution is to:
- Remove the timestamps from the flow.request.path for relevant requests in the saved mitmdump file that I’m using for playback, using an inline script
- Remove the timestamps on-the-fly from incoming requests, using an inline script
So, my questions are:
-
Does this seem like a good solution? Is there a better one that I’m overlooking?
-
Is there an example script similar to what I need for #1? I’ve looked through the examples and don’t see quite how to alter the flow.request.path for certain responses in a dump file, and save that altered dump file for later server-playback.
Thanks!!