Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 88149 invoked by uid 500); 10 Apr 2001 21:39:53 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 88006 invoked from network); 10 Apr 2001 21:39:43 -0000 From: Mike Stover Reply-To: mstover1@apache.org Date: Tue, 10 Apr 2001 17:41:06 +0000 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="iso-8859-1" To: "Alexander Bunkenburg" , jmeter-user@jakarta.apache.org References: <011f01c0c11b$41445950$6f00a8c0@psqv.net> <01041008413008.09870@localhost.localdomain> <00de01c0c1e5$5d5e3320$6f00a8c0@psqv.net> In-Reply-To: <00de01c0c1e5$5d5e3320$6f00a8c0@psqv.net> Subject: Re: New to JMeter: examples? MIME-Version: 1.0 Message-Id: <0104101741060C.09870@localhost.localdomain> Content-Transfer-Encoding: 8bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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" > To: "Alexander Bunkenburg" > 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