Hi, I am facing a problem when I try to stress test a server using TIdHttpServer I am creating to be fast
I am using TRESTClient, and request components to create the test on the client side.
I use both the client tester and server on the same machine
The test is based on creating like 20,000 threads with each one contains an instance of these component and execute a simple GET request from the server. The server only returns a one line of text as response.
1 or 2 of the 20,000 requests get the error exception mentioned in the subject
"REST request failed: Error receiving data: (12152) The server returned an invalid or unrecognized response"
Now I don't know the cause of this error and how can debug this issue because when
run the serve in debug mode the server become very slow and the exception is
never raised in the first place.
Any help will be appreciated
Thanks in Advance
Ahmed Sayed