I am running my JMeter on Azure Kubernetes for load testing. JMeter uses HTTP sampler to call Azure function( HTTP endpoint) to generate load. I am getting error message Response code:Non HTTP response code: java.net.UnknownHostException Response message:Non HTTP response message: abcd.azurewebsites.net. on kubernetes.
I ran my JMeter test in Azure virtual machine and I am not getting any issue. I am using same test plan (jmx file) for both Kuberenetes and virtual machine and same Azure function is used in both cases.
Please let me know why getting error Response code:Non HTTP response code: java.net.UnknownHostException Response message:Non HTTP response message: abcd.azurewebsites.net when running on Kubernetes.
I am using following configurations
- JMeter - 5.2.1
- Kubernetes - 1.19.9
- Jmx file has 150 threads
Regards, Amit Agrawal