views:

554

answers:

1

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  A: 

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.
F.Aquino
That url doesn't work.
Kyle Trauberman
Well that's odd, I posted that one from the office and not I am at home and still works. Using Safari on Mac (posted originally from Chrome on Windows)
F.Aquino
I'm on Firefox on mac. I'll try safari.
Kyle Trauberman
Thats weird. The site must have been down. Its working now.
Kyle Trauberman
That link refers to an issue using JMeter over SSL. I'm not trying to connect over SSL.
Kyle Trauberman
I meant to show you the section where he sets username and password in the post. check this one: http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Authorization_Manager
F.Aquino
Great! I'll try it when I'm back to work on monday.
Kyle Trauberman
I tried this and it worked. One thing to note: jmeter has an HTTP Request and a HTTP Client sampler. I had to use the HTTP Client sampler to get this to work.
Kyle Trauberman