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");
}
相關文章
相關標籤/搜索