Fiddler SessionFlags

Each Session object in Fiddler contains a collection of string flags, in the Session.oFlags[] collection.  The flags control how the session is processed and displayed in the Fiddler session list.  Flags can be set by FiddlerScript or an IFiddlerExtension.

Tips

  • Flag names are not case-sensitive.  Flag values are always strings.
  • If you examine oFlags["non-existent-flag"], the result will be null.
  • The oFlags collection is the "indexer" for the Session object.  Thus,oSession.oFlags["flagname"] can be written as oSession["flagname"] or oSession["SESSION", "flagname"].
  • You can remove a flag from the list by calling oFlags.Remove("flagname") or settingoSession["flagname"] = null.
  • The value of most flags is not important; simply adding the flag is enough.  So (perhaps surprisingly) oSession["ui-hide"]="no" does the same thing as oSession["ui-hide"] = "true" -- it hides the session.
  • While you can call oFlags.Add("flagname"), this will throw an exception if the flag already exists.  It‘s better to just set the value: oFlags["flagname"] = "value";
  • You can create new flags of your own invention that attach metadata to a given session. To avoid naming conflicts, it‘s recommended that you choose distinctive flagnames, e.g.addon.acme.loggingFlag.
Flag Name Meaning
ui-hide Hide the session from the Session List.  
The session will continue to run.  Breakpoints on hidden sessions are ignored.
Note: hiding a session will free up the memory that would otherwise be used to hold the session data in memory.
   
ui-color The value of this flag determines the font color used to render this session in the Session List.
ui-backcolor The value of this flag determines the background color used behind this session‘s entry in the Session List.
ui-bold If present, this session‘s entry will be bolded in the Session List.
ui-italic If present, this session‘s entry will be italicized in the Session List.
ui-strikeout If present, this session‘s entry will be struck out in the Session List.
ui-customcolumn The value of this flag is shown in the Fiddler Session List‘s "User-defined" column.
   
ui-breakrequest If present, execution of this session will pause before the request is issued.
ui-breakresponse If present, execution of this session will pause after the response is received.
ui-comments The Comment, if any, which the user set on this session.
x-overrideHost Provide the Host:Port combination which should be used for DNS resolution purposes. Note that this mechanism does not change the HOST header on the request, and thus is not useful if there‘s an upstream gateway.
x-overrideGateway Provide the Host:Port combination of a gateway that should be used to proxy this request, or DIRECT to send the request directly to the origin server.
   
x-serversocket Read-only.  String containing data about the reuse status of the server socket.
x-securepipe Read-only. String containing data about the reuse status of a secure server socket.
x-no-decrypt If set on a CONNECT tunnel, the traffic in the tunnel will not be decrypted.  Requires Fiddler v2.0.8.9 or later.
https-Client-Certificate Filename of client certificate (e.g. .CER) that should be attached to this secure request.  Requires Fiddler v2.1.0.3 or later.
x-SuppressProxySupportHeader Prevent Fiddler from adding a "Proxy-Support: Session-Based-Authentication" header to HTTP/401 or HTTP/407 responses that request Negotiate or NTLM authentication.   Requires Fiddler v2.1.4.2 or later.
   
x-ProcessInfo Information (module name and ProcessID) on source of local requests. Requires Fiddler v2.1.4.1 or later.
x-clientIP Read-only.  Indicates the client IP that sent this request.  Mostly useful when multiple computers on a network are pointed to a single Fiddler instance.
x-clientport Read-only.  Indicates the port on the client that sent this request.
x-hostIP Read-only.  Indicates the IP address of the server used for this request.
   
x-TTFB Deprecated.  Use oSession.Timer instead.  Time to the first byte of the response, in milliseconds.
x-TTLB Deprecated.  Use oSession.Timer instead.  Time to the last byte of the response, in milliseconds.
request-trickle-delay Milliseconds to delay each outbound kilobyte of request data.
response-trickle-delay Milliseconds to delay each inbound kilobyte of response data.
   
x-HTTPProtocol-Violation Contains data about violations of the HTTP protocol encountered while processing this session.
   
   
x-replywithfile The value of this flag is the name of a file in the Captures/Responses folder (or a fully-qualified filename) containing a HTTP response to return to the client rather than sending the request to the server.
x-repliedwithfile Read-only.  Contains the name of the file specified in x-replywithfile, after the automatic response was loaded.
   
log-drop-request-body Drop the request body from the session list after request is sent to the server.  Useful for minimizing memory usage.
log-drop-response-body Drop the request body from the session list after response is sent to the client.  Useful for minimizing memory usage.
   
x-OverrideCertCN String specifying the hostname that should appear in the CN field of this CONNECT tunnel‘s Fiddler-generated certificate.
时间: 2024-10-08 20:06:58

Fiddler SessionFlags的相关文章

Fiddler源代码分享

frmViewer.cs: namespace Fiddler{    using Microsoft.Win32;    using System;    using System.Collections;    using System.Collections.Generic;    using System.Collections.Specialized;    using System.ComponentModel;    using System.Diagnostics;    usi

Fiddler Session标志

Each Session object in Fiddler contains a collection of string flags, in the Session.oFlags[] collection. The flags control how the session is processed and displayed in the Fiddler [Web Session List][4]. Flags can be set by FiddlerScript or an IFidd

fiddler抓手机包

本人用的iphone,操作步骤参考网上链接: http://www.cr173.com/html/20064_1.html 其中要注意点: fiddler设置好option之后手机访问 http://192.168.1.104:8888安装证书,一直提示我没有设置好https:在fiddler上导出证书发现证书没法生成,重新生成证书之后就成功了.

fiddler抓取手机端的数据流量包

1.首先下载安装fiddler 2.然后打开fiddler,进入到tools-->options-->connections 3.然后进入到https 4.设置完成后,查找本机ip 然后打开手机的wifi,进行代理设置,手动输入本机ip地址,端口号就是8888 5.最重要的一点就是要手机端安装证书,要不然就会报tunnel to 443,抓取不到https的数据包 6.安装证书步骤 手机浏览器输入:http://你挂代理的ip:8888/FiddlerRoot.cer,然后安装成功就能抓取ht

Python+Requests接口测试教程(1):Fiddler抓包工具

本书涵盖内容:fiddler.http协议.json.requests+unittest+报告.bs4.数据相关(mysql/oracle/logging)等内容.刚买须知:本书是针对零基础入门接口测试和python+requests自动化的,首先本书确实写的比较基础,对基础内容也写的很详细,所以大神绕道. 为什么要先学fiddler? 学习接口测试必学http协议,如果直接先讲协议,我估计小伙伴们更懵,为了更好的理解协议,先从抓包开始.结合抓包工具讲http协议更容易学一些. 1.1 抓fir

抓包工具:fiddler、charles手机连接电脑代理

手机连接charles代理 1.电脑默认已经安装charles(未安装可参考网上教程) 2.打开charles,如下图: 2.Proxy->ssl Proxying Settings  设置,如图红框标识(443为https的端口号)<设置一次就好,之后默认了> 3.  不要关闭charles 4.电脑端查看ip(开始-输入:cmd-确认-dos下输入命令:ipconfig,查看ipv4,即为电脑ip) 5.手机打开设置,连接的无线,选择高级选项-手动,配置电脑ip+8888端口号 6.

Fiddler 前端工具

官网地址:http://www.telerik.com/fiddler 支持所有平台,但由于早期是基于.net开发的,对window操作系统支持较好,对mac,linux支持不够好.

如何配置能让fiddler抓去https的请求?

1.打开fiddler,>>Tools>>Fiddler Options, 打开如图所示的HTTPS配置项: 点击Export Rppt Certifica to Desktop  : 桌面上多了一个证书: 下面就是将证书导入: 点击开始-运行,输入:mmc,打开如下图所示页面,点击红框菜单 最后点击完成,确定!    选择之前导出的证书文件,一路到底! 配置完毕! 转自 http://wangsheng14591.blog.163.com/blog/static/32779710

Fiddler+Jmeter+断言详细教程

一.Fiddler抓包工具的配置和使用 在编写网关自动化脚本之前,得先学会如何抓包,这里以Fiddler为例.会抓包的同学可以跳过这一步,当然看看也是没坏处的…… 局域网络配置 将要进行抓包的手机与电脑连入同一局域网,电脑才能够抓到手机APP的请求,这里介绍一种我们在使用的网络配置方法. 首先使用电脑A布置一个我们抓包需要的局域网.下载猎豹WiFi(网上有很多这种工具360免费WiFi.百度WiFi等,随意下载一个就好,这里我们以猎豹WiFi为例),安装完后创建一个WiFi即可. 然后使用抓包的