Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMeter windows authentication  RSS feed

 
Rahul somanath
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I am new to JMeter. I am currently doing a performance testing of a web application using Jmeter. This web application uses Windows authentication.
When I am generating the request i am getting the following message in the response section of the "View Results Tree"



I came to know that for windows authentication we need to use Http Authorization manager above the Http Request element.
This is the input i have given

Base url: http://localhost:3030
username: m1/userid
password:pass

I also tried changing
Base url: http://localhost:3030
username:userid
domain: m1
password:pass

I am still not able to resolve the issue. I would be great if someone could help me in resolving the above issue in JMeter. I also dont understand what is Realm, whether it is required or not and why

Thanks and Regards
Fierof2
 
Rahul somanath
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I google a lot and could not find an answer to the above question. Can someone let me know if JMeter supports SPNEGO authentication.
 
Sabine Chemaly
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Have you found a solution to your problem?
I need to do the same thing.
Thank you
 
Rahul somanath
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sabine Chemaly

I have not found the solution. If you have found the solution please let me know.

Thanking You
Rahul
 
Antonio Diaz
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That error is due to SPNEGO authentication mechanism. You're probably trying to connect to a non-basic authentication port (like Kerberos, for instance) which is not supported by JMeter. The solution consist in using a port with basic auth, normally 83, having your HTTP Authentication manager correctly configured. If you are calling a clustered server, i'd recommend calling one of the two radwares directly. I hope this helps!
 
Dmitri Tikhanski
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey folks,

Check Windows Authentication with Apache JMeter guide out.

It covers both NTLM and Kerberos protocol.

Hope this helps.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!