I am having a problem when running a recording in jmeter. In the Results Tree it shows that the login screen is hit over and over - it should be accessing other pages. During the recording I was able to login and access the restricted pages.
My plan was this:
1. Login to the internal site
2. Click on various pages in the site
3. Create objects on the site
I was able to record this using jmeter and also using bad boy (tried both).
"When playing back in JMeter the tool is hitting the login page again & again?" is this your problem statement?
This happens, when the login does not happen successfully.
Generally the tools capture the requests and play it back sequentially.
In your case:
First request is to your login screen.
Second is clicking on various pages in the site. But if the first step is not successful then the server again redirects to the login page. (This redirection mechanism is purely driven by code deployed on the server)
In your case authentication is failing and it is redirecting to login page. Please note that the response is the login page. If you check the request, it will be for a different page.
Why is the authentication failing?
1. Does your application have NTLM authentication?
2. Did you use cookie manager?
Thanks. I should have phrased it better. The problem is that I record my steps, but then the login portion of the script fails when I run it.
I have tried redoing the steps numerous times with different logins - all work manually. It is only when the script runs that the login fails. But, the return on the results in jmeter doesn't show an error on the login part.