Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMeter and form authentication

 
camilla bat
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic