Develop a process for retrospectively generating predicates
The existing predicateGenerators functionality works really well if you know exactly how to match the requests before you begin; however sometimes you have limited opportunity to put mountebank in the middle of the traffic flow, or need some experimentation to determine exactly how to match (or how the predicates->responses generation will work out).
In those cases, it would be useful to be able to record everything (request+response), then "have a shot at" writing the predicateGenerators, and see how it pans out. Rather than reinventing the predicateGenerators logic, I guess this means being able to replay recorded requests into the system (just like as if they were being observed in realtime).
Thoughts?
Thanks. Do you have any ideas what the "interface" to this might look like?
An endpoint that can accept the JSON emitted by "mb save" and process each request-response via the current predicateGenerators? (optionally dropping the current generated state, so it's clean)
That makes sense.