File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes JMeter windows authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "JMeter windows authentication" Watch "JMeter windows authentication" New topic

JMeter windows authentication

Rahul somanath

Joined: Jul 12, 2010
Posts: 19
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

I also tried changing
Base url: http://localhost:3030
domain: m1

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
Rahul somanath

Joined: Jul 12, 2010
Posts: 19
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

Joined: Dec 08, 2011
Posts: 16
Have you found a solution to your problem?
I need to do the same thing.
Thank you
Rahul somanath

Joined: Jul 12, 2010
Posts: 19
Hi Sabine Chemaly

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

Thanking You
Antonio Diaz

Joined: Mar 23, 2012
Posts: 1
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

Joined: Oct 13, 2013
Posts: 34
Hey folks,

Check Windows Authentication with Apache JMeter guide out.

It covers both NTLM and Kerberos protocol.

Hope this helps.
I agree. Here's the link:
subject: JMeter windows authentication
It's not a secret anymore!