当前位置:网站首页>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.
边栏推荐
- [OC学习笔记]weak的实现原理
- IO进程线程->进程->day4
- 普林斯顿微积分读本03第二章--编程实现函数图像绘制、三角学回顾
- Shell变成规范与变量
- 血气方刚的年轻小伙竟去做家政小哥,是怎样成功逆袭转行的
- A young man with strong blood and energy actually became a housekeeper. How did he successfully turn around and change careers?
- R语言plotly可视化:plotly可视化回归模型实际值和回归预测值的散点图分析回归模型的预测效能、一个好的模型大部分的散点在对角线附近(predicted vs actual)
- 下一个排列
- 三维体尺测量
- 解决IDEA安装安装插件慢问题
猜你喜欢

USACO美国信息学奥赛竞赛12月份开赛,中国学生备赛指南
MySQL ODBC驱动简介

ip地址那点事(二)
![Three types of [OC learning notes] Block](/img/40/edf59e6e68891ea7c9ab0481fe7bfc.png)
Three types of [OC learning notes] Block

PyQt5(一) PyQt5安装及配置,从文件夹读取图片并显示,模拟生成素描图像

Biotin hydrazide HCl|CAS:66640-86-6|生物素-酰肼盐酸盐

Biotinyl Cystamine | CAS: 128915-82-2 | biotin cysteamine

商业智能平台BI 商业智能分析平台 如何选择合适的商业智能平台BI

如何做好项目管理

(Note)阿克西斯ACASIS DT-3608双盘位硬盘阵列盒RAID设置
随机推荐
Redisson的看门狗机制
Button to control the running water light (timer)
QT web 开发 - 笔记 - 3
Flink 监控指南 被动拉取 Rest API
文章解读 -- FlowNet3D:Learning Scene Flow in 3D Point Clouds
MySQL 中 count() 和 count(1) 有什么区别?哪个性能最好?
MySQL读写分离与主从延迟
Application and case analysis of CASA model and CENTURY model
Figure robot software digital twin station oil and gas pipelines, oil and gas transportation control platform
R语言plotly可视化:plotly可视化回归模型实际值和回归预测值的散点图分析回归模型的预测效能、一个好的模型大部分的散点在对角线附近(predicted vs actual)
轴流式水轮机隐私政策
科技云报道:实现元宇宙,英伟达从打造基础建设平台开始
自定义table表格
A little bit of knowledge - why do not usually cook with copper pots
EPSANet: An Efficient Pyramid Split Attention Block on Convolutional Neural Network
小说里的编程 【连载之二十四】元宇宙里月亮弯弯
@RequestBody使用
普林斯顿微积分读本03第二章--编程实现函数图像绘制、三角学回顾
PyCharm使用教程(较详细,图+文)
【论文阅读】Distilling the Knowledge in a Neural Network