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

Tag sessions when slow response time & scripting

3 Answers 120 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
fred
Top achievements
Rank 1
fred asked on 22 Mar 2016, 07:36 AM

Guys,

I frequently receive from customers Fiddler traces and need to analyze them. Especially when slow response time is the problem I try to identify, I would like to as you a few questions :

1) Do we have a way (not while capturing, but reviewing a trace offline) to ask fiddler to identify for me sessions that are slow. For example <500 ms put color green, 500 to 1 sec orange, and >1 sec red ?

2) Also, do we have a way to use a script (VBS or PowerShell) to parse (and modify) a fiddler Trace. For example "For Each line... check response time (overall_elapsed)... if 500 to 1 sec add a comment such as 'very slow'. Idea would be to quickly identify common scenario that I encounter for my products when slow.

Again that is an offline (not real time) analysis sent by customers.

Thanks a lot for your advice !

3 Answers, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 25 Mar 2016, 03:57 PM
Hello,

As for 1) that http://docs.telerik.com/fiddler/KnowledgeBase/FiddlerScript/CustomizeSessionsList should get you started on modifying the sessions list appearance.

I am not really sure I completely understand what you are trying to do in 2). I assume the users are sending you SAZ files. Do you want to modify these? Where do you want to add the comment?

Regards,
Tsviatko Yovtchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
fred
Top achievements
Rank 1
answered on 25 Mar 2016, 04:18 PM

Hi,Thanks a lot for your feedback.

You are right, I get a SAZ file and usually start by parsing each line, look at some parameters, and take a few notes.

My feeling is that I usually start doing the same things all the time and try to automate it.

So wonder if I can read/write a SAZ file (VBS for example), and that would be an example

FOR each Line... check response time (overall_elapsed)... if 500 to 1 sec add a comment such as 'very slow'. Idea would be to quickly identify common scenario that I encounter for my products when slow.

this way I can see how to read each line, and potentially write stuff in the comments. That would save a lot of time I think.

Thanks for your advice !

 

Regards.

0
Tsviatko Yovtchev
Telerik team
answered on 30 Mar 2016, 05:15 PM
Ah I see now.

Well the SAZ file is just a zip file. Here is a more detailed description of its format - http://fiddler.wikidot.com/saz-files. So it is easy to modify it grammatically and then zip it back again. 

Adding a comment in your case would look something like adding 

<SessionFlag N="ui-comments" V="'very slow" />

to sessid#_m.xml.

Regards,
Tsviatko Yovtchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Fiddler Classic
Asked by
fred
Top achievements
Rank 1
Answers by
Tsviatko Yovtchev
Telerik team
fred
Top achievements
Rank 1
Share this question
or