当前位置:网站首页>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.
边栏推荐
- 小说里的编程 【连载之二十五】元宇宙里月亮弯弯
- EPSANet: An Efficient Pyramid Split Attention Block on Convolutional Neural Network
- 原型模式
- How Engineers Treat Open Source --- A veteran engineer's heartfelt words
- mysql 中 in 的用法
- @PostConstruct注解详解
- Analysis of software testing technology How far is Turing test from us
- @RequestParam使用
- pycharm的基本使用教程(1)
- 如何做好项目管理
猜你喜欢

PyCharm使用教程(详细版 - 图文结合)

第3周学习:ResNet+ResNeXt

postman下载安装汉化及使用

【论文阅读】Distilling the Knowledge in a Neural Network

IO process thread -> process -> day4

Mysql Mac版下载安装教程

etcd implements large-scale service governance application combat

houdini 求出曲线的法向 切线以及副法线

PostgreSQL学习总结(11)—— PostgreSQL 常用的高可用集群方案

Redisson实现分布式锁
随机推荐
TiFlash 存储层概览
PyCharm使用教程(较详细,图+文)
如何开启mysql慢查询日志?
[ansible]playbook结合项目解释执行步骤
知识点滴 - 为什么一般不用铜锅做菜
unity pdg 设置隐藏不需要的节点以及实现自动勾选自动加载项
PyQt5 (a) PyQt5 installation and configuration, read from the folder and display images, simulation to generate the sketch image
Application and case analysis of CASA model and CENTURY model
JSP页面中page指令有哪些属性及方法可使用呢?
Redisson的看门狗机制
如何做好项目管理
pycharm的基本使用教程(1)
工程师如何对待开源 --- 一个老工程师的肺腑之言
小说里的编程 【连载之二十二】元宇宙里月亮弯弯
A little bit of knowledge - why do not usually cook with copper pots
What is NoSQL?Databases for the cloud-scale future
C语言基础_结构体
redis的安装与应用
Biotinyl Cystamine|CAS:128915-82-2|生物素半胱胺
prometheus monitoring mysql_galera cluster