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

Using FiddlerCore to read HTTP request codes in IE11

2 Answers 183 Views
FiddlerCore
This is a migrated thread and some comments may be shown as answers.
ekranas
Top achievements
Rank 1
ekranas asked on 26 Sep 2018, 12:06 PM
I am trying to  create a very basic read some http request/response codes program using the fiddler core library for c# .net v. 4.5.2 . There are plenty of good code examples and I managed to read the required status codes using the Chrome browser. But I can’t do it in IE 11 (The AfterSessionComplete event is  not called or called very rarely). The website is plain HTTP so no need for any certificates or such. Checking Internet explorer LAN setting shows that it is using fiddler proxy with my preset port 9999. Sadly the Logstring and Notification event don’t provide any output. Any tips or tricks to try out would be appreciated.

2 Answers, 1 is accepted

Sort by
0
ekranas
Top achievements
Rank 1
answered on 26 Sep 2018, 01:13 PM
Small update:
In order to eliminate coding issues on my part I ran the demo app and tested it on both IE and Chrome. Opening large and popular websites does trigger alot of HTTP requests and responses in both browsers but the local website I am interested only triggers HTTP requests on chrome and not on IE. So probably the issue is not in the fiddlercore API but in the website I am testing or the browser settings. Still open for suggestions.
0
ekranas
Top achievements
Rank 1
answered on 19 Oct 2018, 07:24 AM
Long story short: you can eather config web server to use a non-local adress or use : http://localhost.fiddler:**** with specific port number
Tags
FiddlerCore
Asked by
ekranas
Top achievements
Rank 1
Answers by
ekranas
Top achievements
Rank 1
Share this question
or