C# - Stress testing a Web Service - Timeout
Posted on 2007-11-19
I have a web service that is query'ing a database. The query takes a few seconds to run.
I'm stress testing my web service using a couple of threads.
If the interval is too short between the threads that execute the web service, I get the following exception.
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Error fetching *MyWebserviceMethods*.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
Any ideas why this is happening? I thought web services can handle some load.