views:

18

answers:

2

Can someone explain to me how to get jmeter to login. I have an http request that goes to apps/j_security_check. I have added two parameters j_username and j_password. It does not seem to authenticate the user when I run this request.

A: 

Take a gander at http://stackoverflow.com/questions/3443173/simulate-200-users-with-jmeter-each-with-unique-logins

It may be that to login you must pass a unique security token.

Have you tried recording the login process, to see what is captured? If you add a "View Results Tree" you should see the exact login error.

BlackGaff
A: 

I found what was wrong. I used a Capital J in j_password causing the authentication to fail.

Thanks for every bodies help.

Doug