In the class file org.apache.jmeter.protocol.http.sampler.HTTPSampler2 the method "setConnectionAuthorization" attempts to create an instance of NTCredentials and passes in NULL for the Host parameter. This causes the NTCredentials to throw an argument null exception. This parameter should be the computer name the request is originating from. Once you pass in the computer name, the NTLM auth works. This error exists in Nightly Build 2006-06-08 and in the RC1 for 2.1.2.
The original code was created for httpclient 2.0.2; it seems the latest code has added the null checks... Would "localhost" do?
[Forget localhost] I've made a change and built 2-1.20060610 in the nightly dir - it would be very helpful if you could check if this fixes the problem, so it can go into the next release.
I've downloaded the 2006.06.10 build and the localHost fix worked great with my test plan. Thank for the quick action!
*** Bug 40178 has been marked as a duplicate of this bug. ***
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1744