使用 Whistle 代理抓取JVM HTTP请求
· One min read
info
注意把以下命令中对应路径替换成自己的:
D:\programs\jdk1.8.0_192: JDK 1.8 的安装目录C:\Users\user\Downloads\rootCA.cer: 下载到本地的whistle代理根证书
注意把以下命令中对应路径替换成自己的:
D:\programs\jdk1.8.0_192: JDK 1.8 的安装目录C:\Users\user\Downloads\rootCA.cer: 下载到本地的whistle代理根证书在 web.config 文件新增以下配置, 即可设置代理(假设代理服务地址为 http://localhost:3210):
To configure a Java application to send web traffic to Fiddler, set the proxy using jre:
jre -DproxySet=true -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8888