I am using JMeter UI to load test our web application. I am sending HTTP Requests in the following sequence.
- GET request for the login page.
- POST request to login to the application.
- GET users page after logging into the application.
I am testing with 50 users with a ramp-up period of 10 seconds and the loop count of 1.
Here are the results of the test:
- All the 50 GET requests succeeded.
- All the 50 POST requests to login failed with the error: `
org.apache.http.NoHttpResponseException: server failed to respond
` 3. 29 GET user requests passed and the remaining (21) failed with the response code 302.
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.
Can anyone please explain how can this happen?
Note: I am using HTTP cookie manager and HTTP cache manager.
Edit: I have KeepAlive disabled in all of my requests. Also, tried the suggestions from this thread. 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.
- All 50 GET login requests succeeded.
- 11 POST Login requests succeeded. The remaining (39) failed with the error `
org.apache.http.NoHttpResponseException: server failed to respond
` 3. 13 GET users requests succeeded. The remaining (37) failed with Response code: 302