kendarorg / HttpAnsweringMachine

Mixing trafficparrot, mitm proxy and pact.io, without using all of them. Real mocks, Recording, Inspections, PACT and NULL infrastructure at once
MIT License
32 stars 3 forks source link

Capture all http. messages with proxy #192

Closed kendarorg closed 10 months ago

kendarorg commented 10 months ago

Setting an http proxy it should be possible to tell the proxy that all http calls are directed to local server

Simply adding the following to (e.g.) java configuration and starting recording

        -Dhttp.proxyHost=hoverfly  -Dhttp.proxyPort=8500
        -Dhttps.proxyHost=hoverfly -Dhttps.proxyPort=8500