By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,670 Members | 1,462 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,670 IT Pros & Developers. It's quick & easy.

How would you load test this project?

P: n/a
Hi Folks,

I have a webservice I need to load test. I started out by creating a
webreference to my service and built a little class around it to generate
traffic as I expect it from the remote sites. I started up about 50
instances and set a timer on each one with random intervals. The problem is
that I start hitting the thread pool maximim and the webreference starts
throwing exceptions once more than 20 or so instances start generating
traffic. I checked Google Groups and saw that the problem with
httpwebrequest and the thread pool not queuing is pretty well known.

The usage pattern I'm trying to simulate is ~500 remote machines, each
invoking a certain web method anywhere from zero to five hundred times every
ten minutes. I really need to have quite a few different units hitting the
service at the same time if that's the way the timers pop. Would you guys
dump the webreference and write your own proxy type class, that doesn't do
any async calls, or approach this thing in another way alltogether? I'm a
rookie developer but I know my way around C# pretty well. Thanks in advance
for any help!

Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.