当前位置:网站首页>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
边栏推荐
- Activiti obtains the initiator based on the process instance ID
- I have a server. What can I do?
- Precautions for VPN client on Tencent cloud
- Vscode common shortcut keys, updating
- The most comprehensive arrangement of safe operation solutions from various manufacturers
- 14. Tencent cloud IOT device side learning - data template application development
- RI Geng series: tricks of using function pointers
- How to register a trademark? What needs to be prepared?
- UI automation based on Selenium
- 2022-2028 global high tibial osteotomy plate industry research and trend analysis report
猜你喜欢

2022-2028 Global Industry Survey and trend analysis report on portable pressure monitors for wards

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

2022-2028 global cell-based seafood industry research and trend analysis report

2022-2028 global third-party data platform industry research and trend analysis report
![[summary of interview questions] zj6 redis](/img/4b/eadf66ca8d834f049f3546d348fa32.jpg)
[summary of interview questions] zj6 redis
![[51nod] 3047 displacement operation](/img/cb/9380337adbc09c54a5b984cab7d3b8.jpg)
[51nod] 3047 displacement operation

IOS development - multithreading - thread safety (3)

2022-2028 global indoor pressure monitor and environmental monitor industry research and trend analysis report

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

2022-2028 global anti counterfeiting label industry research and trend analysis report
随机推荐
The cost of on-site development of software talent outsourcing is higher than that of software project outsourcing. Why
Innovation or hype? Is low code a real artifact or a fake tuyere?
C common regular expression collation
AI talk | solution for shopping mall inspection robot
System design: File Hosting Service
Disaster recovery series (V) -- database disaster recovery construction
2022-2028 global marine clutch industry research and trend analysis report
Tencent dongzhiqiang: network security construction needs to change from product driven to service driven
2022-2028 global marine wet exhaust hose industry research and trend analysis report
Create and mount large files
Storage crash MySQL database recovery case
PHP verify mailbox format
LeetCode 724. Find the central subscript of the array
Solution to session problem of missing laravel jump page
How to handle the occasional address request failure in easygbs live video playback?
Shopee Clickhouse cold and hot data separation storage architecture and Practice
Visual AI, first!
[51nod] 3047 displacement operation
LeetCode 1323. Maximum number of 6 and 9
What are the configuration requirements for cloud desktop servers? What are the main characteristics of the three points?