Kyle Trauberman
Kyle Trauberman

Reputation: 25694

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?

Upvotes: 6

Views: 14131

Answers (3)

Tharinda
Tharinda

Reputation: 61

make sure to use http sampler=JAVA

Upvotes: 6

iworkforthem
iworkforthem

Reputation: 31

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.

Upvotes: 3

Francisco Aquino
Francisco Aquino

Reputation: 9117

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.

Upvotes: 4

Related Questions