jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HUSSEY, SCOTT T" <sh8...@att.com>
Subject RE: Strange behavior when performing basic authentication
Date Thu, 29 Nov 2012 22:31:56 GMT
I've found HTTPClient 4 to be the best for NTLM authentication. I have seen issues where I
recorded using the Java implementation w/ the proxy server and then switched to HTTPClient4
for playback w/ the best results.

> -----Original Message-----
> From: Fergal Hanley [mailto:fergalhanley@gmail.com]
> Sent: Thursday, November 29, 2012 4:29 PM
> To: user@jmeter.apache.org
> Subject: Strange behavior when performing basic authentication
> 
> I'm getting some strange behavior when attempting to use JMeter to
> perform
> basic authentication against a web application.
> 
> I'm using the Authorization Manager for NTLM authentication. When I
> attempt
> to play back my script I get a 401 Unauthorized error response. I'f I fire
> up the JMeter proxy server and record a snippet of script from the very
> server I'm attempting to hit in my test, and then I play back the script
> after this, it can authenticate. Does the fact that record change something
> in JMeter to make authorization work? This effect is retained as long as I
> keep the JMeter application open but lost when I close and reopen the tool.
> 
> Other details about the test plan:
> 
> 
>    1. I'm using Java implementation calls, HttpClient 3.1 and 4 never worked
>    2. Calls are being made through an internet proxy that I've configured
>    in jmeter.properties
>    3. The application I'm targeting is a SharePoint site
>    4. I'm using the HTTP Authorization Manager for server authentication
>    5. I left the JMeter application open over night in a state where it was
>    able to play back the requests. When I came in the next day it was still
>    able to play back the requests but when I restarted the application it was
>    once again unable to make the requests.
> 
> 
> Any help would be greatly appreciated,
> 
> Thank you,
> Fergal

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message