This is a migrated thread and some comments may be shown as answers.

Filter by Overall Elapsed time

1 Answer 107 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 15 Jul 2020, 02:58 AM

I've added a session timer "Overall_Elapsed" column to my captured traffic.

Is there a way to filter requests by Overall_Elapsed time (or any of the session timers) that is greater than a specific value?

 

1 Answer, 1 is accepted

Sort by
0
Sean
Top achievements
Rank 1
answered on 15 Jul 2020, 04:22 AM

I needed to Customize Rules.

 

Added the following code to the function OnBeforeResponse in order to hide requests whose response time was less than 500ms.

if (oSession.Timers != null) {                       
    var starttime = oSession.Timers.ClientDoneRequest;
    var endtime = oSession.Timers.ServerBeginResponse;           
                         
    var threshold = starttime.AddMilliseconds(500);
                         
    if (endtime < threshold) {
        oSession["ui-hide"] = "hiding quick response";
    }
}
Tags
Fiddler Classic
Asked by
Sean
Top achievements
Rank 1
Answers by
Sean
Top achievements
Rank 1
Share this question
or