title: Login to application fails. But the request after login succeeds
body: <p>I am using JMeter UI to load test our web application. I am sending HTTP Requests in the following sequence.</p>
  
  <ol>
  <li>GET request for the login page.</li>
  <li>POST request to login to the application.</li>
  <li>GET users page after logging into the application.</li>
  </ol>
  
  <p>I am testing with 50 users with a ramp-up period of 10 seconds and the loop count of 1.</p>
  
  <p>Here are the results of the test:</p>
  
  <ol>
  <li>All the 50 GET requests succeeded.</li>
  <li>All the 50 POST requests to login failed with the error: `</li>
  </ol>
  
  <blockquote>
    <p><code>org.apache.http.NoHttpResponseException: server failed to respond</code></p>
  </blockquote>
  
  <p>`
  3. 29 GET user requests passed and the remaining (21) failed with the response code 302.</p>
  
  <p>From my understanding, since all the POST requests to login to the application failed, I would expect that all the GET requests to get the users page would also fail. But, some of the GET users requests succeeded. </p>
  
  <p>Can anyone please explain how can this happen?</p>
  
  <p>Note: I am using HTTP cookie manager and HTTP cache manager.</p>
  
  <p><strong>Edit:</strong> 
  I have KeepAlive disabled in all of my requests. Also, tried the suggestions from this <a href="https://stackoverflow.com/questions/27942583/non-http-response-message-the-target-server-failed-to-respond-is-my-server-fai">thread</a>. But, no luck.
  Also, for 50 virtual users, if i set the ramp-up period as 120 seconds, then all the requests are successful.
  I notice the problem mentioned above, only when i set the ramp-up period as 10 seconds.
  When i set the ramp-up period as 60 seconds, the results are as shown below.</p>
  
  <ol>
  <li>All 50 GET login requests succeeded.</li>
  <li>11 POST Login requests succeeded. The remaining (39) failed with the error `</li>
  </ol>
  
  <blockquote>
    <p><code>org.apache.http.NoHttpResponseException: server failed to respond</code></p>
  </blockquote>
  
  <p>`
  3. 13 GET users requests succeeded. The remaining (37) failed with Response code: 302 </p>