makeshiftwings

I'm running a load test on a web service by using unit tests, similar to the method outlined here. I know that some of the calls are taking a long time to respond by putting timers on the actual unit test client calls. But is there a way to get this same timing from the ASP.NET server

Despite the fact that I can stress the web server enough that it takes five minutes for it to respond to an average request, I can't seem to find any counter on the ASP.NET server itself that would give a clue that it's taking forever to respond except for the fact that "Requests Queued" is high. The values reported by "Request Execution Time" are a few seconds, so I'm guessing that counter is only the time between when a request is pulled off the queue and then responded to. "Request Wait Time" seems to be what I would want by reading its description, but it is almost constantly zero. Am I missing something


Re: Visual Studio Team System - Web and Load Testing Which perf counter tells me how long a web service call is taking?

guy kolbis

IIS has connection limit and connection queue length.

Connection limit is how many connection can be opened against the IIS at the same time, while connection queue length is the size of the queue for requests that are not currently served. When the number of requests exceeds the queue length a 503 exceptions will return from the IIS.






Re: Visual Studio Team System - Web and Load Testing Which perf counter tells me how long a web service call is taking?

makeshiftwings

Thanks guy, I'm already aware of those settings though. I'm looking for a perf counter that will tell me how long users are sitting in the queue. It seems like ASP.NET Request Wait Time is the one that is supposed to be doing this, but for some reason it is almost always zero.

So, for now, I've fallen back to splitting every single ASP.NET call into its own unit test and assuming the time for each test minus the request execution time is more or less the request wait time.




Re: Visual Studio Team System - Web and Load Testing Which perf counter tells me how long a web service call is taking?

slumley MSFT

You may also be able to use timers in the unit test. This is the same thing as transactions in a web test and will show up on the transaction table in a load test. Check out this blog post for how that works: http://blogs.msdn.com/slumley/archive/2006/04/14/load-testing-web-services-with-unit-tests.aspx