Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show request's timestamp in Fiddler?

I received a long Fiddler trace (with a complicated scenario) and need to correlate the requests with application logs.

Unfortunately, while Fiddler displays the requests chronologically, it doesn't display the timestamps of the request. To access that information (which is recorded) I have to right-click each line and look in the pop-up window with the properties. This is very time-consuming when having to comb through hundreds of lines. Looking at the raw capture data is not much better as each request has its own file and I do need the Fiddler interface.

Pedantic note: I'm aware there isn't a single timestamp to show (below are all the timestamps that are recorded). ClientConnected would be fine (or any other, as long as it's the same, that allows me to correlate the logs visually).

Thanks.

== TIMING INFO ============ ClientConnected:        10:32:57:8906 ClientDoneRequest:      10:32:57:8906 Gateway Determination:  0ms DNS Lookup:         0ms TCP/IP Connect:         0ms ServerGotRequest:       10:32:57:9062 ServerBeginResponse:    10:32:58:2812 ServerDoneResponse: 10:32:58:2884 ClientBeginResponse:    10:32:58:2900 ClientDoneResponse: 10:32:58:2912 
like image 411
wishihadabettername Avatar asked Jul 29 '10 15:07

wishihadabettername


People also ask

How to check time in Fiddler?

Answer for Fiddler Everywhere v1.5.1Click the vertical ellipsis on a column, then click "Columns", then check the Time, Date, and/or Duration Columns.

How do you add a time column in Fiddler?

1. You can easily add a column showing the time of the visit. Right-click the column headers, choose Customize Columns, pick the Session Timers collection and add the ClientBeginRequest value.


1 Answers

Update: In current versions of Fiddler, simply right-click the column headers and choose Customize Columns. In the dropdown, choose Session Timers and choose ClientBeginRequest in the dropdown list.

The old way to do this is to use FiddlerScript. Click Rules > Customize Rules.

Inside the class Handlers, add the following script code:

public static BindUIColumn("BeginRequestTime", 60) function BeginRequestTime(oS: Session) {     if (oS.Timers != null)     {         return oS.Timers.ClientBeginRequest.ToString();          }     return String.Empty; } 

Then, simply reload your SAZ file.

like image 91
EricLaw Avatar answered Sep 30 '22 12:09

EricLaw