[200 OK]: A Port80 Software Blog

We're all 200 OK: Web, HTTP and IIS Insights
posts - 203, comments - 424, trackbacks - 100

Network Monitor Basics: How To Capture an HTTP Trace with NetMon

On every Windows Server 2000 and 2003 install disk, Microsoft includes a tool called Network Monitor, or what is commonly called NetMon. This tool is probably not ideal for someone's first look into things at the HTTP level, because it captures all things at the network level and up--TCP handshakes, broadcast packets, anything that passes through your NIC. However, more information is better than none, and if you already have the install disk, the price for this tool is right.

Since the Network Monitor tool is a Windows component included on your install disk, you can install it through Settings >> Control Panel >> Add/Remove Programs. Select the Add/Remove Windows Components button on the left. NetMon is included in the Management and Monitoring Tools group.

Once installed, you access NetMon through Start >> Programs >> Administrative Tools. Capturing and viewing what happens during an HTTP request is easy. There are only two buttons that you'll need to use--Play and Stop and View Capture.

To get a clean capture you'll need to close any applications that might make HTTP or other network level requests.

  1. Prepare a browser to make the request.
  2. Click Play on Netmon.
  3. Request the page through the browser.
  4. After the page has displayed, click Stop and View Capture.

The Capture can then even be saved as a .cap file.

posted on Tuesday, November 23, 2004 11:59 AM

Feedback

# re: Network Monitor Basics: How To Capture an HTTP Trace with NetMon

it's very hard to extract out http request/response information really interesting using Netmon. When it comes to HTTPS, it's just impossible. there are some shareware out there presents http and https traces in a highly readable viewer, IETrace is the latest and the best.
http://ietrace.jumpersoftware.com
12/26/2004 8:22 PM | Kenny Chen

# re: Network Monitor Basics: How To Capture an HTTP Trace with NetMon

Fiddler is an ideal tool to view HTTP/HTTPS requests and responses. It was written by one of the program managers at Microsoft.

http://www.FiddlerTool.com/
4/10/2006 8:33 PM | Carlos Juenga

# re: Network Monitor Basics: How To Capture an HTTP Trace with NetMon

Fiddler and the other tools are all well and good but are unable to capture requests coming from other clients. Netmon (or wireshark) are perhaps the only useful tools available for capturing every request coming in to your server. Wirshark gives you a raw HTTP view which is really useful.
9/24/2007 6:38 AM | Wole

# re: Network Monitor Basics: How To Capture an HTTP Trace with NetMon

When it comes to HTTPS, it's just impossible.
5/13/2008 12:26 AM | resimler

# re: Network Monitor Basics: How To Capture an HTTP Trace with NetMon

thx for your plugin I am Blog
7/18/2008 9:51 AM | youtube

Post Comment

Title:  
Name:  
Url:  
Comment:  
Verify:
(Enter the word as it appears in the box above.)