Test Tools Fiddler (two) ---- Getting Started

Fiddler Setup and Installation Certificate

A , Fiddler common set

Options位置:Tools->Options

 

 

 

Two , connected to the moving end Fiddler as a proxy

Note : Because Charles is also the default port 8888, carefully open two applications cause port conflicts.

1. IOS terminal connected Fiddler

1.1 iOS phone settings agency steps:

. a Click wifi blue exclamation point -> click on the bottom of the configuration agent -> Click Manual -> Enter the server (IP) and a port (8888)

1.2 iOS installation steps:

. A browser, enter the URL, you are prompted to allow the display description file that allows -> Install Profile

. B Open the Settings -> General -> About -> Certificate trust settings

2. Android terminal connected Fiddler

2.1 Android phone proxy settings steps:

. A Press and modified wifi network -> Advanced Options, agents, manual -> Enter the server host name (IP) and server port (8888)

Then , the mobile browser access to IP: port number to install the certificate

 

2.2 Android installation steps:

. A browser, enter the URL -> name certificate, confirm

Fiddler Interface Introduction Use

First, the basic interface

1 : Notes, after adding in the session bar display contents of the memo Comment column

2, Replay: sends a corresponding request again used []

3, removal of session panel

4 , Go: breakpoint debugging, click on the go, the next step [common]

5, Stream: proxy mode. Default: buffering mode. Click to switch.

a.流模式streaming:将客户端的请求数据实时的传给服务端,更接近于浏览器本身的真实行为。

b.缓冲模式buffering:将客户端的请求数据缓冲起来,等数据写完之后再传给服务端。

6Decode:解压请求。解压http请求里面的东西,帮助查看响应内容【常用】

7、 Keep:保持会话的数目

清除列表

 

清除所有对话

清除加载图片的请求

清除使用http connect方法的请求

清除状态码非200的请求

清除非浏览器发出的请求

清除已响应请求且未标记的请求

清除响应body一样的请求,只保留一个

 

1、Any Process:捕获请求,只看需要的请求。将“靶心”投向需要的请求

2、Find:查找请求,可以高亮所查找的请求【常用】

3、Save:保存会话

4、:截图,默认5秒后截图(电脑全屏)

5、:计时器

6、Browse:点击会话,再点击Browse,启动浏览器发送此请求,快速启动浏览器

7、Clear Cache:清空浏览器缓存

8、TextWizard:编码、解码文本内容,一般包含中文的请求都需要解码才能看到,所以复制url到TextWizard,然后选择URLDecode【常用】

9、TearOff:浮窗

10、msdn搜索:.net开发

二、会话图标

三、状态面板功能

1、控制台:可以输入一些命令行;输入help:可以看到常见的命令行;

2、capturing:fideler左下角,显示capturing表示正常工作;1、控制台:可以输入一些命令行;输入help:可以看到常见的命令行;

3、All Processes:过滤会话来源,web brower对会话进行过滤;

4、M/N 记录当前展示会话的数量;

5、状态信息:状态条显示。

四、命令行工具

 

基础命令

<4k 筛选响应大小小于4kb大小的会话

<4000 筛选响应大小小于4000字节大小的会话

>4k 筛选响应大小大于4kb大小的会话

>4000 筛选响应大小大于4000字节大小的会话

?searchtext 筛选包含searchtext 内容的请求

=status 筛选响应状态=状态的会话

=method 筛选请求方法=方法的会话

@host 筛选包含host的会话

g、go 恢复所有断点会话

cls、clear 清除会话列表

start 开始监听会话

stop 停止监听会话

quit 退出fiddler

命令行设置断点命令

bpu str 给包含str的url设置一个请求断点,只拦截请求,不拦截响应

bpu 清除请求断点

bpafter str 给包含str的url设置一个响应断点,只拦截响应,不拦截请求

bpafter 清除响应断点

bps 404 给状态码是404的请求设置一个断点

bps 清除状态码断点

bpm post 给请求方法为post的请求设置一个断点

bpm 清除请求方法断点

bold str 给包含str的url加粗

bold 清除加粗

Guess you like

Origin www.cnblogs.com/poloyy/p/12129013.html