I am trying to capture HAR using browsermob standalone server. But, once the server is started and server:port is configured in mobile i am not able to connect to internet. Below is the steps i have followed.
- Download browsermob from below location : https://github.com/lightbody/browsermob-proxy/releases/download/browsermob-proxy-2.1.4/browsermob-proxy-2.1.4-bin.zip
- ./browsermob-proxy -port 9090
[INFO 2017-03-29T14:08:38,256 org.littleshoot.proxy.impl.DefaultHttpProxyServer] (qtp1375394559-17) Proxy started at address: /0:0:0:0:0:0:0:0:8081
- curl -X POST http://localhost:9090/proxy
{"port":8081}
curl -X POST http://localhost:9090/proxy
From the above INFO log i got server as 0.0.0.0 and port is 8081.
i configured below in mobile (iPhone 6plus, OS 10.3):
HTTP Proxy > Manual server : 0.0.0.0, port:8081
After doing the above proxy changes, i am not able to connect to internet in mobile.
curl -X get http://localhost:9090/proxy
Here i get HAR with empty entries.
Any suggestions?