当前位置:网站首页>测试必备工具之Fiddler,你真的了解吗?
测试必备工具之Fiddler,你真的了解吗?
2022-07-26 05:05:00 【爱吃 香菜】
写在之前
Fiddler是一款非常强大的工具,不仅可以抓包,还可以用来发送请求,模拟各种场景的异常测试,精通该工具会让你的测试工作如虎添翼。
一般我是在需要抓包的时候采用它,抓包是为了知道我需要往哪个请求发送什么样的参数,这种时候一般你不知道往哪个URL发送哪些参数,什么情况下你不知道呢?
当你没有跟开发人员约定好的时候,他们没有接口文档或者啥也没有。
这种时候也说明一个问题:你跟开发前期的工作没有做到位,你应该在需求阶段的时候介入,进入开发阶段后你就要主动的参与到开发的应用程序设计当中,跟他们约定好这个接口应该是什么样的、具备哪些参数,把这些约定好。
当然,在约定第一版的时候,这些肯定不是最终版,那也不怕,但必须得有,有这些东西的时候你才能提前做准备,而Fiddler实际上就是在这种比较无奈的境地使用。
所以,不管怎么样,都需要把该工具的各项功能都了解透彻。
官方网站
www.fiddler2.com。

安装
点击上图中"Download Now"即可进入目录,如下图,填写相关信息后即可进行各个平台的Fiddler。

Fiddler2是基于.net framework2.0,Fiddler4基于.net framework4.0。
像我们一般常用的win7/win10系统都默认安装好了.net framework4.0,像一些老的操作系统,如windows xp应下载.net framework2.0,Fiddler2未来可能会淘汰,现在一般下载的Fiddler都是Fiddler4。
注:beta版本表示作者还在开发中,还不太完善。
下载好以后是一个exe运行文件,直接按照提示下一步进行安装即可。
界面说明

对工具的掌握程度,决定了你工作效率的高低、解决问题的快慢。
Fiddler为什么可以抓包?
Fiddler实际上是一个代理工具,Fiddler的端口默认8888,当它启动的时候会把系统的代理服务器改成它自己,这样便可以抓包。可以去电脑的 控制面板-Internet 选项查看代理服务器的地址。
注:了解这个有助于你在遇到莫名其妙的问题时,多一种排查思路。


当Fiddler关掉退出后,会自动取消代理,如图,此处已不勾选了。

现在我邀请你进入我们的软件测试学习交流群:【746506216】,备注“入群”, 大家可以一起探讨交流软件测试,共同学习软件测试技术、面试等软件测试方方面面,还会有免费直播课,收获更多测试技巧,我们一起进阶Python自动化测试/测试开发,走向高薪之路。
喜欢软件测试的小伙伴们,如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “点赞” “评论” “收藏” 一 键三连哦!
边栏推荐
- MySQL eight knowledge points: from getting started to deleting the database
- Ansible tutorial
- 你对“happen-before原则”的理解可能是错的?
- 如何优雅的复现YOLOv5官方历程(二)——标注并训练自己的数据集
- [pytorch] install torch 1.8.1 and check whether torch version and GPU are available
- [mathematical modeling] analytic hierarchy process (AHP)
- What points should be paid attention to in the selection of project management system?
- Seata submits at details in two stages
- Several maturity levels of using MES management system
- Shell的read 读取控制台输入、read的使用
猜你喜欢

Recommendation system - machine learning

Principle of image nonlocal mean filtering

Install nccl \ mpirun \ horovod \ NVIDIA tensorflow (3090ti)

uniapp小程序框架-一套代码,多段覆盖

手把手教你用代码实现SSO单点登录

如何优雅的复现YOLOv5官方历程(二)——标注并训练自己的数据集

To study the trend of open source and gain insight into the future of the industry, stonedb community and the China Academy of communications and communications released the Research Report on the dev

JVM Lecture 2: class loading mechanism

Embedded sharing collection 21

时代潮流-云原生数据库的崛起
随机推荐
Unnamed Article 33
JVM Lecture 2: class loading mechanism
Alibaba cloud industrial vision intelligent engineer ACP certification - Preparation
Test of countlaunch demo
Briefly describe the application fields of WMS warehouse management system
Nacos introduction and deployment
LeetCode链表问题——203.移除链表元素(一题一文学会链表)
MODFLOW Flex、GMS、FEFLOW、HYDRUS实践应用
Molecular skeleton transition tool -delinker introduction
奥特学园ROS笔记--6
How to connect tdengine through idea database management tool?
阿里云工业视觉智能工程师ACP认证——备考
What are the well-known to-do apps at home and abroad
有ggjj看看这个问题没,是否缓存导致跨域问题?
时代潮流-云原生数据库的崛起
Seata两阶段提交AT详解
npm操作指令
Google Emoji guessing game helps parents guide their children to surf the Internet safely
[pytorch] install torch 1.8.1 and check whether torch version and GPU are available
Axi protocol (4): signals on the Axi channel