You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Wei, Kathy" <ka...@amazon.com> on 2008/07/25 20:07:02 UTC

Unable to see/use custom sampler

Hello,

I am trying use a custom http sampler (written by someone else) in JMeter. I have the new .jar listed in both user.classpath and search_paths in the jmeter.properties file and then restarted JMeter:
search_paths=ApacheJMeter.jar;classes;../lib/ext/ApacheJMeter_custom.jar
user.classpath=../lib/ext/ApacheJMeter_cutsom.jar

Are there additional steps before I am able to use the new sampler or should it be available under the same menu as the others? Any help would be much appreciated.

Thank you,
Kathy


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


Re: Unable to see/use custom sampler

Posted by sebb <se...@gmail.com>.
If the jar is stored in the lib/ext directory then you don't need to
change the search_paths or user.classpath properties

On 25/07/2008, Michael McDonnell <bz...@gmail.com> wrote:
> Yes, but did you implement the JavaSamplerClient interface? That would be
>  the only reason your App doesn't show up in the list (since it appears to be
>  in the classpath)
>
>
>  On Fri, Jul 25, 2008 at 12:48 PM, Wei, Kathy <ka...@amazon.com> wrote:
>
>  > The CustomHTTPSampler extends AbstractCustomHTTPSampler extends
>  > HTTPSampler. I am guessing that HTTPSampler should have everything set up
>  > correctly?
>  >
>  > Thanks,
>  > Kathy
>  >
>  > -----Original Message-----
>  > From: Michael McDonnell [mailto:bzaks1424@gmail.com]
>  > Sent: Friday, July 25, 2008 11:19 AM
>  > To: JMeter Users List
>  > Subject: Re: Unable to see/use custom sampler
>  >
>  > Does your main class that drives the sample implement the JavaSamplerClient
>  > interface?
>  >
>  > On Fri, Jul 25, 2008 at 12:07 PM, Wei, Kathy <ka...@amazon.com> wrote:
>  >
>  > > Hello,
>  > >
>  > > I am trying use a custom http sampler (written by someone else) in
>  > JMeter.
>  > > I have the new .jar listed in both user.classpath and search_paths in the
>  > > jmeter.properties file and then restarted JMeter:
>  > > search_paths=ApacheJMeter.jar;classes;../lib/ext/ApacheJMeter_custom.jar
>  > > user.classpath=../lib/ext/ApacheJMeter_cutsom.jar
>  > >
>  > > Are there additional steps before I am able to use the new sampler or
>  > > should it be available under the same menu as the others? Any help would
>  > be
>  > > much appreciated.
>  > >
>  > > Thank you,
>  > > Kathy
>  > >
>  > >
>  > > ---------------------------------------------------------------------
>  > > 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
>  >
>  >
>

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


Re: Unable to see/use custom sampler

Posted by Michael McDonnell <bz...@gmail.com>.
Yes, but did you implement the JavaSamplerClient interface? That would be
the only reason your App doesn't show up in the list (since it appears to be
in the classpath)

On Fri, Jul 25, 2008 at 12:48 PM, Wei, Kathy <ka...@amazon.com> wrote:

> The CustomHTTPSampler extends AbstractCustomHTTPSampler extends
> HTTPSampler. I am guessing that HTTPSampler should have everything set up
> correctly?
>
> Thanks,
> Kathy
>
> -----Original Message-----
> From: Michael McDonnell [mailto:bzaks1424@gmail.com]
> Sent: Friday, July 25, 2008 11:19 AM
> To: JMeter Users List
> Subject: Re: Unable to see/use custom sampler
>
> Does your main class that drives the sample implement the JavaSamplerClient
> interface?
>
> On Fri, Jul 25, 2008 at 12:07 PM, Wei, Kathy <ka...@amazon.com> wrote:
>
> > Hello,
> >
> > I am trying use a custom http sampler (written by someone else) in
> JMeter.
> > I have the new .jar listed in both user.classpath and search_paths in the
> > jmeter.properties file and then restarted JMeter:
> > search_paths=ApacheJMeter.jar;classes;../lib/ext/ApacheJMeter_custom.jar
> > user.classpath=../lib/ext/ApacheJMeter_cutsom.jar
> >
> > Are there additional steps before I am able to use the new sampler or
> > should it be available under the same menu as the others? Any help would
> be
> > much appreciated.
> >
> > Thank you,
> > Kathy
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
>

RE: Unable to see/use custom sampler

Posted by "Wei, Kathy" <ka...@amazon.com>.
The CustomHTTPSampler extends AbstractCustomHTTPSampler extends HTTPSampler. I am guessing that HTTPSampler should have everything set up correctly?

Thanks,
Kathy

-----Original Message-----
From: Michael McDonnell [mailto:bzaks1424@gmail.com]
Sent: Friday, July 25, 2008 11:19 AM
To: JMeter Users List
Subject: Re: Unable to see/use custom sampler

Does your main class that drives the sample implement the JavaSamplerClient
interface?

On Fri, Jul 25, 2008 at 12:07 PM, Wei, Kathy <ka...@amazon.com> wrote:

> Hello,
>
> I am trying use a custom http sampler (written by someone else) in JMeter.
> I have the new .jar listed in both user.classpath and search_paths in the
> jmeter.properties file and then restarted JMeter:
> search_paths=ApacheJMeter.jar;classes;../lib/ext/ApacheJMeter_custom.jar
> user.classpath=../lib/ext/ApacheJMeter_cutsom.jar
>
> Are there additional steps before I am able to use the new sampler or
> should it be available under the same menu as the others? Any help would be
> much appreciated.
>
> Thank you,
> Kathy
>
>
> ---------------------------------------------------------------------
> 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


Re: Unable to see/use custom sampler

Posted by Michael McDonnell <bz...@gmail.com>.
Does your main class that drives the sample implement the JavaSamplerClient
interface?

On Fri, Jul 25, 2008 at 12:07 PM, Wei, Kathy <ka...@amazon.com> wrote:

> Hello,
>
> I am trying use a custom http sampler (written by someone else) in JMeter.
> I have the new .jar listed in both user.classpath and search_paths in the
> jmeter.properties file and then restarted JMeter:
> search_paths=ApacheJMeter.jar;classes;../lib/ext/ApacheJMeter_custom.jar
> user.classpath=../lib/ext/ApacheJMeter_cutsom.jar
>
> Are there additional steps before I am able to use the new sampler or
> should it be available under the same menu as the others? Any help would be
> much appreciated.
>
> Thank you,
> Kathy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>