jmeter报错
1. Address already in use: connect
解决:
方法一:不勾选 User KeepAlive
方法二:
①win+R输入regedit打开注册表
②修改注册表
计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters MaxUserPort改为65535
③重启电脑
参考:
https://blog.csdn.net/MenofGod/article/details/84589751?spm=1001.2101.3001.6650.8&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-8.no_search_link&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Edefault-8.no_search_link&utm_relevant_index=13
https://blog.51cto.com/u_11959825/2448892
https://blog.csdn.net/weixin_43125048/article/details/103379118
2. Socket operation on nonsocket: connect
原因:通过代理访问外网,测试是未设置代理
解决:填写代理
3.jmeter非GUI模式模式报错
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
解决
①win+R输入regedit打开注册表
②计算机\HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft,编辑--权限
改完后
参考:https://www.tqwba.com/x_d/jishu/167516.html