Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm testing an iphone app someone has developed for me. It seems that some of the files the app downloads are too large.

Is there an app that monitors the network to allow me how much data my app consumes?

share|improve this question
    
lmgtfy.com/?q=iphone+bandwidth+monitor. Or better, connect the iPhone to a WiFi router that you control and check the bandwidth there. –  lupincho Apr 16 '12 at 6:43
    
thanks. Those bandwidth monitors are not as detailed, looks like MB is the smallest increment they report on. I'm looking for something that reports kbytes. –  MotoTribe Apr 16 '12 at 15:48
    
the try to put the iphone behind a router that has can measure the bandwidth –  lupincho Apr 16 '12 at 16:07

2 Answers 2

up vote 1 down vote accepted

Assuming the app uses HTTP(S) to download its file, use mitmproxy. It alows you to follow live all the GET requests done by the app, even when it uses https. It requires Python.

enter image description here

Instructions on how to use (from the guy who nabbed Path's addressbook upload):

  1. Download the mitmproxy tool and set it up by going to the folder of mitmproxy and running sudo python setup.py install. If all goes well, mitmproxy must be available in your $PATH.
  2. Start mitmproxy by running mitmproxy.
  3. Obtain the IP address of your computer by running ifconfig en1 (or whatever is the interface that you are using).
  4. Set the proxy on your iPhone by going to your wireless settings, setting the proxy to be “Manual”, and set the IP to be your computer’s IP and the port as 8080.
share|improve this answer
    
very cool! thanks! –  MotoTribe Apr 16 '12 at 19:10

If your developer has given you the source code you could use Instruments.app which can be used to monitor network activity.

  1. Open the project in Xcode
  2. Select Product->Profile from the menu
  3. When Instruments opens select 'Activity Monitor' and then hit record
share|improve this answer
    
sorry, don't have Xcode or the source code, just the app. –  MotoTribe Apr 16 '12 at 16:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.