I'm using JMeter to test Spring Boot REST API server.
JMeter options are
Concurrent users : 200
Ramp-up period : 10 seconds
Loop Count : 500
The test going well until 1-20000 requests,
but please see next images.
Average response time is below 10ms, but sometimes over 20~50ms.
When response time increases, connect timeout occurrs.
Even if I set the connect timeout over 10 minutes.
Why this error occurred? I can't find it..
As per ConnectTimeoutException documentation:
A timeout while connecting to an HTTP server or waiting for an available connection from an HttpConnectionManager.
So there are 2 possible reasons:
Your server fails to process the incoming connections, it might be due to:
JMeter doesn't have enough resources in order to conduct the required load
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.