Stresstesting ASP.NET/IIS with WCAT

Posted by MartinHN on Stack Overflow See other posts from Stack Overflow or by MartinHN
Published on 2008-09-22T13:15:02Z Indexed on 2010/04/09 5:03 UTC
Read the original article Hit count: 847

Filed under:
|
|
|

I'm trying to setup a stress/load test using the WCAT toolkit included in the IIS Resources.

Using LogParser, I've processed a UBR file with configuration. It looks something like this:

    [Configuration]
NumClientMachines:  1        # number of distinct client machines to use
NumClientThreads:     100     # number of threads per machine
AsynchronousWait:     TRUE     # asynchronous wait for think and delay
Duration:             5m      # length of experiment (m = minutes, s = seconds)
MaxRecvBuffer:        8192K      # suggested maximum received buffer
ThinkTime:            0s       # maximum think-time before next request
WarmupTime:           5s      # time to warm up before taking statistics
CooldownTime:         6s      # time to cool down at the end of the experiment 

[Performance]

[Script]
SET RequestHeader = "Accept: */*\r\n"
APP RequestHeader = "Accept-Language: en-us\r\n"
APP RequestHeader = "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705)\r\n"
APP RequestHeader = "Host: %HOST%\r\n"

NEW TRANSACTION
	classId = 1
	NEW REQUEST HTTP
	ResponseStatusCode = 200
	Weight = 45117
	verb = "GET"
	URL = "http://Url1.com" 

NEW TRANSACTION
	classId = 3
	NEW REQUEST HTTP
	ResponseStatusCode = 200
	Weight = 13662
	verb = "GET"
	URL = "http://Url1.com/test.aspx"

Does it look OK?

I execute the controller with this command: wcctl -z StressTest.ubr -a localhost

The Client(s) is executed like this: wcclient localhost

When the client is executed, I get this error: main client thread Connect Attempt 0 Failed. Error = 10061

Has anyone in this world ever used WCAT?

© Stack Overflow or respective owner

Related posts about stress-testing

  • JMeter Stress testing

    as seen on Server Fault - Search for 'Server Fault'
    MAMP server hosting a Joomla instance. I'd like to hear the community's thoughts on the best way to stress test the server and find it's breaking point on concurrent users etc. Currently I have setup a test plan which I have going to the home page, grabbing the index.php, css, js and all images and… >>> More

  • Stresstesting ASP.NET/IIS with WCAT

    as seen on Stack Overflow - Search for 'Stack Overflow'
    I'm trying to setup a stress/load test using the WCAT toolkit included in the IIS Resources. Using LogParser, I've processed a UBR file with configuration. It looks something like this: [Configuration] NumClientMachines: 1 # number of distinct client machines to use NumClientThreads:… >>> More

  • web application load / stress testing services

    as seen on Programmers - Search for 'Programmers'
    Can you recommend reputable companies that offer help (consulting services, etc) in load testing (ASP.NET) web applications? We have a client looking to load test an ASP.NET application and we don't have any expertise in load testing web applications. The client is located in central Massachusetts… >>> More

  • Stress test speed on a gateway?

    as seen on Server Fault - Search for 'Server Fault'
    I'm interested in stress testing my gateway server but am lost on how. Most of the stress testing applications I've seen only see how much load an app like Apache can handle, but not this. Essentially I want to send as many packets I can into this box with one computer on one card and see how many… >>> More

  • Stress test speed on a gateway?

    as seen on Server Fault - Search for 'Server Fault'
    I'm interested in stress testing my gateway server but am lost on how. Most of the stress testing applications I've seen only see how much load an app like Apache can handle, but not this. Essentially I want to send as many packets I can into this box with one computer on one card and see how many… >>> More

Related posts about wcat