JMeter Non HTTP response code: java.net.UnknownHostException when running on Kubernetes JMeter Non HTTP response code: java.net.UnknownHostException when running on Kubernetes kubernetes kubernetes

JMeter Non HTTP response code: java.net.UnknownHostException when running on Kubernetes


I doubt that this is a JMeter problem, most probably your pod doesn't have the Internet access for some reason, you might want to get familiarized with the following materials:

However if JMeter is the only piece of software having this problem you might want to increase JMeter's logging verbosity for HTTP protocol by adding the next lines to log4j2.xml file:

<Logger name="org.apache.http" level="debug" /><Logger name="org.apache.http.wire" level="error" /><Logger name="org.apache.jmeter.protocol.http" level="debug" />

One of the possible reasons is that locally you configured JMeter to use your corporate proxy for accessing the Internet and by accident forgot to remove this settings for your k8s deployment