简体   繁体   中英

JMeter preferring Negotiate over NTLM

We have an application where it is enabled with Windows Authentication where it has Negotiate and NTLM in the provider module. It seems that Jmeter is preferring to send the request using the Negotiate and is failing whereas when tried from LoadRunner, we see that it is always sending as NTLM and it passes from there.

Has anyone come across this kind of situation? If yes, how can we force Jmeter to use NTLM authentcation rather than Negotiate?

Thanks for help.

JMeter doesn't "prefer" anything, it depends on the HTTP Authorization Manager configuration which you have to perform.

Your test should implement real user behavior, not LoadRunner behaviour, if real browser performs Kerberos authentication - you need to do this and vice versa.


To force JMeter to use NTLM just make sure not to select KERBEROS mechanism, use BASIC_DIGEST .

Check out Windows Authentication with Apache JMeter article for more details if needed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM