Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JMeter with Windows Authentication?

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?

like image 880
Kyle Trauberman Avatar asked Nov 24 '09 23:11

Kyle Trauberman


People also ask

How do I bypass authentication in JMeter?

Basically to bypass a Basic Authorization you need to add the Authorization header with the value Basic base64(username:password). The problem is that JMeter has no base64 function embedded.

How does JMeter handle NTLM authentication?

JMeter provides HTTP Authorization Manager which deals with Basic, NTML and Kerberos authentication types, just add it to your Test Plan and provide username, password and domain there, JMeter will automatically build the relevant Authorization header and add it to your request(s).

How does JMeter handle Kerberos authentication?

To ensure that our JMeter application can make usage of Kerberos we need to provide a few settings so JMeter knows where to find the Kerberos Domain Controller and which domain realm should be used. There are two necessary configuration files that store those values: krb5. conf.


2 Answers

make sure to use http sampler=JAVA

like image 97
Tharinda Avatar answered Nov 08 '22 04:11

Tharinda


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.
like image 38
Francisco Aquino Avatar answered Nov 08 '22 03:11

Francisco Aquino