IIS Stress Testing with WCAT and Log Parser

Server Setup:

  • Windows Server 2008 64-bit
  • IIS 7.5
  • WCAT 5.2
  • Log Parser 2.2

WCAT wasn’t as straightforward as I was hoping it would be and the instructions online aren’t very cohesive, plus there seems to be a few ways to use the program. Hopefully this will help anyone with similar needs. Please note that the last version of WCAT is 6.3, as of this writing, but due to non-technical reasons, we installed WCAT 5.2 instead. There are differences in how to use the tools when comparing 5.2 and 6.3, specifically the way the configuration uberfile (UBR) is formatted. The biggest hint is that if the file uses curly brackets “{}”, then that is for the latest 6.3 version. This writeup is for using the older 5.2 version. Adapting to the newer version should be similar but with differently formatted config files.

Ideally, a two-machine setup should be used because running the tests on the same machine will skew the results but if you are like us and didn’t have a choice in this situation with only one machine to use, then running it on one machine will be sufficient to get a rough idea.

Once installed, there are basically two steps in order to use WCAT. The first step is to generate the configuration file for WCAT to use and the second step is to actually use WCAT.

Continue reading