解决jmeter报connection reset 错误的方法

You must have this line, 
"set ARGS=%DUMP% %HEAP% %NEW% %SURVIVOR% %TENURING% %RMIGC% %PERM% %DDRAW% " 
change this line by(without quotes) 
"set ARGS=%DUMP% %HEAP% %NEW% %SURVIVOR% %TENURING% %RMIGC% %PERM% %DDRAW% 
%IPV4%" 

 before this line add this (without quotes): 
2. "set IPV4=-Djava.net.preferIPv4Stack=true" 

还需要验证

原文地址:https://www.cnblogs.com/serenahjj/p/4727270.html