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
Add a comment  | 

1 Answer 1

Reset to default 0

I 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