jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Stover <mstov...@apache.org>
Subject Re: New to JMeter: examples?
Date Tue, 10 Apr 2001 17:41:06 GMT
This is probably caused by JMeter trying to load Sun's SSL provider, but not 
finding it in your classpath.  Not your fault - JMeter is supposed to skip 
loading these classes if not present.  However, your workaround for now would 
be to download JSSE from Sun.  You'll need to put the jsse.jar, jnet.jar, and 
jcert.jar into your classpath.

-Mike

On Tuesday 10 April 2001 17:40, you wrote:
> Thanks, Mike.
>
> You made me look at the command shell output!
>
> C:\jakarta-jmeter\bin>set CLASSPATH=ApacheJMeter.jar;..\lib\xerces.jar
> C:\jakarta-jmeter\bin>java   org.apache.jmeter.NewDriver jmeter.properties
> search_paths = .;ApacheJMeter.jar
> search_paths = .;ApacheJMeter.jar
> search_paths = .;ApacheJMeter.jar
> search_paths = .;ApacheJMeter.jar
> search_paths = .;ApacheJMeter.jar
> search_paths = .;ApacheJMeter.jar
> found 10 action handlers
> search_paths = .;ApacheJMeter.jar
> search_paths = .;ApacheJMeter.jar
> search_paths = .;ApacheJMeter.jar
> search_paths = .;ApacheJMeter.jar
> Going to compile the threadgroups
> Adding a threadgroup
> Starting the test
> Starting thread
> Hola
> java.lang.NoClassDefFoundError
>         at
> org.apache.jmeter.protocol.http.control.HttpTestSample.createEntry(HttpTest
>S ample.java:248)
>         at
> org.apache.jmeter.protocol.http.control.HttpTestSample.nextEntry(HttpTestSa
>m ple.java:204)
>         at
> org.apache.jmeter.control.GenericController.nextEntry(GenericController.jav
>a
>
> :225)
>
>         at
> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:116) at
> java.lang.Thread.run(Unknown Source)
>
> HttpTestSample does a HTTPSampler.class in line 248, and cannot find the
> class. The "Hola" is from me, just to be sure that execution really reaches
> that point fine. I'm not new to Java, but I'm puzzled, since the class is
> indeed in the jar like all the other classes, and the jar is in the
> classpath (otherwise nothing would work).
>
> Before executing, I had to correct a small error in the code. The SSL class
> is loaded somewhere by reflection, and its package was misspelt. But apart
> from that., I've not changed anything. Hmm.
>
> Maybe you have an idea. I appreciate you're not going to go bug-hunting for
> me. :-)
>
> Regards
>     Alex
>
>
> ----- Original Message -----
> From: "mike" <mstover1@rochester.rr.com>
> To: "Alexander Bunkenburg" <abunkenburg@ihg.net>
> Sent: Tuesday, April 10, 2001 10:41 AM
> Subject: Re: New to JMeter: examples?
>
> > You may want to start more simply - like skip the Once Only Controller.
>
> That
>
> > will ensure that JMeter only samples once and then quits.
> >
> > To verify that JMeter is running and sampling, you should add a listener
>
> to
>
> > the threadgroup.  Otherwise, JMeter gives no feedback.  Also, you can
>
> watch
>
> > the command shell that JMeter is running from to see more information
>
> about
>
> > what it is sampling and the response it's getting.
> >
> > Other than that, it sounds like you're doing things correctly.  Verify
>
> that
>
> > your URL is correct.  When entering the server name, don't use the form
> > http://www.domain.com.  Just enter www.domain.com.  I would first try the
> > simplest static web page, and move on from there.
> >
> > -Mike
> >
> > On Monday 09 April 2001 17:33, you wrote:
> > > Hi people
> > >
> > > I'm new to JMeter. Are there any examples Test Plans I can get from
> > > somewhere?
> > > I've read the User Manual and still can't figure out how to sample html
> > > pages.
> > >
> > > In my test plan I have a Thred Group containing a "Once Only
> > > Logic"-Controller containing a "Web Testing"-Controller containing a
>
> "Url
>
> > > Sample" with the URL I want to GET. I select menu Run:Start and
>
> seemingly
>
> > > nothing happens. The web server I am testing certainly doesn't receive
>
> any
>
> > > request.
> > >
> > > Otherwise, JMeter looks really clever....now, if I only could get it to
>
> do
>
> > > something.
> > >
> > > Thanks
> > >     Alex
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> > --
> > Mike Stover
> > mstover1@rochester.rr.com

-- 
Mike Stover
mstover1@apache.org

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


Mime
View raw message