If you need a proxy server to reach your webapp from your browser, then
you need to start JMeter with information about the proxy server.  See 
http://jakarta.apache.org/jmeter/usermanual/get-started.html#proxy_server

You'll be able to simulate your applet (from your server's
point-of-view) if it sends http requests to the server.  If it does,
JMeter's proxy server should be able to record those requests.

-Mike


On Mon, 2004-06-21 at 11:32, Trevor Johnson wrote:
> Hi,
> 
> I'm pretty new to JMeter.  I set up some basic tests and tried some of the options 
> for recording 
> operations to save as a test plan.  I haven't had much luck with this yet.  I am 
> running Apache and 
> Tomcat on a local PC behind my firewall and proxy server.  My browser has the 
> settings it needs
> so that I can get outside.  I haven't been able to record anything through JMeter 
> yet.  I guess my
> proxy settings are interfering with JMeter.
> 
> The site I want to test is an applet/servlet so once I get past the index.html page 
> all I have
> are the jar files.  Even the security is handled by the applet.  How do I record 
> this traffic so that I 
> can do some basic testing?
> 
> I understand how I can use the HTTP request to send a username and password to a 
> page but
> how do I handle something like this where the applet is prompting me for the 
> information?  Can I even
> use JMeter to test this kind of setup?
> 
> I had one of the Java guys modify the main servlet to write out all the requests it 
> received to a 
> file in the test plan element format so that I could paste this back in to a test 
> plan but this only
> gives me a certain amount of control.  Its still a canned test and can't respond to 
> results it receives.
> 
> I am a programmer but I haven't spent much time with Java (yet) so I guess I'm 
> looking for some
> place to start to get an understanding of how to write all these custom test 
> applications I see
> everybody is talking about.
> 
> I know I've been rambling a bit but I like what I see so far with JMeter and I would 
> like to be able to 
> use it but I can't seem to get past the testing of a simple "HelloWorld" level.  I 
> have been reading 
> through the JMeter docs but I still feel in over my head at the moment.
> 
> Thanks in advance for any hints, suggestions, readings, etc.
> 
> Trevor
> 
> 
> Trevor Johnson - Customer Support Specialist
> Tel ext: 2571
> Email: [EMAIL PROTECTED]
> Marine Division
> CARIS      www.caris.com
> Tel:     +1-506-458-8533   Fax:   +1-506-459-3849
>  
> CARIS 2004 - Where Waterways Meet
> 9th International User Group Conference and Educational Sessions
> 22-25 November 2004, Hotel Hafen Hamburg, Hamburg, Germany
> Visit www.caris.com/caris2004 or e-mail [EMAIL PROTECTED] for more.
-- 
Michael Stover <[EMAIL PROTECTED]>
Apache Software Foundation


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

Reply via email to