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?
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.
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).
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.
make sure to use http sampler=JAVA
Try this
Edit based on the reply: new link Scroll down to the Parameters section,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With