You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "MiLi :)" <mi...@gmail.com> on 2012/09/13 21:56:22 UTC
Re: Custom class testing
On Thu, Sep 13, 2012 at 2:52 PM, MiLi :) <mi...@gmail.com> wrote:
> Hi
>
> I have copied my jar which contains simple java class ...under lib/ext but
> when i use java request in jmeter, i do not see my class under class name
>
> attached is the image?
>
> can any one please help
>
Re: Custom class testing
Posted by "MiLi :)" <mi...@gmail.com>.
Deepak -
Did you compile with the same java version as you are running JMeter with
>>
Sorry ..how do i check this ..which version jmeter is running on?
On Thu, Sep 13, 2012 at 4:27 PM, MiLi :) <mi...@gmail.com> wrote:
> Thanks Deepak for reply..here are the answers
>
> a. jar Should be under lib >> yes jar is under lib
>
> b. Is the class under the correct package in the jar file? what do you
> mean by this correct package?
>
> c. Did you compile with the same java version as you are running JMeter
> with >> yes
> d. Did you implement the interface - * Yes
> org.apache.jmeter.protocol.java.sampler.JavaSamplerClient
>
> here is the link
> https://plus.google.com/photos/108278499888540539274/albums/5787775699970970961
>
>
> On Thu, Sep 13, 2012 at 3:17 PM, Deepak Shetty <sh...@gmail.com> wrote:
>
>> Images dont make it to the mailing list. Upload it somewhere and paste a
>> link
>> a. jar Should be under lib
>> b. Is the class under the correct package in the jar file?
>> c. Did you compile with the same java version as you are running JMeter
>> with
>> d. Did you implement the interface - *
>> org.apache.jmeter.protocol.java.sampler.JavaSamplerClient
>>
>> regards
>> deepak
>> *
>> On Thu, Sep 13, 2012 at 12:56 PM, MiLi :) <mi...@gmail.com> wrote:
>>
>> > On Thu, Sep 13, 2012 at 2:52 PM, MiLi :) <mi...@gmail.com> wrote:
>> >
>> > > Hi
>> > >
>> > > I have copied my jar which contains simple java class ...under lib/ext
>> > but
>> > > when i use java request in jmeter, i do not see my class under class
>> name
>> > >
>> > > attached is the image?
>> > >
>> > > can any one please help
>> > >
>> >
>>
>
>
Re: Custom class testing
Posted by "MiLi :)" <mi...@gmail.com>.
Hello All
Did you see my jar..can u please tell me if the structure is correct?
On Thu, Sep 13, 2012 at 5:32 PM, MiLi :) <mi...@gmail.com> wrote:
> here is the jar
>
> https://docs.google.com/open?id=0B_bhT2nsKsmeN0prYlowbHBJNTA
>
>
> On Thu, Sep 13, 2012 at 4:45 PM, Deepak Shetty <sh...@gmail.com> wrote:
>
>> what package did you create your class under?
>> When you jar the class file is it under the same directory structure?
>>
>> If yes to all then upload a copy of your jar and send a link
>>
>> regards
>> deepak
>>
>> On Thu, Sep 13, 2012 at 2:27 PM, MiLi :) <mi...@gmail.com> wrote:
>>
>> > Thanks Deepak for reply..here are the answers
>> >
>> > a. jar Should be under lib >> yes jar is under lib
>> >
>> > b. Is the class under the correct package in the jar file? what do you
>> mean
>> > by this correct package?
>> >
>> > c. Did you compile with the same java version as you are running JMeter
>> > with >> yes
>> > d. Did you implement the interface - * Yes
>> > org.apache.jmeter.protocol.java.sampler.JavaSamplerClient
>> >
>> > here is the link
>> >
>> >
>> https://plus.google.com/photos/108278499888540539274/albums/5787775699970970961
>> >
>> > On Thu, Sep 13, 2012 at 3:17 PM, Deepak Shetty <sh...@gmail.com>
>> wrote:
>> >
>> > > Images dont make it to the mailing list. Upload it somewhere and
>> paste a
>> > > link
>> > > a. jar Should be under lib
>> > > b. Is the class under the correct package in the jar file?
>> > > c. Did you compile with the same java version as you are running
>> JMeter
>> > > with
>> > > d. Did you implement the interface - *
>> > > org.apache.jmeter.protocol.java.sampler.JavaSamplerClient
>> > >
>> > > regards
>> > > deepak
>> > > *
>> > > On Thu, Sep 13, 2012 at 12:56 PM, MiLi :) <mi...@gmail.com> wrote:
>> > >
>> > > > On Thu, Sep 13, 2012 at 2:52 PM, MiLi :) <mi...@gmail.com>
>> wrote:
>> > > >
>> > > > > Hi
>> > > > >
>> > > > > I have copied my jar which contains simple java class ...under
>> > lib/ext
>> > > > but
>> > > > > when i use java request in jmeter, i do not see my class under
>> class
>> > > name
>> > > > >
>> > > > > attached is the image?
>> > > > >
>> > > > > can any one please help
>> > > > >
>> > > >
>> > >
>> >
>>
>
>
Re: Custom class testing
Posted by "MiLi :)" <mi...@gmail.com>.
here is the jar
https://docs.google.com/open?id=0B_bhT2nsKsmeN0prYlowbHBJNTA
On Thu, Sep 13, 2012 at 4:45 PM, Deepak Shetty <sh...@gmail.com> wrote:
> what package did you create your class under?
> When you jar the class file is it under the same directory structure?
>
> If yes to all then upload a copy of your jar and send a link
>
> regards
> deepak
>
> On Thu, Sep 13, 2012 at 2:27 PM, MiLi :) <mi...@gmail.com> wrote:
>
> > Thanks Deepak for reply..here are the answers
> >
> > a. jar Should be under lib >> yes jar is under lib
> >
> > b. Is the class under the correct package in the jar file? what do you
> mean
> > by this correct package?
> >
> > c. Did you compile with the same java version as you are running JMeter
> > with >> yes
> > d. Did you implement the interface - * Yes
> > org.apache.jmeter.protocol.java.sampler.JavaSamplerClient
> >
> > here is the link
> >
> >
> https://plus.google.com/photos/108278499888540539274/albums/5787775699970970961
> >
> > On Thu, Sep 13, 2012 at 3:17 PM, Deepak Shetty <sh...@gmail.com>
> wrote:
> >
> > > Images dont make it to the mailing list. Upload it somewhere and paste
> a
> > > link
> > > a. jar Should be under lib
> > > b. Is the class under the correct package in the jar file?
> > > c. Did you compile with the same java version as you are running JMeter
> > > with
> > > d. Did you implement the interface - *
> > > org.apache.jmeter.protocol.java.sampler.JavaSamplerClient
> > >
> > > regards
> > > deepak
> > > *
> > > On Thu, Sep 13, 2012 at 12:56 PM, MiLi :) <mi...@gmail.com> wrote:
> > >
> > > > On Thu, Sep 13, 2012 at 2:52 PM, MiLi :) <mi...@gmail.com> wrote:
> > > >
> > > > > Hi
> > > > >
> > > > > I have copied my jar which contains simple java class ...under
> > lib/ext
> > > > but
> > > > > when i use java request in jmeter, i do not see my class under
> class
> > > name
> > > > >
> > > > > attached is the image?
> > > > >
> > > > > can any one please help
> > > > >
> > > >
> > >
> >
>
Re: Custom class testing
Posted by Deepak Shetty <sh...@gmail.com>.
what package did you create your class under?
When you jar the class file is it under the same directory structure?
If yes to all then upload a copy of your jar and send a link
regards
deepak
On Thu, Sep 13, 2012 at 2:27 PM, MiLi :) <mi...@gmail.com> wrote:
> Thanks Deepak for reply..here are the answers
>
> a. jar Should be under lib >> yes jar is under lib
>
> b. Is the class under the correct package in the jar file? what do you mean
> by this correct package?
>
> c. Did you compile with the same java version as you are running JMeter
> with >> yes
> d. Did you implement the interface - * Yes
> org.apache.jmeter.protocol.java.sampler.JavaSamplerClient
>
> here is the link
>
> https://plus.google.com/photos/108278499888540539274/albums/5787775699970970961
>
> On Thu, Sep 13, 2012 at 3:17 PM, Deepak Shetty <sh...@gmail.com> wrote:
>
> > Images dont make it to the mailing list. Upload it somewhere and paste a
> > link
> > a. jar Should be under lib
> > b. Is the class under the correct package in the jar file?
> > c. Did you compile with the same java version as you are running JMeter
> > with
> > d. Did you implement the interface - *
> > org.apache.jmeter.protocol.java.sampler.JavaSamplerClient
> >
> > regards
> > deepak
> > *
> > On Thu, Sep 13, 2012 at 12:56 PM, MiLi :) <mi...@gmail.com> wrote:
> >
> > > On Thu, Sep 13, 2012 at 2:52 PM, MiLi :) <mi...@gmail.com> wrote:
> > >
> > > > Hi
> > > >
> > > > I have copied my jar which contains simple java class ...under
> lib/ext
> > > but
> > > > when i use java request in jmeter, i do not see my class under class
> > name
> > > >
> > > > attached is the image?
> > > >
> > > > can any one please help
> > > >
> > >
> >
>
Re: Custom class testing
Posted by "MiLi :)" <mi...@gmail.com>.
Thanks Deepak for reply..here are the answers
a. jar Should be under lib >> yes jar is under lib
b. Is the class under the correct package in the jar file? what do you mean
by this correct package?
c. Did you compile with the same java version as you are running JMeter
with >> yes
d. Did you implement the interface - * Yes
org.apache.jmeter.protocol.java.sampler.JavaSamplerClient
here is the link
https://plus.google.com/photos/108278499888540539274/albums/5787775699970970961
On Thu, Sep 13, 2012 at 3:17 PM, Deepak Shetty <sh...@gmail.com> wrote:
> Images dont make it to the mailing list. Upload it somewhere and paste a
> link
> a. jar Should be under lib
> b. Is the class under the correct package in the jar file?
> c. Did you compile with the same java version as you are running JMeter
> with
> d. Did you implement the interface - *
> org.apache.jmeter.protocol.java.sampler.JavaSamplerClient
>
> regards
> deepak
> *
> On Thu, Sep 13, 2012 at 12:56 PM, MiLi :) <mi...@gmail.com> wrote:
>
> > On Thu, Sep 13, 2012 at 2:52 PM, MiLi :) <mi...@gmail.com> wrote:
> >
> > > Hi
> > >
> > > I have copied my jar which contains simple java class ...under lib/ext
> > but
> > > when i use java request in jmeter, i do not see my class under class
> name
> > >
> > > attached is the image?
> > >
> > > can any one please help
> > >
> >
>
Re: Custom class testing
Posted by Deepak Shetty <sh...@gmail.com>.
Images dont make it to the mailing list. Upload it somewhere and paste a
link
a. jar Should be under lib
b. Is the class under the correct package in the jar file?
c. Did you compile with the same java version as you are running JMeter with
d. Did you implement the interface - *
org.apache.jmeter.protocol.java.sampler.JavaSamplerClient
regards
deepak
*
On Thu, Sep 13, 2012 at 12:56 PM, MiLi :) <mi...@gmail.com> wrote:
> On Thu, Sep 13, 2012 at 2:52 PM, MiLi :) <mi...@gmail.com> wrote:
>
> > Hi
> >
> > I have copied my jar which contains simple java class ...under lib/ext
> but
> > when i use java request in jmeter, i do not see my class under class name
> >
> > attached is the image?
> >
> > can any one please help
> >
>