Will frequent requests cause autosave to stop

1 Answer 66 Views
Fiddler Classic Windows
Xuhui
Top achievements
Rank 1
Xuhui asked on 04 Jun 2024, 09:31 AM

I sned frequent requests between https://gym.whu.edu.cn/api/GSStadiums/GetAppointmentList?Version=2&SportsTypeId=21&AppointmentDate=2024-06-04 and https://gym.whu.edu.cn/api/GSStadiums/GetAppointmentList?Version=2&SportsTypeId=21&AppointmentDate=2024-06-05, I set up an auto-save to txt function,I can see the response in the fiddler,  in the firtst two request ,i can see the response in the txt,but in the following request,  the txt do not update,until over several times , i do it again ,it can be updated, I do want to know why this happen. Addly,if i do the request https://gym.whu.edu.cn/api/GSStadiums/GetAppointmentList?Version=2&SportsTypeId=21&AppointmentDate=2024-06-04  and https://gym.whu.edu.cn/api/GSStadiums/GetOftenList?Version=2 ,i can see the update in real time.
I want to add that I do the request by my manual click. In first way, i just click two buttons on the same interface. in the latter one, i keep opening the screen to return to the previous screen to do the request

1 Answer, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 05 Jun 2024, 08:57 AM

Hello Xuhui,

 

The Auto-Save tab will save all issued HTTP(S) requests. Our manual tests showed that the issued requests were saved properly when they were triggered explicitly (e.g. through the browser)

That said, you should probably check the way that your application is triggering the request (it is not entirely sure what you mean by ".. I just click two buttons on the same interface ...").

 

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.

Xuhui
Top achievements
Rank 1
commented on 07 Jun 2024, 01:39 AM

the question is I can see the request in the fiddler , but it can not save after I do more than 2 click

Nick Iliev
Telerik team
commented on 07 Jun 2024, 06:10 AM

The above snippet uses OpenTextFile

https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/opentextfile-method 

and passes the value 2 for the iomode attribute, corresponding to the ForWriting mode. You probably need to change that to ForAppending mode (value 8).

https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/opentextfile-method#settings 

Tags
Fiddler Classic Windows
Asked by
Xuhui
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Share this question
or