Fiddler(HTTP) Vs Wireshark (TCP/UDP)

转载 2016年05月31日 12:02:58

Recently, I came across an issue where a CGI application is not responding. Symptom is Firefox displaying:

Transferring data from localhost...

But the thing is I cannot see any traffic from Firebug's Net panel, and the browser just stays on the same stage forever.

I am thinking about the ways to debug this application but I cannot see the source code or any of its compiled Java/C++ components, therefore I reckon a HTTP network level of diagnostics is a good start.

I have little experience in Fiddler and Wireshark, just wondering will they get better feedback/statistics in the HTTP network level? I've heard Wireshark is advanced but could possibly introduce a large volume of traffic so system admins don't like it very much. At this time I think Firebug doesn't really show me enough information.

I need to collect information so that I can then forward to client as proof.

shareimprove this question

closed as primarily opinion-based by S.L. BarththeMayerShankar DamodarankarthikAndy Korneyev Jan 9 '15 at 7:06

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

 

7 Answers

Wireshark, Firebug, Fiddler all do similar things - capture network traffic.

  • Wireshark captures any kind of a network packet. It can capture packet details below TCP/IP(Http is at the top). It does have filters to reduce the noise it captures.

  • Firebug tracks each request the browser page makes and captures the associated headers and the time taken for each stage of the request (DNS, receiving, sending, ...). 

  • Fiddler works as a http/https proxy. It captures each http request the computer makes and records everything associated with it. Does allow things like converting post varibles to a table form and editing/replaying requests.  It doesn't, by default, capture localhost traffic in IE, see the FAQ for the workaround.

shareimprove this answer
 

None of the above. Use Charles Proxy. It's the best network/request information collecter that I have ever come across. You can view and edit all outgoing requests, and see the responses from those requests in several forms, depending on the type of the response. It costs 50 dollars for a license, but you can download the trial version and see what you think.

If you're on Windows, then I would just stay with Fiddler.

shareimprove this answer
 
1  
Ah, that appears to be awesome. – Macy Abbey Nov 24 '10 at 3:10
8  
Would it be possible for you to elaborate on how Charles is different from something like Fiddler? What you have mentioned above seems very much like fiddler. I currently use fiddler but would be glad to use something better if i get something more out of it. – InSane Nov 24 '10 at 3:36
14  
Charles and Fiddler are architecturally quite similar. Charles runs on a Mac; Fiddler won't. Charles is written in Java and costs money. Fiddler is written in C#, free, and easily extensible in .NET. – EricLaw Nov 24 '10 at 3:41 
6  
It actually works on Windows, Mac OSX and Linux – Casebash Feb 10 '12 at 5:13
5  
Why is it better than wireshark? – Goles Aug 12 '13 at 16:51

The benefit of WireShark is that it could possibly show you errors in levels below the HTTP protocol. Fiddler will show you errors in the HTTP protocol. 

If you think the problem is somewhere in the HTTP request issued by the browser, or you are just looking for more information in regards to what the server is responding with, or how long it is taking to respond, Fiddler should do. 

If you suspect something may be wrong in the TCP/IP protocol used by your browser and the server (or in other layers below that), go with WireShark.

shareimprove this answer
 
1  
Indeed, Wireshark can uncover proxy and nat server issues, it also can be used on both the client you are connection from as on the server. – Glenner003 Jan 15 '14 at 10:50 

Fiddler is the winner every time when comparing to Charles. 

The "customize rules" feature of fiddler is unparalleled in any http debugger. The ability to write code to manipulate http requests and responses on-the-fly is invaluable to me and the work I do in web development. 

There are so many features to fiddler that charles just does not have, and likely won't ever have. Fiddler is light-years ahead.

使用wireshark以及filddler配合抓去手机端的TCP以及HTTP请求

在测试手机客户端时,有时候需要查看网络请求状况。使用在IDE中查看log的方式,能够解决问题,但是会比较复杂。wireshark不能够做代理,而fiddler主要是抓HTTP请求,没有wireshar...

【HTTP】Fiddler(二) - 使用Fiddler做抓包分析

1.查看http请求 2.复制、保存和重放http请求 3.fiddler命令 4.session状态 5.设置断点 6.模拟http请求 7.流模式...
  • ohmygirl
  • ohmygirl
  • 2014年01月04日 23:34
  • 283257

推荐一些socket工具,TCP、UDP调试、抓包工具. 还记得我在很久很久以前和大家推荐的Fiddler和Charles debugger么?他们都是HTTP的神器级调试工具,非常非常的好用。好工具

还记得我在很久很久以前和大家推荐的Fiddler和Charles debugger么?他们都是HTTP的神器级调试工具,非常非常的好用。好工具能让你事半功倍,基本上,我是属于彻头彻尾的工具控。...

wireshark 分析 MAC、IPv4、UDP、TCP包结构

wireshark是在数据链路层抓包,如下图抓的UDP包,实际上抓到的是封装了UDP数据包的MAC帧,有以太网src IP和dst IP在内 MAC帧主要有两种格式,一种是以太网...

http 协议 tcp/udp

  • 2012年12月20日 14:12
  • 2.76MB
  • 下载

两款HTTP流量分析工具的比较----HttpWatch VS. Fiddler

以下文摘自http://www.imkevinyang.com/2009/11/%E3%80%90%E6%8E%A8%E8%8D%90%E3%80%91%E4%B8%A4%E6%AC%BEhttp%E...

通信协议—Http、TCP、UDP.doc

  • 2016年03月13日 23:39
  • 242KB
  • 下载

结合Wireshark捕获分组深入理解TCP/IP协议栈之HTTP协议

转自:http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=9407839&id=3873897 原文地址:结合Wireshar...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Fiddler(HTTP) Vs Wireshark (TCP/UDP)
举报原因:
原因补充:

(最多只允许输入30个字)