Monday, September 28, 2015

Charles: usage for native mobile application testing (IOS)

Mobile testing is new for me. I found extremely useful HTTP proxy tool Charles for monitoring traffic, which our mobile app sends/receives. It helped me to investigate bugs more deeply, not just their UI implication.

Set up Charles to see phone’s traffic

  1. Install Charles on your computer.
  2. Start Charles.
  3. Make sure your phone and computer are connected to same WiFi network.
  4. Find your network IP address in System Preferences -> Network.
  5. Open WiFi settings on your phone: Settings -> WiFi -> {your WiFi network name} -> HTTP Proxy. Set proxy to Manual and enter your network IP address and Port (by default it’s 8888). Leave Authentication switched off.
  6. Install root certificate on your IOS device, open following link in your phone browser:
  7. In Charles add a domain which you want to monitor in Proxy -> SSL Proxying Settings; enable SSl Proxying:
Screen Shot 2015-09-28 at 10.58.42.png
  1. Do any interactions in your app to make any HTTP calls, you should see a popup from Charles to confirm device usage.

Now you should see all calls, which your application makes and what are server responses.

Simulate Internet connection

First of all set up Charles on your computer (see steps above). To change your network connection settings do following steps:
  1. In Charles open Proxy -> Throttle Settings. Enable throttling by checking check box:
Screen Shot 2015-09-28 at 11.25.41.png
  1. Now you can select different throttle presets. You can set your custom network parameters or use ready settings like ‘3G’ throttle preset.
Enjoy your testing :)


  1. This comment has been removed by the author.

  2. Really useful article and very useful method of work organization, it will be necessary to mark as interesting this article and to discuss it with the colleges It is gonna be useful to use in future.

  3. Mobile application testing can be mechanized or manual type of testing.Your content give some information about mobile testing.Keep sharing more like this.
    Mobile Testing Training in Chennai | Mobile Testing Training | Mobile Apps Testing

  4. The Android phones are no longer just competing, but they are preferred over the iPhone currently. This means Apple has to do something about it. iphone 5 user guide

  5. Do you have thought that separated from passing on message, a solitary advanced mobile phone can do stunning things too? Keen gadget is the closest companion of clients as it conducts many errands like surfing Internet, checking messages, talking, or making exchanges through financial balance, and so forth.

  6. I'm always on the go and as a result I conduct much of my business from my iPhone, which I can't seem to live without, LOL! visit homepage

  7. This is a nice article here with some useful tips for those who are not used-to comment that frequently. Thanks for this helpful information I agree with all points you have given to us. I will follow all of them.
    Click here:
    angularjs training in chennai
    Click here:
    angularjs training in velarchery

  8. I would like to thank you for your nicely written post, its informative and your writing style encouraged me to read it till end. Thanks
    Click here:
    Microsoft azure training in tambaram
    Click here:
    Microsoft azure training in chennai

  9. You got an extremely helpful website I actually have been here reading for regarding an hour. I’m an initiate and your success is incredibly a lot of a concept on behalf of me.
    Microsoft azure training in bangalore
    Click here:
    Microsoft azure training in pune

  10. Thank you for this post. Thats all I are able to say. You most absolutely have built this blog website into something special. You clearly know what you are working on, you've insured so many corners.thanks

    Data Science training in kalyan nagar | Data Science training in OMR
    Data Science training in chennai | Data science training in velachery
    Data science training in tambaram | Data science training in jaya nagar

  11. You have provided a nice article, Thank you very much for this one. And I hope this will be useful for many people. And I am waiting for your next post keep on updating these kinds of knowledgeable things share more details.
    Ai & Artificial Intelligence Course in Chennai
    PHP Training in Chennai
    Ethical Hacking Course in Chennai Blue Prism Training in Chennai
    UiPath Training in Chennai

  12. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.
    Animal Traps

  13. Your content give some information about mobile testing.Keep sharing more like this.
    thank you for useful message.
    Python Training in Chennai

    Python Training in Training

    Python Training in Bangalore
    Python Hyderabad

    Python Training in Coimbatore

  14. Thanks for sharing this amazing post. I am a Web Designer at BigCircleMedia that is a small business web design agency that provides web design consulting services and has affordable small business web design packages. It has expert web designers that will offer you affordable web site design services so you can get a quality web design at a cheap price.

  15. Thanks for sharing this amazing post. I am a professional logo designer at AnaxDesigns that is a professional logo design company in USA that provides custom logo design services and will make you a premium logo design.

  16. Thanks for sharing this amazing post. I am a Writer at Assignments Planet that provides cheap dissertation writing service uk for students to understand the requirements and the concepts that are must for the selected topic of dissertation writing.

  17. Having experts in different subjects provides Buy Assignment Help a competitive edge over others in the form of an increasing number of students asking for assistance and better revenue

  18. Amazing post!I have go through all the content of this post.This is really helpful and informative for me and all the readers.If you are looking to buy an online pakistani brands clothing to the men of pakistan at an affordable and reasonable price.

  19. Great blog!I have reading this blog for the last night.It was really helpful and amazing.Thanks for sharing this nice blog.We are offering an online Best Seo Content Writing Service to help the students at a cheap price.

  20. I would like to thank you for your valuable time to spentand writing the excellent article. I got more information from this blog.
    divorce in virginia
    Virginia Sex Crimes Lawyer
    virginia reckless driving

  21. Data analyst generally works on creation of reports based on company’s data driven KPI’s(generally involves descriptive analytics), whereas Data scientists understand business and domain along with the technicalities to understand what will happen in future(more on descriptive + predictive analytics both)
    Etlhive is a data science institute in pune. actuelly we wanted to promote our website on your site will you please contact me discus further details

    website: -
    contact: - +91 8055020011

  22. Without a doubt, pick four04esports. We atValorant Dubaiare convinced that we can create something Gaming companies in Dubai for you because of our many years of experience in the city managing gaming tournaments

  23. Given that we are experts in the management and art of software engineering, we help you create high-quality Social media marketing dubai solutions and products and offer a range of relevant professional services.

  24. hasten cleanse we are highly specialized in vapor mitigation Texas

  25. Charles: Usage for Native Mobile Application Testing (iOS)" highlights the significance of this tool in ensuring the functionality and quality of mobile apps. It's impressive how technology aids testing processes. Similarly, in the industrial realm, explore the precision of chemical injection in UAE for accurate fluid management

  26. From the future style by Nida Faysal, Benedetta bags merge cutting-edge design with eco-friendly materials. These bags redefine sophistication, offering modern elegance and sustainability for the fashion-forward individual.