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

Is it possible to use fiddler to repeat a single POST request every 5ms?

3 Answers 992 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 20 Mar 2020, 05:59 PM
Hello Admin,
I apologize for possible errors, I use a translator. I want to reissue a single POST request every 5 milliseconds or less. Frist I tried to repeat the request By Selecting the Session in Fiddler's Web Sessions list and Hold SHIFT+R. But the delay between the two consecutive requests was variable and sometimes reached 100 ms.
Then I tried FiddlerScript and Timer request following this topic:
https://groups.google.com/forum/?fromgroups#!searchin/httpfiddler/reissue/httpfiddler/8r9Hop7LMXg/0GROyv2HXWwJ
I set oTimer.Interval =5. But the problem remains. The timer accuracy was not good and the delay between the two consecutive requests was uncertain and sometimes reached 100 Ms.
Is there a simple solution.
Regards,

3 Answers, 1 is accepted

Sort by
0
Eric R | Senior Technical Support Engineer
Telerik team
answered on 24 Mar 2020, 03:26 PM

Hi Ryan,

Fiddler captures timestamps using the default system clock which is why the timestamps may appear inaccurate. The default system clock has a precision of 15.6 milliseconds This is the Windows default and is chosen this way to conserve power. There are a couple of different options to that may help with this which I have listed below. 

1. Enable high-resolution timers in the Fiddler options. 

2. Use a lower-level monitoring system such as Event Tracing or Network Monitor.

Please let me know if you need any additional information. Thank you for using the Fiddler forums.

Regards,


Eric R | Senior Technical Support Engineer
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
thang
Top achievements
Rank 1
Veteran
answered on 19 Mar 2021, 04:10 AM
Hello, can you give me script code repeat Session selecting?
0
Nick Iliev
Telerik team
answered on 22 Mar 2021, 11:50 AM

Hi Thang,

 

 

Use this blog about getting started with FiddlerScript and refer to the section about targeting Sessions. There is an object called oSession that you could use to target sessions based on different criteria.

 

Regards,
Nick Iliev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Fiddler Classic
Asked by
Ryan
Top achievements
Rank 1
Answers by
Eric R | Senior Technical Support Engineer
Telerik team
thang
Top achievements
Rank 1
Veteran
Nick Iliev
Telerik team
Share this question
or