If you are after non-ASP.NET pages, you would have to look at using ISAPI extension / filter. For asp.net, you can go after the Response / Request objects. You would have to look at using an HTTP Module.
One other thing you can do is use WAST (web application stress tool) to reply IIS logs, so it would in a sense reply what you want. I'm assuming this is for load testing.
singhhome
15 Posts
Logging Incoming Http Request header and Request body
Feb 04, 2008 03:37 PM|LINK
Is there a way in IIS to log the complete Request(Http request header and body)?
tomkmvp
7657 Posts
MVP
Moderator
Re: Logging Incoming Http Request header and Request body
Feb 04, 2008 05:42 PM|LINK
For what purpose? If I understand what you want to do I may be able to help ...
http://mvp.support.microsoft.com/
singhhome
15 Posts
Re: Logging Incoming Http Request header and Request body
Feb 06, 2008 05:34 AM|LINK
I want to capture the incoming request (with Header and body), so that I can replay that request.
Assuming Authentication is not an issue for replay.
Regards,
steve schofi...
5681 Posts
MVP
Moderator
Re: Logging Incoming Http Request header and Request body
Feb 07, 2008 01:58 AM|LINK
If you are after non-ASP.NET pages, you would have to look at using ISAPI extension / filter. For asp.net, you can go after the Response / Request objects. You would have to look at using an HTTP Module.
Steve Schofield
Windows Server MVP - IIS
http://iislogs.com/steveschofield
http://www.IISLogs.com
Log archival solution
Install, Configure, Forget
steve schofi...
5681 Posts
MVP
Moderator
Re: Logging Incoming Http Request header and Request body
Feb 07, 2008 02:00 AM|LINK
One other thing you can do is use WAST (web application stress tool) to reply IIS logs, so it would in a sense reply what you want. I'm assuming this is for load testing.
Steve Schofield
Windows Server MVP - IIS
http://iislogs.com/steveschofield
http://www.IISLogs.com
Log archival solution
Install, Configure, Forget