jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kate Rosenbloom <>
Subject Re: Recording HTTP sessions and 401s
Date Tue, 02 Apr 2002 17:07:14 GMT
Unfortunately the authorization handling works during playback, but
not during recording (Michael Stover has a previous posting about this).

You'll have to turn off the Basic Auth on your server during recording,
then you can reenable during your actual testing.  It worked for me...

	Kate Rosenbloom
	RapidMoney Corp.
	Santa Cruz, CA

Derrick Schneider wrote:
> Hello,
> I am very new user to JMeter, and am evaluating it for our company.
> While using the "record" functionality via the HTTP Proxy Server, I
> noticed a problem and would like some advice on getting past it. The
> website I am testing is password-protected via Basic Authentication.
> When I go to record the session with my browser, it fails when I try to
> connect. The reason seems to be from the logic in HTTPSampler.sample()
> which says, in essense:
> get the response code
> divide by 100
> if it's 2, do one thing
> if it's 3, do another
> otherwise, barf.
> However, authentication at a website works on a challenge-response
> system, and so the first thing that comes back is 401. The proxy server
> throws an exception, and returns no data to the browser, so I never get
> a chance to enter the ID and password.
> I've tried adding an Authorization Manager, but that doesn't seem to
> help the recording aspect of things.
> Any idea? Thanks in advance for your help.
> Derrick
> --
> Derrick Schneider
> Line Chef
> Kinecta Corp.
> (415) 934-5821
> --
> To unsubscribe, e-mail:   <>
> For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message