当前位置:网站首页>The packet capture tool Charles modifies the Response step
The packet capture tool Charles modifies the Response step
2022-08-02 08:38:00 【software testing】
Table of Contents
Modify the Response steps as follows:
Foreword
Charles is a commonly used tool for intercepting network packets under Mac. When testing the network communication on the server side, it is often used to intercept network packets for analysis.By setting himself as the system's network access proxy server, Charles makes all network access requests complete through it, thereby realizing the interception and analysis of network packets.
In addition to debugging ports in mobile development, Charles can also be used to analyze the communication protocols of third-party applications.With Charles' SSL function, Charles can also analyze the Https protocol.
EditResponse steps are as follows:
1. Set a breakpoint and intercept the request
2. Modify the intercepted request Response
3. Save the modified Response to the local
4. Replace the requested Response
5. Cancel the breakpoint
1Set breakpoints to intercept requests
Add and enable the request address to be intercepted in Breakpoints Setting, and check Response in the message body.

2 Modify the intercepted request Response
In the request interception interface, click Edit Response to modify it to the desired response, and then click Execute.

3Save the modified Response to the local
Find the modified interface address in the main interface of Charles, right-click and select Save Response to save the request locally.

4Replace the requested Response
Right-click and select Map Local, select the saved request from the local.

5Cancel breakpoint
After canceling the breakpoint setting, execute the interface again, and then each request Response will be obtained locally.
When no replacement is needed, just unmap.
Similarly, setting the request input parameters is similar, but it does not need to be saved locally, and executed directly after modification
The following is a very high-quality learning resource, which should be the most comprehensive and complete preparation warehouse for friends who do [software testing].This warehouse has also accompanied me through the most difficult journey, and I hope it can help you too!

You can private message me if you need the above software testing materials.Get it for free
There is also a 216-page software test engineer interview book document.And the corresponding video learning tutorials are shared for free!, which includes basic knowledge, Linux essentials, Shell, Internet program principles, Mysql database, topic of packet capture tools, interface testing tools, advanced testing-Python programming, Web automated testing, APP automated testing, interface automated testing,Test advanced continuous integration, test architecture development test framework, performance testing, security testing, etc.
Don't work alone in learning, it is better to be in a group to keep warm and grow together with mutual achievements. The effect of the mass effect is very powerful. When everyone learns and punches together, they will be more motivated to learn and more able to persevere.
Conclusion
Welcome to leave a message, or follow my column to communicate with me.
边栏推荐
- pnpm:简介
- 如何将项目部署到服务器上(全套教程)
- PyCharm usage tutorial (more detailed, picture + text)
- etcd实现大规模服务治理应用实战
- R language plotly visualization: plotly visualizes the scatter plot of the actual value of the regression model and the predicted value of the regression, analyzes the prediction performance of the re
- cas:139504-50-0 美登素DM1|Mertansine|
- 第3周学习:ResNet+ResNeXt
- Flink 系统性学习笔记系列
- redis的安装与应用
- 小康股份更名赛力斯,如何走出一条高端产品的“丝绸之路”?
猜你喜欢

pnpm: Introduction

PostgreSQL learning summary (11) - PostgreSQL commonly used high-availability cluster solutions

Button to control the running water light (timer)
![Detailed explanation of calculation commands in shell (expr, (()), $[], let, bc )](/img/3c/5cc4d16b9b525997761445f32802d5.png)
Detailed explanation of calculation commands in shell (expr, (()), $[], let, bc )

IO process thread -> process -> day4

小康股份更名赛力斯,如何走出一条高端产品的“丝绸之路”?

3D激光slam:LeGO-LOAM---地面点提取方法及代码分析

pycharm的基本使用教程(1)

Shell变成规范与变量

原型模式
随机推荐
3D激光slam:LeGO-LOAM---地面点提取方法及代码分析
EPSANet: An Efficient Pyramid Split Attention Block on Convolutional Neural Network
【特别提醒】订阅此专栏的用户请先阅读本文再决定是否需要购买此专栏
类和对象【下】
构建Flink第一个应用程序
血气方刚的年轻小伙竟去做家政小哥,是怎样成功逆袭转行的
Flink 程序剖析
Flink 系统性学习笔记系列
Flink 监控指南 被动拉取 Rest API
PostgreSQL学习总结(11)—— PostgreSQL 常用的高可用集群方案
Biotin-C6-amine|N-生物素基-1,6-己二胺|CAS:65953-56-2
MySQL Workbench 安装及使用
小说里的编程 【连载之二十三】元宇宙里月亮弯弯
下一个排列
JSP页面中page指令contentPage/pageEncoding具有什么功能呢?
Database Plus 的云上之旅:SphereEx 正式开源 ShardingSphere on Cloud 解决方案
Seleniu screenshots code and assign name to the picture
nodejs 简介
next permutation
ip地址那点事(二)