iOS Development tools: Network packet analysis tools Charles detailed

Source: Internet
Author: User
Tags zip ssl certificate

Brief introduction

Charles is a popular tool for intercepting network packets under Mac, and in the development of iOS, we often need to intercept network packets for the purpose of debugging the network communication protocol with the server side. By setting himself up as a system network Access Proxy, Charles completes all network access requests, thus enabling the interception and analysis of network packets.

Charles is a premium software that can be tested for 30 days free of charge. After the trial period, the unpaid user can still continue to use, but not more than 30 minutes per use, and startup will have 10 seconds of delay.

Therefore, the payment scheme for the vast number of users is still very friendly, even if you do not pay for a long time, you can use the full software features. It's just that when you need to pack for a long time, you'll be affected by the forced shutdown of Charles.

Charles's main functions include:

Supports SSL proxies. You can intercept requests for parsing SSL.

Support Flow control. You can simulate a slow network and a longer wait time (latency) request.

Support for Ajax debugging. You can automatically format JSON or XML data for easy viewing.

Support for AMF debugging. You can format Flash Remoting or Flex Remoting information for easy viewing.

Support for the restart of the network request, convenient back-end debugging.

Support for modifying network request parameters.

Support the interception of network requests and dynamically modify them.

Check to see if Html,css and RSS content meet the standards of the consortium.

Install Charles

Go to Charles's official website (http://www.charlesproxy.com) to download the latest version of the Charles installation package, which is a dmg suffix file. After opening, drag Charles to the application directory to complete the installation.

Installing an SSL Certificate

If you need to intercept the analysis of SSL protocol related content. Then you need to install Charles's CA certificate. The specific steps are as follows:

Go to Http://www.charlesproxy.com/ssl.zip to download the CA certificate file.

After extracting the zip file, double-click the. crt file, and then select Always Trust in the pop-up menu, as follows:

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/extra/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.