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

Saving response to file

2 Answers 86 Views
FiddlerCore
This is a migrated thread and some comments may be shown as answers.
Probable
Top achievements
Rank 1
Probable asked on 08 Aug 2014, 11:10 AM
Hi,
I'd like to save a complete raw response to a file with a little bit of extra debugging info added.
Looking at the demo app, its easy enough to get the FiddlerApplication_OnReadResponseBuffer and get the response data from that, but how can you correlate callback events to particular responses when a response is bigger than the 0x8000 buffer. In the past I have done this via netflows, but we don't seem to have access to server ip/port.

Any thoughts much appreciated.

Paul

2 Answers, 1 is accepted

Sort by
0
Probable
Top achievements
Rank 1
answered on 08 Aug 2014, 11:29 AM
Sorry, should have looked at example code better. The id field on the sessionowner object thats part of the rawreadeventargs  is perfect for what I want.

Best Wishes

Paul
0
Eric Lawrence
Telerik team
answered on 08 Aug 2014, 06:27 PM
Hello, Probable--

You almost never want to use the OnReadResponseBuffer callback, which is should be used only in the very rarest of circumstances. Typically, you'd want to save responses inside the BeforeResponse or AfterSessionComplete handlers.

Regards,
Eric Lawrence
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
FiddlerCore
Asked by
Probable
Top achievements
Rank 1
Answers by
Probable
Top achievements
Rank 1
Eric Lawrence
Telerik team
Share this question
or