views:

57

answers:

4

Visual Studio 2010 .NET 3.5

Is there any tool that can trace the http request/response that send between my web application to the remote server? I use Wireshark or Fiddler, but both seem not so fit. Please advise, thanks.

A: 

I have yet to see an HTTP request that Fiddler can't trap and dissect. HTTPS can be a bit tricky, but HTTP is pretty straightforward.

dthorpe
Fiddler has a hard time trapping HTTP requests to the ASP.NET debug server. I use http://www.pocketsoap.com/tcptrace/ for that.
Jeroen Pluimers
A: 

What exactly are you trying to trace that Fiddler can't see?

Andrew Church
@Andrew: the idea behind StackOverflow is that you post only an answer as an answer; if you want to ask the original person a question, then post that as a comment to his question. Browse a bit upward to see how SLaks did that.
Jeroen Pluimers
+1  A: 

I use Charles Proxy or (in FireFox): Tamper Data and Live HTTP Headers. FWIW: I recently used Tamper Data and Live HTTP Headers on HTTPS, so I know from experience that they're both very capable for this. I seem to remember previously using Charles, Fiddler, and Wire Shark for this as well.

I'm a big fan of Fiddler and Wire Shark also, but you already said these aren't working for you. They've yet to fail me, but I don't know the particulars of your situation so I'll assume these aren't conducive for your scenario. There is a learning curve on these so they may be worth revisiting. IMHO they (and Charles) are some of the best tools out there and worth the bit of time to beat the learning curve.

Edit As per Richard's recommendation in the comments: FireBug is also popular. I've never personally used this but it has a good reputation.

Dinah
+1 for Charles, recommended.
devstuff
you should include FireBug in this list, its networking tab includes a log of all requests with heads/content and timing information.
Richard
A: 

You can also use the logging facilities in .NEt to create a log of the application. See this article on How to create a system.net trace log

feroze