Interface test-Get the app interface har file

Source: Internet
Author: User

The previous recording method is the PC-side access, but if we want to record our own app background request interface information, if you get this har file. In fact, it is also very simple, that is, through Charles, let the mobile phone access request to go this Charles agent on the line Charles way to open Charles Agent

iOS Development tools--Network packet analysis tools Charles

Based on the configuration of this article, connect the phone to the PC to the agent to turn on recording

Click the second button in the red box above to turn the recording on/off and the first to clear the data button.
We turn on this recording feature this time. Then the client that operates our mobile app,charles will refresh a lot of data, which is the request of the mobile phone side.

Save As Har file

Select the URL data you want to save, then click File->export to select the file type har file.

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.