Tag sessions when slow response time & scripting

4 posts, 0 answers
  1. fred
    fred avatar
    2 posts
    Member since:
    Mar 2016

    Posted 22 Mar Link to this post

    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 !

  2. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    409 posts

    Posted 25 Mar Link to this post

    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
  3. fred
    fred avatar
    2 posts
    Member since:
    Mar 2016

    Posted 25 Mar in reply to Tsviatko Yovtchev Link to this post

    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.

  4. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    409 posts

    Posted 30 Mar Link to this post

    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
Back to Top