The most fundamental form of Web testing is HTTP request/response testing. This involves programmatically sending an HTTP request to the Web application, fetching the HTTP response, and examining the response for an expected value.

In the May 2008 issue of MSDN Magazine, James McCaffrey shows you how to use Windows PowerShell to perform request/response testing for an ASP.NET application.

Don't forget to browse the sample code in our online code library.

For more articles on testing, be sure to check out our MSDN Magazine archives. There's also coverage of Windows PowerShell in our sister publication, TechNet Magazine.