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

FiddlerCore mocked response not returned to the client

1 Answer 148 Views
FiddlerCore
This is a migrated thread and some comments may be shown as answers.
Malleswari
Top achievements
Rank 1
Malleswari asked on 18 Feb 2019, 06:19 PM

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

 

1 Answer, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 26 Feb 2019, 12:29 PM
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
Tags
FiddlerCore
Asked by
Malleswari
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Share this question
or