jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parashar, Hitesh" <Hitesh.Paras...@Avnet.com>
Subject RE: HTTP Proxy Server is silent and Authorization seems to bother .
Date Mon, 25 Feb 2002 16:37:31 GMT
Mike:

Thats exactly what I meant! I want to record the "HTTP BASIC Authentication"
along with other actions. I will also start looking into the code more to
see if there is any workaround I can find.

Thanks for (2). I will try it and let you know.

Thanks,

Hitesh.

-----Original Message-----
From: Stover, Michael [mailto:Michael.Stover@usa.xerox.com]
Sent: Monday, February 25, 2002 7:39 AM
To: 'JMeter Users List'
Subject: RE: HTTP Proxy Server is silent and Authorization seems to
bother .


Hitesh,

Regarding 1)
     When you say HTTP Basic Authentication isn't working, are you talking
about it not working while you are recording your activity with the proxy
server?  If so, I would indeed expect it not to work.  I'm sure I could make
some changes to make it work, however.  I will look into it and see if it's
reasonable to do for the upcoming stable 1.7 release.  If that's not what
you mean, please clarify.

Regarding 2)
	JMeter can use a proxy server itself.  To do so, start jmeter as
follows:

In jmeter/bin:
	jmeter -h your.proxy.server.ip -p [proxy server port]

example: jmeter -h 192.168.16.1 -p 3422

I've never tried it while recording from JMeter, but it theoretically should
work.

-Mike


> -----Original Message-----
> From: Parashar, Hitesh [mailto:Hitesh.Parashar@Avnet.com]
> Sent: Saturday, February 23, 2002 4:15 PM
> To: JMeter Users List
> Subject: RE: HTTP Proxy Server is silent and Authorization seems to
> bother .
> 
> 
> Hi Mike:
> 
> It was my bad. Proxy server DOES record the INTRANET browser 
> activity after
> setting the browser's Connection proxy information to point 
> to JMeter proxy.
> 
> With this I still have two issues, if somebody can look into:
> 
> (1) Now, I am able to record the "non secure" resources. For secure
> resources (sitting in HTTP BASIC auth secure directories), I 
> still get an
> exception like:
> 
> java.io.FileNotFoundException: 
> http://172.16.157.65:80/calypso/main.jsp
> 
> Any workaround for this HTTP BASIC Authentication recording 
> to be done with
> the proxy server?
> 
> (2) If I change the browser's proxy setting, how can I access 
> the resources
> outside intranet?
> 
> Thanks,
> 
> Hitesh.
> 
> -----Original Message-----
> From: Stover, Michael [mailto:Michael.Stover@usa.xerox.com]
> Sent: Saturday, February 23, 2002 12:30 PM
> To: 'JMeter Users List'
> Subject: RE: HTTP Proxy Server is silent and Authorization seems to
> bother .
> 
> 
> Did you configure your browser's proxy server information?
> 
> Regarding HTTP Authentication - I have never used it, so I don't know.
> Anyone out there have success/failure using it?
> 
> -Mike
> 
> > -----Original Message-----
> > From: Parashar, Hitesh [mailto:Hitesh.Parashar@Avnet.com]
> > Sent: Friday, February 22, 2002 6:36 PM
> > To: jmeter-user@jakarta.apache.org
> > Subject: HTTP Proxy Server is silent and Authorization seems 
> > to bother.
> > 
> > 
> > Hi:
> > 
> > I have a couple of questions. I am a newbie using the 
> nightly build of
> > 02/22/2002. I read through the archives of the list. Nothing 
> > seems to help
> > me in solving my problems.
> > 
> > First Question (Recording):
> > ---------------------------------------
> > 
> > I am trying to "record" the browser activity using HTTP Proxy Server
> > component. 
> > 
> > I did following to start recording:
> > 
> > (1) Added a Thread Group to Test Plan.
> > (2) Added a Simple Controller to The Thread Group
> > (3) Added an HTTP Proxy Server to the WorkBench
> > (4) Changed the port to 6006 (which I know is available)
> > (5) Left patterns to exclude and include to be empty
> > (5) Pressed Start
> > 	It gave the following message on the console
> > 		Initializing...
> > 		Creating Config Object...OK
> > 		Creating Cache Manager...OK
> > 		Creating Daemon Socket... port 6006 OK
> > 		Proxy up and running!
> > 
> > Everything looked nice so far. Now, I start my browser 
> > (Internet Explorer
> > 6.0x), and start hitting an intranet application which 
> > resides on the same
> > network as this machine. Nothing seems to be happening. My 
> > Simple Controller
> > stays empty. 
> > 
> > I am sure I am missing something. Any clues? 
> > 
> > Second Question (Authorization):
> > -----------------------------------------------
> > 
> > Our application uses BASIC HTTP Auth to authorize users. The 
> > whole directory
> > containing the web resources is secured by LDAP Auth and we 
> > need to stress
> > test that. One way is to hard-code the authentication 
> > information, which
> > certainly is the dirty way. Cleaner way is to get HTTP 
> > Authorization Manager
> > work for us. I tried but in vain. I get the  FileNotFound 
> > exception. If I
> > try to hit any non secured resource on the same server, it 
> > does it fine. Any
> > suggestion how I can use HTTP Authorization Manager for BASIC 
> > HTTP Auth.
> > 
> > My manager wants me to give feedback on the "usability" of 
> > JMeter ASAP. Any
> > help would be highly appreciated.
> > 
> > Thanks,
> > 
> > Hitesh.
> > 
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:jmeter-user-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:
> <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:jmeter-user-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:   
> <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:jmeter-user-help@jakarta.apache.org>
> 

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

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


Mime
View raw message