6

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?

Kyle Trauberman
  • 25,414
  • 13
  • 85
  • 121

3 Answers3

6

make sure to use http sampler=JAVA

Tharinda
  • 61
  • 1
  • 1
  • 1
    Choosing Java as the HTTP Request implementation did the trick for me; neither HttpClient3.1 nor HttpClient4 worked (both returned 401 errors). I did not need to use an HTTP Authorization Manager at all, presumably because it's utilizing my own domain credentials automatically (as my Windows PC is connected to the domain). – Nick Jones Nov 27 '12 at 21:15
4

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.
Francisco Aquino
  • 9,097
  • 1
  • 31
  • 37
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.