当前位置:网站首页>Use Charles to capture the package of the applet through the mobile agent
Use Charles to capture the package of the applet through the mobile agent
2022-06-24 03:06:00 【cailynyu】
Background introduction
stay PC End Use Charles It can capture packets of applet interface , For subsequent use Jmeter Tools for interface pressure measurement and use Grafana Prepare for tool visual interface pressure test results .
however , For small programs that the computer does not support access for the time being , You can only capture packets through a mobile agent . This article mainly demonstrates how to use Charles adopt Mobile agent Capture packets for small programs .
Charles To configure
One 、 Configure the root certificate on the computer side
- open Charles, Install root certificate
2. After successful installation, the key chain access interface will pop up , Here's the picture :
3. Double click the certificate , The certificate details interface pops up , Click on 「 trust 」 Options , Configured to always trust , Pictured :
Two 、 Configure the root certificate on the mobile terminal
- Choose to install the certificate of the mobile terminal on the computer
2. Display after selection IP And port number , For mobile phone settings http agent
3. The network of the mobile phone is set to that of the computer http agent PS: At this time, it must be ensured that the mobile phone and the computer are on the same network , And the mobile phone can access the computer ip And port ( It is recommended that the computer and mobile phone be connected to the same hotspot /WiFi)
4. When you access the network after setting up , The server will pop up a prompt , Click on Allow( Agree to connect )
5. Mobile phone installed Charles Of https certificate Method 1 : Mobile browser access chls.pro/ssl Download the certificate Method 2 : Save the certificate on the computer and import it into the mobile phone , After successful import, you can directly install the certificate on the mobile phone
3、 ... and 、 Configure the computer side capture rules
- Get into Charles Of SSL Agent settings :
2. Tick start SSL agent , And add a crawl rule , For example, here we add a grab all https(443 port ) Request :
3. At this time, the phone opens https Application requested , You can see the normal https The requested data is missing :
summary
This article mainly introduces how to use Charles adopt Mobile agent Capture packets for small programs . For example, there are other problems in the process of capturing packets , Welcome to comment on .
Reference resources :https://www.jianshu.com/p/adcbc085fcae
边栏推荐
- JMeter script FAQs
- 2022-2028 global portable two-way radio equipment industry research and trend analysis report
- I have a server. What can I do?
- What is the performance improvement after upgrading the 4800h to the 5800h?
- How to change the cloud desktop domain server password if you forget it?
- Tencent location service appeared at the 11th China Surveying and mapping Geographic Information Technology Equipment Expo
- How to query trademark registration? Where should I check?
- Solution to session problem of missing laravel jump page
- Why do cloud desktops use rack servers? Why choose cloud desktop?
- C common regular expression collation
猜你喜欢
![[summary of interview questions] zj5](/img/d8/ece82f8b2479adb948ba706f6f5039.jpg)
[summary of interview questions] zj5

2022-2028 global medical coating materials industry research and trend analysis report

2022-2028 global portable two-way radio equipment industry research and trend analysis report

2022-2028 global aircraft front wheel steering system industry research and trend analysis report

2022-2028 global aircraft audio control panel system industry research and trend analysis report
![[51nod] 3216 Awards](/img/94/fdb32434d1343040d711c76568b281.jpg)
[51nod] 3216 Awards

IOS development - multithreading - thread safety (3)

2022-2028 global medical modified polypropylene industry research and trend analysis report

Permission maintenance topic: domain controller permission maintenance

UI automation based on Selenium
随机推荐
Tencent location service appeared at the 11th China Surveying and mapping Geographic Information Technology Equipment Expo
UI automation based on Selenium
C common regular expression collation
2022-2028 global high tibial osteotomy plate industry research and trend analysis report
The principle of Fortress application publisher
Three Scheduling Strategies in yarn
Storage crash MySQL database recovery case
October 27, 2021: curriculum. You must take numcourses this semester
What are the configuration requirements for cloud desktop servers? What are the main characteristics of the three points?
What is the case when easynvr non administrator logs in to view the empty video list?
What is cloud desktop and how to connect to the server? What does the mainstream architecture of cloud desktop include?
[51nod] 2653 section XOR
11111dasfada and I grew the problem hot hot I hot vasser shares
Grpc: how to enable tls/ssl?
2022-2028 global medical coating materials industry research and trend analysis report
Tencent Youtu won the champion of iccv2021 LVIs challenge workshop and the best innovation award of the project
2022-2028 global tungsten copper alloy industry research and trend analysis report
Iranian gas station paralyzed by cyber attack, babuk blackmail software source code leaked | global network security hotspot
File access methods on Fortress server how to log in to the server
What are the security guarantees for cloud desktop servers? What are the cloud desktop server platforms?