This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes JMeter and form authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JMeter and form authentication" Watch "JMeter and form authentication" New topic
Author

JMeter and form authentication

camilla bat
Greenhorn

Joined: Jul 29, 2005
Posts: 14
This might not be the correct location for this, but I try anyway.

I have problems finding out how to authenticate users in each thread using JMeter. Via the website I post username and password through j_security_check. I tried to simulate a login by creating a HTTP Request in JMeter that has the path:
hostname/j_security_check. The parameters are j_username with value and j_password with value.

I found out that it actually does the authentication, but JMeter gives be an error: "408 - The time allowed for the login process has exceeded......". I have even tried with one thread only cause I thought it didn't create a new session for each thread. That didn't help.

Does anyone have any experience with this? And know how to handle such authentication using JMeter.

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMeter and form authentication
 
Similar Threads
How to use j_security_check directly (skip the login page)?
forms authentication (j_security_check) with JSF
pre or post filter j_security_check
Automatic authentication j_security_check
Character encoding not working for j_security_check