Hi Trevor,

A suggestion:  First get recording working for a
simple internal or external website, then once you have a handle
on that, move to your application.  As far as username/password,
read the doc :

  http://jakarta.apache.org/jmeter/usermanual/component_reference.html

under heading :

  13.4.1 HTTP Authorization Manager  

Note that from the doc. index, within this 
'component_reference' item, there's a treasure trove
somewhat obscured under entry :

  13. Component Reference 

Also, note that an HTTP cookie manager element is probably
essential to your success.  Under the index :

  http://jakarta.apache.org/jmeter/usermanual/index.html

ref @ :

  11.2 [HTTP] Where to Put the Cookie Manager 


Lee

SAS Institute Inc.
SAS ... The Power to Know


> -----Original Message-----
> From: Trevor Johnson [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 17, 2003 4:41 PM
> To: JMeter Users List
> Subject: Re: Servlet Testing?
> 
> 
> Lee,
> 
> Again - thank you.  I still can't seem to record anything but 
> it may have to
> do
> with what I'm recording.  The root of the web app is index.html and it
> contains
> an applet.  When the applet loads the first thing it does is 
> start a servlet
> that
> performs the username/password request.
> 
> I can get to the point where the index.html page loads but 
> can't get past
> this
> because I don't know to respond to the username/ password 
> request.  I don't
> think that proxy would even record this as it is something 
> that happens on
> the server.
> 
> Trevor
> 
> 
> ----- Original Message -----
> From: "Lee Peterson" <[EMAIL PROTECTED]>
> To: "JMeter Users List" <[EMAIL PROTECTED]>
> Sent: Wednesday, December 17, 2003 5:15 PM
> Subject: RE: Servlet Testing?
> 
> 
> > Trevor,
> >
> > The setup should be something like :
> >
> >   ---------------------      ---------------------     
> -------------------
> --
> >  |                     |    |                     |   |      Your
> |
> >  |     Your browser    |--> | JMeter Proxy Server |-->|     Servlet
> |
> >  |with proxy set to the|    | e.g. with port value|   |
> |
> >  |value in JMeter HTTP |    | set to 7011 and     |   |
> |
> >  |proxy server under   |    | STARTED. Recording  |   |
> |
> >  |non-test elements.e.g|    | starts/stops when   |   |
> |
> >  |port 7011            |    | proxy starts/stops  |   |
> |
> >   ---------------------      ---------------------     
> -------------------
> --
> >
> > Try : In an HTTP Request Sampler, check the checkbox "Retrieve all
> > Images and Java Applets (HTML files only)"
> >
> > ** Set up JMeter according to the references cited earlier. **
> >
> > Since your test setup and servlet are on the same side of 
> the firewall,
> > that should be fine for your test.  There should be no need for LAN
> > settings adjustment.
> >
> > Lee Peterson
> >
> > SAS Institute Inc.
> > SAS ... The Power to Know
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to