File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "JMeter windows authentication" Watch "JMeter windows authentication" New topic
Author

JMeter windows authentication

Rahul somanath
Greenhorn

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

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
Greenhorn

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

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
Rahul
Antonio Diaz
Greenhorn

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
Greenhorn

Joined: Oct 13, 2013
Posts: 9
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: http://aspose.com/file-tools
 
subject: JMeter windows authentication
 
Similar Threads
Browser Path Not Refreshing
Performance Testing Using JMeter.
Problem with JSPs in web application
Simple form-based authentication using JAAS
HTTP status 404 error on page