Saving response to file

3 posts, 0 answers
  1. Probable
    Probable avatar
    2 posts
    Member since:
    Aug 2014

    Posted 08 Aug 2014 Link to this post

    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. Probable
    Probable avatar
    2 posts
    Member since:
    Aug 2014

    Posted 08 Aug 2014 in reply to Probable Link to this post

    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
  3. Eric Lawrence
    Admin
    Eric Lawrence avatar
    833 posts

    Posted 08 Aug 2014 Link to this post

    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.

     
Back to Top