问题：大并发时遇见java.net.SocketException: Connection reset at Jmeter
测试过程中经常遇见connection reset ，原因是大数据量发送时，服务器不能接纳那么多请求。
I supposed it happens because server can’t handle large load. By some reason server resets connection but it is not fail of JMeter.
There are at least 3 possibles reasons:
Most probable cause : Your server (meaning web servers handling request and any components after them) is not handling the load correctly and slowing down, monitor the system and check
You have exhausted your injector ephemeral ports , you need to adjust your OS TCP settings to increase port range
You’re running load test in GUI mode with a View Results Tree in test, this is bad practice as GC will happen frequently possibly triggering Stop The World leading to this. As per best-practices use NON GUI mode: