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

Fiddler doesn't capture Apache HttpClient post

1 Answer 1271 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Jasper
Top achievements
Rank 1
Jasper asked on 19 Aug 2015, 06:13 PM

Somehow Fiddler doesn't capture the posts I send from my HttpClient provided by Apache.
But when I send the same post in C# using the HttpClient to the same server, Fiddler does intercept the sessions.

My Java code:
http://pastebin.com/a6zczxq3 

Any thoughts? Thanks!

1 Answer, 1 is accepted

Sort by
0
Eric Lawrence
Telerik team
answered on 19 Aug 2015, 07:01 PM
You must configure your Java client to route its traffic through the Fiddler proxy (127.0.0.1:8888).

See e.g. http://stackoverflow.com/questions/8549749/how-to-capture-https-with-fiddler-in-java

Regards,
Eric Lawrence
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
Fiddler Classic
Asked by
Jasper
Top achievements
Rank 1
Answers by
Eric Lawrence
Telerik team
Share this question
or