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");}