i want to timeout and retry a session that's already send out to server
but server is under heavy load and can't response in a reasonable time so i
want to retry the request if the server didn't respond in xx second
after the request is send is that possible with fiddler?
1 Answer, 1 is accepted
0
Nick Iliev
Telerik team
answered on 18 Apr 2022, 01:01 PM
Hi Farshad,
Check this SO thread for suggestions on how to simulate timeout with Fiddler Classic
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
this is not what i want. this create a delay in the response or request i want to request goes as normal but if server not responded for example in 10 second then i abort or abandon that request issue another one or maybe generate my own response and pass that to client
second problem i want to pass Osession and oTimer to Ontimer function so i can stop the timer and set the response and send that to client but i keep getting type mismatch.
For the type mismatch, ensure that you are using the proper language in FiddlerScript (the options being JScript.NET vs. C# from Options > Tools > Scripting) and respecting the declared variables' scope and functions.