Tuesday, October 7, 2014

Capturing Network Traffic Generated by Eclipse IDE

To Capture the network traffic generated by Eclipse IDE, you just need to place the following code where we are passing the proxy host and port on which your proxy tool is running.

We can use any of the proxy tool like Charlesproxy or Fiddler to do this.


System.setProperty("http.proxyHost", "IP or Hostname");
System.setProperty("http.proxyPort", "8888");
System.setProperty("https.proxyHost", "IP or Hostname");
System.setProperty("https.proxyPort", "8888");

No comments:

Post a Comment