I have not tried this, but ...
Fiddler installs itself as a proxy by listening to localhost: 8888
You can configure Java to use a proxy server with http.proxyHost
and http.proxyPort
(see http://download.oracle.com/javase/6/docs/technotes/guides/net/proxies.html ).
So, if you go into Eclipse and specify the "VM" arguments as follows, it should route all traffic through Fiddler (which, of course, should already be running):
-Dhttp.proxyHost=localhost -Dhttp.proxyPort=8888
This assumes your application is using URLConnection
. If it uses Apache HttpClient or some other library, you may need to check the documentation for that library.
source share