我正在尝试监控从一个应用程序到我的服务器的呼叫,就像Firebug一样。 我找不到在iOS Simulator或xCode中看到的方法。
有没有办法做到这一点,嗅到所有的交通? 如果没有,你会建议什么工具?
I am trying to monitor calls from an app to my server just like Firebug does. I could not find a way to see that in iOS Simulator or in xCode.
Is there a way to do that without sniffing all the traffic? If no, what tool would you suggest?
最满意答案
就我个人而言,我使用查尔斯的这种东西。 启用后,它将监控每个网络请求,显示扩展请求详细信息,包括支持SSL和各种请求/响应格式(如JSON等)...
您还可以将其配置为仅将请求嗅探到特定服务器,而不是整个流量。
这是商业软件,但是有一个试用版,而IMHO肯定是一个很好的工具。
Personally, I use Charles for that kind of stuff. When enabled, it will monitor every network request, displaying extended request details, including support for SSL and various request/reponse format, like JSON, etc...
You can also configure it to sniff only requests to specific servers, not the whole traffic.
It's commercial software, but there is a trial, and IMHO it's definitively a great tool.
更多推荐
发布评论