yi

     沉睡的字符正在苏醒,0和1正在展示自然的魄力!

导航

Fiddler的配置

增加监控请求的详情时间

 

 //添加请求的响应时间

public static BindUIColumn("Time Taken")
           function CalcTimingCol(oS: Session){
             var sResult = String.Empty;
             if ((oS.Timers.ServerDoneResponse > oS.Timers.ClientDoneRequest))
             {
               sResult = (oS.Timers.ServerDoneResponse - oS.Timers.ClientDoneRequest).ToString();
             }
             return sResult;

           }
 

 

 //添加请求的服务器IP地址
 
在CustomRules.js的static function Main() 中增加一行:FiddlerObject.UI.lvSessions.AddBoundColumn("Server IP", 120, "X-HostIP");
static function Main() {
    var today: Date = new Date();
    FiddlerObject.StatusText = " CustomRules.js was loaded at: " + today;
    // Uncomment to add a "Server" column containing the response "Server" header, if present
    //增加请求IP监控
FiddlerObject.UI.lvSessions.AddBoundColumn("Server IP", 120, "X-HostIP");
}

 

 

 

posted on 2018-04-19 15:07  yi  阅读(130)  评论(0编辑  收藏  举报