Always getting error “Non HTTP response code: java.net.UnknownHostException”
<p>I tried stress testing with JMeter software to test a web site as it crashed after a sms campaign. Currently site has been moved to a physical server.</p>

<p>I tested multiple times by adding threads, it worked and gave few errors (for above 1000 threads), and worked for 400 threads with no error. So I tried distributed testing with 4 PCs including my one. </p>

<p>After I tried again with only my PC to send requests to the site by adding 400 threads(ramp up = 1 , loop = 1). But each and every requests gives error. Then I tried using 1 thread. Same error was given.</p>

<p><a href="https://i.stack.imgur.com/RYwc9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RYwc9.png" alt="enter image description here"></a></p>

<p>I checked my network connection, and there is no problem. Then I browsed the web site "<a href="http://www.myjobs.lk/" rel="nofollow noreferrer">http://www.myjobs.lk/</a>", and it works fine. </p>

<p>These are the values I have given in testing.</p>

<p><a href="https://i.stack.imgur.com/dfZE3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dfZE3.png" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/QUL0M.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QUL0M.png" alt="enter image description here"></a></p>

<p><a href="https://i.stack.imgur.com/GVrlG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GVrlG.png" alt="enter image description here"></a></p>

<p>Under this condition, I cannot perform the testing because it always gives errors. How can I overcome this problem?</p>