FiddlerCore mocked response not returned to the client

2 posts, 0 answers
  1. Malleswari
    Malleswari avatar
    3 posts
    Member since:
    Feb 2019

    Posted 18 Feb Link to this post

    Thanks to the amazing FiddlerCore and quick replies on this forum.

     

    I have developed a simple C# solution that uses FiddlerCore to mock the HTTPS requests of an application(.exe) which invokes an URL and responds with json data. I have made the changes in the BeforeRequest() and BeforeResponse() as below.

    * BeforeRequest(oSession)

    {

    oSession.bBufferResponse = true;

    }

    * BeforeResponse(oSession){ session.utilSetResponseBody("myjson.json); }

    I could see from the log that response has been modified but the response is not being sent back to client [my application is timing out]. 

    I have checked with other URL's which are working as expected with Fiddler tool Autoresponder, but not working through my code.

     

    Any help is highly appreciated..

     

    Thanks,

    Malleswari

     

  2. Alexander
    Admin
    Alexander avatar
    383 posts

    Posted 26 Feb Link to this post

    Hello,

    Would it be possible to provide a sample project where this behavior can be reproduced? This would enable us to investigate the issue.

    Regards,
    Alexander
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top