Handshake did not complete within 10000ms

I send 450 request per seconds and get the following failure

java.net.ConnectException: Handshake did not complete within 10000ms

it is possible to configure the handshake timeout?

Do you really think users would be satisfied with such response times?
Your server can’t keep up with this load, period.

Don’t try to hide from this issue by increasing limits. Report it and fix it.

by 250 requests per second I don’t have any problems, the response times are <1000ms.

only if I increase the request from 250 to 300 requests or more, i am getting java.net.ConnectException: Handshake did not complete within 10000ms.
The question for me is, can i set the timeout for handshake by gattling or how can i work around this problem?
Thanks in advance.

The point is, don’t try to work around it. You have found the limits of the system under test. Either increase the capacity of the system under test, or just report to the powers that be that the system can’t do that much of a work load, and if it ever happens in real life, the end user experience will be terrible.

Make sense?