Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 58770 invoked from network); 28 Jan 2010 17:39:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jan 2010 17:39:41 -0000 Received: (qmail 59559 invoked by uid 500); 28 Jan 2010 17:39:39 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 59541 invoked by uid 500); 28 Jan 2010 17:39:39 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 59531 invoked by uid 99); 28 Jan 2010 17:39:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2010 17:39:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.220.226 as permitted sender) Received: from [209.85.220.226] (HELO mail-fx0-f226.google.com) (209.85.220.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2010 17:39:31 +0000 Received: by fxm26 with SMTP id 26so671258fxm.13 for ; Thu, 28 Jan 2010 09:39:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=KCLAWDK7qb21xNoxRU8FPBfQW6wXrIOSniTDjXXgIUI=; b=eKHjURDZOmk/HuvXKCa1789SGN6lhnkpSZZXlb/3AxsNOwG8Vrz+frlWLbldC6CGEY c9HD9tjCK49hg33gXxmQGAAsnEAsIrtmv54M5PKu84za+Hsay63X/m1XaNZ2HB0TR8Ql nRfzeCI4uK3owSeG40PjwxD1i3DrN7OIwLoTw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=S4XritWNT/solBB8u9+qEe4tLDkVrhuOW42ahFCfYEpeTeOGJ26JtlkNN+gtdvG8NM OjsbpGJIeaU5Bo9BjwyU2AnT6B7B7QCdLw5l7UeY+D93JZ15evrB8RJmxQ0eMJLlROO9 6NOj6msjfhnl7w3hz2p3nF9/3c0gzWtzFP6hw= MIME-Version: 1.0 Received: by 10.239.186.19 with SMTP id e19mr841976hbh.212.1264700351550; Thu, 28 Jan 2010 09:39:11 -0800 (PST) In-Reply-To: References: Date: Thu, 28 Jan 2010 17:39:11 +0000 Message-ID: <25aac9fc1001280939yb23e216gccaa1c902d7dc8e2@mail.gmail.com> Subject: Re: Custom Java sampler not visible From: sebb To: JMeter Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On 28/01/2010, Robert Bowman wrote: > I am trying to use JMeter to test the performance of a Java class. I have > developed a test client that implements JavaSamplerClient by extending > AbstractJavaSamplerClient. and implementing the runTest method. I have > compiled my client class and built a jar containing it. And where did you put the jar? > In the JMeter test plan editor I go to the 'TestPlan' configuration form > and add the jar containing my client class to the classpath. I then > attempt to add a Java Request sampler to my test plan. The configuration > form for the Java Request sampler has a drop-down for selecting the > classname. The dropdown has only two entries, > org.apache.jmeter.protocol.java.test.JavaTest and > org.apache.jmeter.protocol.java.test.SleepTest. The name of my client > class does not appear and there is nowhere to enter an alternative > classname. > > I have tried various ways of adding my client class to the class path but > none of them results in my class appearing in the dropdown. Is this a bug > or a feature? Is there a workaround? Or is there a better way of using > JMeter to test the performance of a Java class that I have overlooked? What ways did you try? > Thanks in anticipation, > > Bob Bowman > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org