Open shiqicai opened 5 years ago
我参照这个用例,mock 了 service 返回的内容给 client. https://github.com/monkeyWie/proxyee/blob/master/src/test/java/com/github/monkeywie/proxyee/InterceptRedirectHttpProxyServer.java 但是重载 handelResponse 之后, 发现 proxyee 依旧会访问 service. 如何避免这一点呢?
把你的代码贴出来看看
我参照这个用例,mock 了 service 返回的内容给 client. https://github.com/monkeyWie/proxyee/blob/master/src/test/java/com/github/monkeywie/proxyee/InterceptRedirectHttpProxyServer.java 但是重载 handelResponse 之后, 发现 proxyee 依旧会访问 service. 如何避免这一点呢?