JMeter with Windows Authentication?

久未见 提交于 2019-12-06 02:32:45

问题


I am using JMeter to load test some pages that reside in a SharePoint 2007 Site. The farm that contains the pages resides in a different domain than the machine running the test, and uses Windows Authenticiation. The connection to the server is over an unencrypted (non-SSL) connection. Because of this, I need to pass login credentials to the server.

How do I configure JMeter to login to the server using windows authentication?


回答1:


Try this

Edit based on the reply: new link Scroll down to the Parameters section,

  • Username The username to authorize.
  • Password The password for the user.
  • Domain The domain to use for NTLM.
  • Realm The realm to use for NTLM.



回答2:


make sure to use http sampler=JAVA




回答3:


Add HTTP Authorization Manager to the Thread Group.

Using [domain]username[@realm] as your Windows login example.

BASE URL: [yourdomainurl]

USERNAME: [domain\username] <- UPPERCASE ONLY

PASSOWORD: [password]

This work for my case.



来源:https://stackoverflow.com/questions/1793649/jmeter-with-windows-authentication

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!