admin管理员组文章数量:1398166
I have installed JMeter on my Mac and added a sample HTTP get request to ping jmeter
home (very basic script).
- JMeter version : 5.6.3
- Mac OS: Sequola 15.3.2
- JDK version : Java 24
- Network : Wifi
Error Messages:
Response code:Non HTTP response code: java.SocketException
Response message:Non HTTP response message: Network is unreachable
Need help on running JMeter. Since this is a JMeter basic script I have no idea what causes this as this is my personal laptop and no extra network configuration.
I have installed JMeter on my Mac and added a sample HTTP get request to ping jmeter.
home (very basic script).
- JMeter version : 5.6.3
- Mac OS: Sequola 15.3.2
- JDK version : Java 24
- Network : Wifi
Error Messages:
Response code:Non HTTP response code: java.SocketException
Response message:Non HTTP response message: Network is unreachable
Need help on running JMeter. Since this is a JMeter basic script I have no idea what causes this as this is my personal laptop and no extra network configuration.
Share Improve this question edited Mar 30 at 20:08 Justin Bertram 35.4k6 gold badges26 silver badges49 bronze badges asked Mar 25 at 19:09 NeyomalNeyomal 1,6571 gold badge13 silver badges15 bronze badges 1- Doesn't work for me either. You're not alone. – user207421 Commented Mar 26 at 0:31
1 Answer
Reset to default 0I cannot reproduce it using Apache JMeter 5.6.3 and Java 24:
As you can see, HTTP Request sampler is successful and response can be seen in the View Results Tree listener.
And Debug Sampler shows that I'm running Java 24.
It might be the case you're behind a proxy, in this case you need to make JMeter aware of this proxy
本文标签: JMeterJava net socket exceptionStack Overflow
版权声明:本文标题:JMeter - Java net socket exception - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744174463a2593934.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论