If a request under mock has the same hostname and port as the proxy, then an infinite request loop will occur when using mock policy found. When using mock policy found, if a request is not mocked, then it will be forwarded to the live service. However, when using the proxy as a reverse proxy, the mock will often have the same hostname and port as the live service. This causes an infinite request loop.
Description
If a request under mock has the same hostname and port as the proxy, then an infinite request loop will occur when using mock policy
found
. When using mock policyfound
, if a request is not mocked, then it will be forwarded to the live service. However, when using the proxy as a reverse proxy, the mock will often have the same hostname and port as the live service. This causes an infinite request loop.