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
Is your feature request related to a problem? Please describe.
Currently we do not have a capture request mode in webserver. The system I work on does not support proxying. Hence it becomes difficult to capture request due to this.
Describe the solution you'd like
A capture request mode when hoverfly is run as webserver. We should have the possibility of regexp matching the request, sending too destination, receiving response, logging it, returning to client, while running as webserver
Describe alternatives you've considered
Wiremock and other proxy tools have this feature where you could match a regular expression and if matched, proxy to another system.
@ns3777k it's going to need a recording proxy behind the web server. The web server will rewrite the path dynamically based on the destination provided by the user in a request header field, forward the incoming request to the new destination while also recording the data.
Activity
ns3777k commentedon Aug 31, 2021
As far as I understand:
destinationshould be set to something static like https://www.google.com.destination.Basically, that's a simple recording proxy to single destination (unless changed via api), right? @tommysitu
Seems easy to implement.
tommysitu commentedon Sep 5, 2021
@ns3777k it's going to need a recording proxy behind the web server. The web server will rewrite the path dynamically based on the destination provided by the user in a request header field, forward the incoming request to the new destination while also recording the data.