You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Sri123 <mo...@mail.nih.gov> on 2009/10/13 21:08:33 UTC

Adding Junit test to JMeter

hi

I want to add the Junit 4.0 test case that I have created for my application
into JMeter. Please let me know how I can do this.

Thanks
Sri
-- 
View this message in context: http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Adding Junit test to JMeter

Posted by Sri123 <mo...@mail.nih.gov>.
I got it fixed now. I didnt have the
gov/nih/eta/beantier/appldetails/session/ApplDetailsBean in the jar. You are
correct. I created a jar which has this class and it worked. Thanks for your
help.

Sri

Deepak Shetty wrote:
> 
> Hi
> so i assume your first problem of your test cases not showing up is
> solved?
> 
> java.lang.NoClassDefFoundError:
> gov/nih/eta/beantier/appldetails/session/ApplDetailsBean
> 
> should pretty much tell you that the classes your tests depend on are not
> present in a location where Jmeter can get them. Arent the related classes
> in the same jar?
> 
> regards
> deepak
> 
> 
> On Wed, Oct 14, 2009 at 11:24 AM, Sri123
> <mo...@mail.nih.gov>wrote:
> 
>>
>> After downloading the lib files and copied them into lib folder under
>> binary
>> version. I got the following error message:
>>
>> Error --
>>
>> updateTotalsWhenOrgAmtsExist(org.apache.jmeter.protocol.java.sampler.JUnitSampler$AnnotatedTestCase):
>> gov/nih/eta/beantier/appldetails/session/ApplDetailsBean
>>
>> Error --
>>
>> updateTotalsWhenOrgAmtsExist(org.apache.jmeter.protocol.java.sampler.JUnitSampler$AnnotatedTestCase):
>> gov/nih/eta/beantier/appldetails/session/ApplDetailsBean
>> Trace -- java.lang.NoClassDefFoundError:
>> gov/nih/eta/beantier/appldetails/session/ApplDetailsBean
>>        at
>>
>> gov.nih.eta.beantier.appldetails.session.ApplDetailsBeanTest.setUp(ApplDetailsBeanTest.java:22)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>>
>> org.apache.jmeter.protocol.java.sampler.JUnitSampler.sample(JUnitSampler.java:373)
>>        at
>>
>> org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
>>        at
>> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
>>        at java.lang.Thread.run(Thread.java:595)
>>
>> I have the jar file under \lib\junit and the class files are also in the
>> classpath. This works fine for Junit 3. I am having this problem
>> executing
>> Junit 4.0 tests.
>>
>>
>> Deepak Shetty wrote:
>> >
>> > yes.
>> > regards
>> > deepak
>> >
>> > On Wed, Oct 14, 2009 at 10:57 AM, Sri123
>> > <mo...@mail.nih.gov>wrote:
>> >
>> >>
>> >> After downloading should I place them under the lib folder of binary
>> >> version
>> >>
>> >> Deepak Shetty wrote:
>> >> >
>> >> > you also need to download the lib files
>> >> >
>> >> > On Wed, Oct 14, 2009 at 10:24 AM, Sri123
>> >> > <mo...@mail.nih.gov>wrote:
>> >> >
>> >> >>
>> >> >> I am not able to run the JMeter that I downloaded from the link you
>> >> >> provided.
>> >> >> I downloaded the binary version and ran the jmeter.bat and the
>> window
>> >> >> closed
>> >> >> immediately without any message.
>> >> >>
>> >> >> Sri
>> >> >>
>> >> >> Deepak Shetty wrote:
>> >> >> >
>> >> >> >  Did you download the Jmeter jars from the link I sent? As
>> mentioned
>> >> >> > before
>> >> >> > Jmeter 2.3.4 does not support Junit 4. You need the nightly
>> release
>> >> or
>> >> >> you
>> >> >> > need to wait for the next released JMeter version. You do not
>> need
>> >> to
>> >> >> > change
>> >> >> > anything in classpath, your jar file should be under the
>> lib/junit
>> >> >> > directory.
>> >> >> > regards
>> >> >> > deepak
>> >> >> >
>> >> >> > On Wed, Oct 14, 2009 at 8:04 AM, Sri123
>> >> <mo...@mail.nih.gov>
>> >> >> > wrote:
>> >> >> >
>> >> >> >>
>> >> >> >> I added the class files to the classpath and it did work. But it
>> >> >> worked
>> >> >> >> only
>> >> >> >> for junit 3 test cases. Jmeter 2.3.4 still doesnt support junit
>> 4
>> >> test
>> >> >> >> cases.
>> >> >> >>
>> >> >> >> Thanks
>> >> >> >> Sri
>> >> >> >>
>> >> >> >> Sri123 wrote:
>> >> >> >> >
>> >> >> >> > I dont think I did. How do I set the classpath?
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > M.Vijaya Bhaskar wrote:
>> >> >> >> >>
>> >> >> >> >> Hi Sri,
>> >> >> >> >>
>> >> >> >> >> did u set the class path for junit
>> >> >> >> >>
>> >> >> >> >> On Wed, Oct 14, 2009 at 6:51 PM, Sri123
>> >> >> <mohanasundaras@mail.nih.gov
>> >> >> >
>> >> >> >> >> wrote:
>> >> >> >> >>
>> >> >> >> >>>
>> >> >> >> >>> I placed the jar file under h:\My
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >>
>> >> >>
>> >>
>> documents\Downloads\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\lib\junit\junittest.jar
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>> M.Vijaya Bhaskar wrote:
>> >> >> >> >>> >
>> >> >> >> >>> > Hi Sri,
>> >> >> >> >>> >
>> >> >> >> >>> > Can you plz tell me in which folder you placed the jar
>> file
>> >> >> which
>> >> >> >> is
>> >> >> >> >>> > contain
>> >> >> >> >>> > junit calsses
>> >> >> >> >>> >
>> >> >> >> >>> >
>> >> >> >> >>> >
>> >> >> >> >>> > On Wed, Oct 14, 2009 at 6:29 PM, Sri123
>> >> >> >> <mohanasundaras@mail.nih.gov
>> >> >> >> >
>> >> >> >> >>> > wrote:
>> >> >> >> >>> >
>> >> >> >> >>> >>
>> >> >> >> >>> >> Can you please send me the links where I can refer. And I
>> >> have
>> >> >> one
>> >> >> >> >>> more
>> >> >> >> >>> >> issue
>> >> >> >> >>> >> now, after I placed my jar file consisting of junit test
>> >> >> classes,
>> >> >> >> >>> Junit
>> >> >> >> >>> >> request sampler is not showing my classes. Please let me
>> >> know
>> >> >> what
>> >> >> >> >>> could
>> >> >> >> >>> >> be
>> >> >> >> >>> >> the reason for this
>> >> >> >> >>> >>
>> >> >> >> >>> >> Thanks
>> >> >> >> >>> >> Sri
>> >> >> >> >>> >>
>> >> >> >> >>> >> sebb-2-2 wrote:
>> >> >> >> >>> >> >
>> >> >> >> >>> >> > Yes, this is included in current SVN code which is in
>> >> nightly
>> >> >> >> >>> builds.
>> >> >> >> >>> >> >
>> >> >> >> >>> >> > On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
>> >> >> >> >>> >> >> As far as I know  currently not supported. Someone had
>> >> >> metioned
>> >> >> >> >>> that
>> >> >> >> >>> a
>> >> >> >> >>> >> >> patch
>> >> >> >> >>> >> >>  exists..
>> >> >> >> >>> >> >>
>> >> >> >> >>> >> >>
>> https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
>> >> >> >> >>> >> >>
>> >> >> >> >>> >> >>  regards
>> >> >> >> >>> >> >>  deepak
>> >> >> >> >>> >> >>
>> >> >> >> >>> >> >>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123
>> >> >> >> >>> >> >> <mo...@mail.nih.gov>wrote:
>> >> >> >> >>> >> >>
>> >> >> >> >>> >> >>
>> >> >> >> >>> >> >>  >
>> >> >> >> >>> >> >>  > hi
>> >> >> >> >>> >> >>  >
>> >> >> >> >>> >> >>  > I want to add the Junit 4.0 test case that I have
>> >> created
>> >> >> >> for
>> >> >> >> >>> my
>> >> >> >> >>> >> >>  > application
>> >> >> >> >>> >> >>  > into JMeter. Please let me know how I can do this.
>> >> >> >> >>> >> >>  >
>> >> >> >> >>> >> >>  > Thanks
>> >> >> >> >>> >> >>  > Sri
>> >> >> >> >>> >> >>  > --
>> >> >> >> >>> >> >>  > View this message in context:
>> >> >> >> >>> >> >>  >
>> >> >> >> >>> >> >>
>> >> >> >> >>> >>
>> >> >> >> >>>
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
>> >> >> >> >>> >> >>  > Sent from the JMeter - User mailing list archive at
>> >> >> >> Nabble.com.
>> >> >> >> >>> >> >>  >
>> >> >> >> >>> >> >>  >
>> >> >> >> >>> >> >>  >
>> >> >> >> >>> >>
>> >> >> >>
>> >> ---------------------------------------------------------------------
>> >> >> >> >>> >> >>  > 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
>> >> >> >> >>> >> >
>> >> >> >> >>> >> >
>> >> >> >> >>> >> >
>> >> >> >> >>> >>
>> >> >> >> >>> >> --
>> >> >> >> >>> >> View this message in context:
>> >> >> >> >>> >>
>> >> >> >> >>>
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890647.html
>> >> >> >> >>> >> Sent from the JMeter - User mailing list archive at
>> >> Nabble.com.
>> >> >> >> >>> >>
>> >> >> >> >>> >>
>> >> >> >> >>> >>
>> >> >> >>
>> >> ---------------------------------------------------------------------
>> >> >> >> >>> >> To unsubscribe, e-mail:
>> >> >> jmeter-user-unsubscribe@jakarta.apache.org
>> >> >> >> >>> >> For additional commands, e-mail:
>> >> >> >> jmeter-user-help@jakarta.apache.org
>> >> >> >> >>> >>
>> >> >> >> >>> >>
>> >> >> >> >>> >
>> >> >> >> >>> >
>> >> >> >> >>>
>> >> >> >> >>> --
>> >> >> >> >>> View this message in context:
>> >> >> >> >>>
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890963.html
>> >> >> >> >>> Sent from the JMeter - User mailing list archive at
>> Nabble.com.
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> >> >>> To unsubscribe, e-mail:
>> >> jmeter-user-unsubscribe@jakarta.apache.org
>> >> >> >> >>> For additional commands, e-mail:
>> >> >> jmeter-user-help@jakarta.apache.org
>> >> >> >> >>>
>> >> >> >> >>>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25892887.html
>> >> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> ---------------------------------------------------------------------
>> >> >> >> To unsubscribe, e-mail:
>> jmeter-user-unsubscribe@jakarta.apache.org
>> >> >> >> For additional commands, e-mail:
>> >> jmeter-user-help@jakarta.apache.org
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25895463.html
>> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >> >> For additional commands, e-mail:
>> jmeter-user-help@jakarta.apache.org
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25896019.html
>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25896414.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25896833.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Adding Junit test to JMeter

Posted by Deepak Shetty <sh...@gmail.com>.
Hi
so i assume your first problem of your test cases not showing up is solved?

java.lang.NoClassDefFoundError:
gov/nih/eta/beantier/appldetails/session/ApplDetailsBean

should pretty much tell you that the classes your tests depend on are not
present in a location where Jmeter can get them. Arent the related classes
in the same jar?

regards
deepak


On Wed, Oct 14, 2009 at 11:24 AM, Sri123 <mo...@mail.nih.gov>wrote:

>
> After downloading the lib files and copied them into lib folder under
> binary
> version. I got the following error message:
>
> Error --
>
> updateTotalsWhenOrgAmtsExist(org.apache.jmeter.protocol.java.sampler.JUnitSampler$AnnotatedTestCase):
> gov/nih/eta/beantier/appldetails/session/ApplDetailsBean
>
> Error --
>
> updateTotalsWhenOrgAmtsExist(org.apache.jmeter.protocol.java.sampler.JUnitSampler$AnnotatedTestCase):
> gov/nih/eta/beantier/appldetails/session/ApplDetailsBean
> Trace -- java.lang.NoClassDefFoundError:
> gov/nih/eta/beantier/appldetails/session/ApplDetailsBean
>        at
>
> gov.nih.eta.beantier.appldetails.session.ApplDetailsBeanTest.setUp(ApplDetailsBeanTest.java:22)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at
>
> org.apache.jmeter.protocol.java.sampler.JUnitSampler.sample(JUnitSampler.java:373)
>        at
>
> org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
>        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
>        at java.lang.Thread.run(Thread.java:595)
>
> I have the jar file under \lib\junit and the class files are also in the
> classpath. This works fine for Junit 3. I am having this problem executing
> Junit 4.0 tests.
>
>
> Deepak Shetty wrote:
> >
> > yes.
> > regards
> > deepak
> >
> > On Wed, Oct 14, 2009 at 10:57 AM, Sri123
> > <mo...@mail.nih.gov>wrote:
> >
> >>
> >> After downloading should I place them under the lib folder of binary
> >> version
> >>
> >> Deepak Shetty wrote:
> >> >
> >> > you also need to download the lib files
> >> >
> >> > On Wed, Oct 14, 2009 at 10:24 AM, Sri123
> >> > <mo...@mail.nih.gov>wrote:
> >> >
> >> >>
> >> >> I am not able to run the JMeter that I downloaded from the link you
> >> >> provided.
> >> >> I downloaded the binary version and ran the jmeter.bat and the window
> >> >> closed
> >> >> immediately without any message.
> >> >>
> >> >> Sri
> >> >>
> >> >> Deepak Shetty wrote:
> >> >> >
> >> >> >  Did you download the Jmeter jars from the link I sent? As
> mentioned
> >> >> > before
> >> >> > Jmeter 2.3.4 does not support Junit 4. You need the nightly release
> >> or
> >> >> you
> >> >> > need to wait for the next released JMeter version. You do not need
> >> to
> >> >> > change
> >> >> > anything in classpath, your jar file should be under the lib/junit
> >> >> > directory.
> >> >> > regards
> >> >> > deepak
> >> >> >
> >> >> > On Wed, Oct 14, 2009 at 8:04 AM, Sri123
> >> <mo...@mail.nih.gov>
> >> >> > wrote:
> >> >> >
> >> >> >>
> >> >> >> I added the class files to the classpath and it did work. But it
> >> >> worked
> >> >> >> only
> >> >> >> for junit 3 test cases. Jmeter 2.3.4 still doesnt support junit 4
> >> test
> >> >> >> cases.
> >> >> >>
> >> >> >> Thanks
> >> >> >> Sri
> >> >> >>
> >> >> >> Sri123 wrote:
> >> >> >> >
> >> >> >> > I dont think I did. How do I set the classpath?
> >> >> >> >
> >> >> >> >
> >> >> >> > M.Vijaya Bhaskar wrote:
> >> >> >> >>
> >> >> >> >> Hi Sri,
> >> >> >> >>
> >> >> >> >> did u set the class path for junit
> >> >> >> >>
> >> >> >> >> On Wed, Oct 14, 2009 at 6:51 PM, Sri123
> >> >> <mohanasundaras@mail.nih.gov
> >> >> >
> >> >> >> >> wrote:
> >> >> >> >>
> >> >> >> >>>
> >> >> >> >>> I placed the jar file under h:\My
> >> >> >> >>>
> >> >> >> >>>
> >> >> >>
> >> >>
> >>
> documents\Downloads\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\lib\junit\junittest.jar
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>> M.Vijaya Bhaskar wrote:
> >> >> >> >>> >
> >> >> >> >>> > Hi Sri,
> >> >> >> >>> >
> >> >> >> >>> > Can you plz tell me in which folder you placed the jar file
> >> >> which
> >> >> >> is
> >> >> >> >>> > contain
> >> >> >> >>> > junit calsses
> >> >> >> >>> >
> >> >> >> >>> >
> >> >> >> >>> >
> >> >> >> >>> > On Wed, Oct 14, 2009 at 6:29 PM, Sri123
> >> >> >> <mohanasundaras@mail.nih.gov
> >> >> >> >
> >> >> >> >>> > wrote:
> >> >> >> >>> >
> >> >> >> >>> >>
> >> >> >> >>> >> Can you please send me the links where I can refer. And I
> >> have
> >> >> one
> >> >> >> >>> more
> >> >> >> >>> >> issue
> >> >> >> >>> >> now, after I placed my jar file consisting of junit test
> >> >> classes,
> >> >> >> >>> Junit
> >> >> >> >>> >> request sampler is not showing my classes. Please let me
> >> know
> >> >> what
> >> >> >> >>> could
> >> >> >> >>> >> be
> >> >> >> >>> >> the reason for this
> >> >> >> >>> >>
> >> >> >> >>> >> Thanks
> >> >> >> >>> >> Sri
> >> >> >> >>> >>
> >> >> >> >>> >> sebb-2-2 wrote:
> >> >> >> >>> >> >
> >> >> >> >>> >> > Yes, this is included in current SVN code which is in
> >> nightly
> >> >> >> >>> builds.
> >> >> >> >>> >> >
> >> >> >> >>> >> > On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
> >> >> >> >>> >> >> As far as I know  currently not supported. Someone had
> >> >> metioned
> >> >> >> >>> that
> >> >> >> >>> a
> >> >> >> >>> >> >> patch
> >> >> >> >>> >> >>  exists..
> >> >> >> >>> >> >>
> >> >> >> >>> >> >>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
> >> >> >> >>> >> >>
> >> >> >> >>> >> >>  regards
> >> >> >> >>> >> >>  deepak
> >> >> >> >>> >> >>
> >> >> >> >>> >> >>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123
> >> >> >> >>> >> >> <mo...@mail.nih.gov>wrote:
> >> >> >> >>> >> >>
> >> >> >> >>> >> >>
> >> >> >> >>> >> >>  >
> >> >> >> >>> >> >>  > hi
> >> >> >> >>> >> >>  >
> >> >> >> >>> >> >>  > I want to add the Junit 4.0 test case that I have
> >> created
> >> >> >> for
> >> >> >> >>> my
> >> >> >> >>> >> >>  > application
> >> >> >> >>> >> >>  > into JMeter. Please let me know how I can do this.
> >> >> >> >>> >> >>  >
> >> >> >> >>> >> >>  > Thanks
> >> >> >> >>> >> >>  > Sri
> >> >> >> >>> >> >>  > --
> >> >> >> >>> >> >>  > View this message in context:
> >> >> >> >>> >> >>  >
> >> >> >> >>> >> >>
> >> >> >> >>> >>
> >> >> >> >>>
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
> >> >> >> >>> >> >>  > Sent from the JMeter - User mailing list archive at
> >> >> >> Nabble.com.
> >> >> >> >>> >> >>  >
> >> >> >> >>> >> >>  >
> >> >> >> >>> >> >>  >
> >> >> >> >>> >>
> >> >> >>
> >> ---------------------------------------------------------------------
> >> >> >> >>> >> >>  > 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
> >> >> >> >>> >> >
> >> >> >> >>> >> >
> >> >> >> >>> >> >
> >> >> >> >>> >>
> >> >> >> >>> >> --
> >> >> >> >>> >> View this message in context:
> >> >> >> >>> >>
> >> >> >> >>>
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890647.html
> >> >> >> >>> >> Sent from the JMeter - User mailing list archive at
> >> Nabble.com.
> >> >> >> >>> >>
> >> >> >> >>> >>
> >> >> >> >>> >>
> >> >> >>
> >> ---------------------------------------------------------------------
> >> >> >> >>> >> To unsubscribe, e-mail:
> >> >> jmeter-user-unsubscribe@jakarta.apache.org
> >> >> >> >>> >> For additional commands, e-mail:
> >> >> >> jmeter-user-help@jakarta.apache.org
> >> >> >> >>> >>
> >> >> >> >>> >>
> >> >> >> >>> >
> >> >> >> >>> >
> >> >> >> >>>
> >> >> >> >>> --
> >> >> >> >>> View this message in context:
> >> >> >> >>>
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890963.html
> >> >> >> >>> Sent from the JMeter - User mailing list archive at
> Nabble.com.
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>>
> >> >> ---------------------------------------------------------------------
> >> >> >> >>> To unsubscribe, e-mail:
> >> jmeter-user-unsubscribe@jakarta.apache.org
> >> >> >> >>> For additional commands, e-mail:
> >> >> jmeter-user-help@jakarta.apache.org
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25892887.html
> >> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >>
> >> ---------------------------------------------------------------------
> >> >> >> To unsubscribe, e-mail:
> jmeter-user-unsubscribe@jakarta.apache.org
> >> >> >> For additional commands, e-mail:
> >> jmeter-user-help@jakarta.apache.org
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25895463.html
> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25896019.html
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25896414.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Re: Adding Junit test to JMeter

Posted by Sri123 <mo...@mail.nih.gov>.
After downloading the lib files and copied them into lib folder under binary
version. I got the following error message:

Error --
updateTotalsWhenOrgAmtsExist(org.apache.jmeter.protocol.java.sampler.JUnitSampler$AnnotatedTestCase):
gov/nih/eta/beantier/appldetails/session/ApplDetailsBean

Error --
updateTotalsWhenOrgAmtsExist(org.apache.jmeter.protocol.java.sampler.JUnitSampler$AnnotatedTestCase):
gov/nih/eta/beantier/appldetails/session/ApplDetailsBean
Trace -- java.lang.NoClassDefFoundError:
gov/nih/eta/beantier/appldetails/session/ApplDetailsBean
	at
gov.nih.eta.beantier.appldetails.session.ApplDetailsBeanTest.setUp(ApplDetailsBeanTest.java:22)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at
org.apache.jmeter.protocol.java.sampler.JUnitSampler.sample(JUnitSampler.java:373)
	at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:346)
	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
	at java.lang.Thread.run(Thread.java:595)

I have the jar file under \lib\junit and the class files are also in the
classpath. This works fine for Junit 3. I am having this problem executing
Junit 4.0 tests.


Deepak Shetty wrote:
> 
> yes.
> regards
> deepak
> 
> On Wed, Oct 14, 2009 at 10:57 AM, Sri123
> <mo...@mail.nih.gov>wrote:
> 
>>
>> After downloading should I place them under the lib folder of binary
>> version
>>
>> Deepak Shetty wrote:
>> >
>> > you also need to download the lib files
>> >
>> > On Wed, Oct 14, 2009 at 10:24 AM, Sri123
>> > <mo...@mail.nih.gov>wrote:
>> >
>> >>
>> >> I am not able to run the JMeter that I downloaded from the link you
>> >> provided.
>> >> I downloaded the binary version and ran the jmeter.bat and the window
>> >> closed
>> >> immediately without any message.
>> >>
>> >> Sri
>> >>
>> >> Deepak Shetty wrote:
>> >> >
>> >> >  Did you download the Jmeter jars from the link I sent? As mentioned
>> >> > before
>> >> > Jmeter 2.3.4 does not support Junit 4. You need the nightly release
>> or
>> >> you
>> >> > need to wait for the next released JMeter version. You do not need
>> to
>> >> > change
>> >> > anything in classpath, your jar file should be under the lib/junit
>> >> > directory.
>> >> > regards
>> >> > deepak
>> >> >
>> >> > On Wed, Oct 14, 2009 at 8:04 AM, Sri123
>> <mo...@mail.nih.gov>
>> >> > wrote:
>> >> >
>> >> >>
>> >> >> I added the class files to the classpath and it did work. But it
>> >> worked
>> >> >> only
>> >> >> for junit 3 test cases. Jmeter 2.3.4 still doesnt support junit 4
>> test
>> >> >> cases.
>> >> >>
>> >> >> Thanks
>> >> >> Sri
>> >> >>
>> >> >> Sri123 wrote:
>> >> >> >
>> >> >> > I dont think I did. How do I set the classpath?
>> >> >> >
>> >> >> >
>> >> >> > M.Vijaya Bhaskar wrote:
>> >> >> >>
>> >> >> >> Hi Sri,
>> >> >> >>
>> >> >> >> did u set the class path for junit
>> >> >> >>
>> >> >> >> On Wed, Oct 14, 2009 at 6:51 PM, Sri123
>> >> <mohanasundaras@mail.nih.gov
>> >> >
>> >> >> >> wrote:
>> >> >> >>
>> >> >> >>>
>> >> >> >>> I placed the jar file under h:\My
>> >> >> >>>
>> >> >> >>>
>> >> >>
>> >>
>> documents\Downloads\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\lib\junit\junittest.jar
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> M.Vijaya Bhaskar wrote:
>> >> >> >>> >
>> >> >> >>> > Hi Sri,
>> >> >> >>> >
>> >> >> >>> > Can you plz tell me in which folder you placed the jar file
>> >> which
>> >> >> is
>> >> >> >>> > contain
>> >> >> >>> > junit calsses
>> >> >> >>> >
>> >> >> >>> >
>> >> >> >>> >
>> >> >> >>> > On Wed, Oct 14, 2009 at 6:29 PM, Sri123
>> >> >> <mohanasundaras@mail.nih.gov
>> >> >> >
>> >> >> >>> > wrote:
>> >> >> >>> >
>> >> >> >>> >>
>> >> >> >>> >> Can you please send me the links where I can refer. And I
>> have
>> >> one
>> >> >> >>> more
>> >> >> >>> >> issue
>> >> >> >>> >> now, after I placed my jar file consisting of junit test
>> >> classes,
>> >> >> >>> Junit
>> >> >> >>> >> request sampler is not showing my classes. Please let me
>> know
>> >> what
>> >> >> >>> could
>> >> >> >>> >> be
>> >> >> >>> >> the reason for this
>> >> >> >>> >>
>> >> >> >>> >> Thanks
>> >> >> >>> >> Sri
>> >> >> >>> >>
>> >> >> >>> >> sebb-2-2 wrote:
>> >> >> >>> >> >
>> >> >> >>> >> > Yes, this is included in current SVN code which is in
>> nightly
>> >> >> >>> builds.
>> >> >> >>> >> >
>> >> >> >>> >> > On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
>> >> >> >>> >> >> As far as I know  currently not supported. Someone had
>> >> metioned
>> >> >> >>> that
>> >> >> >>> a
>> >> >> >>> >> >> patch
>> >> >> >>> >> >>  exists..
>> >> >> >>> >> >>
>> >> >> >>> >> >>  https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
>> >> >> >>> >> >>
>> >> >> >>> >> >>  regards
>> >> >> >>> >> >>  deepak
>> >> >> >>> >> >>
>> >> >> >>> >> >>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123
>> >> >> >>> >> >> <mo...@mail.nih.gov>wrote:
>> >> >> >>> >> >>
>> >> >> >>> >> >>
>> >> >> >>> >> >>  >
>> >> >> >>> >> >>  > hi
>> >> >> >>> >> >>  >
>> >> >> >>> >> >>  > I want to add the Junit 4.0 test case that I have
>> created
>> >> >> for
>> >> >> >>> my
>> >> >> >>> >> >>  > application
>> >> >> >>> >> >>  > into JMeter. Please let me know how I can do this.
>> >> >> >>> >> >>  >
>> >> >> >>> >> >>  > Thanks
>> >> >> >>> >> >>  > Sri
>> >> >> >>> >> >>  > --
>> >> >> >>> >> >>  > View this message in context:
>> >> >> >>> >> >>  >
>> >> >> >>> >> >>
>> >> >> >>> >>
>> >> >> >>>
>> >> >>
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
>> >> >> >>> >> >>  > Sent from the JMeter - User mailing list archive at
>> >> >> Nabble.com.
>> >> >> >>> >> >>  >
>> >> >> >>> >> >>  >
>> >> >> >>> >> >>  >
>> >> >> >>> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> >>> >> >>  > 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
>> >> >> >>> >> >
>> >> >> >>> >> >
>> >> >> >>> >> >
>> >> >> >>> >>
>> >> >> >>> >> --
>> >> >> >>> >> View this message in context:
>> >> >> >>> >>
>> >> >> >>>
>> >> >>
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890647.html
>> >> >> >>> >> Sent from the JMeter - User mailing list archive at
>> Nabble.com.
>> >> >> >>> >>
>> >> >> >>> >>
>> >> >> >>> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> >>> >> To unsubscribe, e-mail:
>> >> jmeter-user-unsubscribe@jakarta.apache.org
>> >> >> >>> >> For additional commands, e-mail:
>> >> >> jmeter-user-help@jakarta.apache.org
>> >> >> >>> >>
>> >> >> >>> >>
>> >> >> >>> >
>> >> >> >>> >
>> >> >> >>>
>> >> >> >>> --
>> >> >> >>> View this message in context:
>> >> >> >>>
>> >> >>
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890963.html
>> >> >> >>> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >> >> >>>
>> >> >> >>>
>> >> >> >>>
>> >> ---------------------------------------------------------------------
>> >> >> >>> To unsubscribe, e-mail:
>> jmeter-user-unsubscribe@jakarta.apache.org
>> >> >> >>> For additional commands, e-mail:
>> >> jmeter-user-help@jakarta.apache.org
>> >> >> >>>
>> >> >> >>>
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25892887.html
>> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >> >> For additional commands, e-mail:
>> jmeter-user-help@jakarta.apache.org
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25895463.html
>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25896019.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25896414.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Adding Junit test to JMeter

Posted by Deepak Shetty <sh...@gmail.com>.
yes.
regards
deepak

On Wed, Oct 14, 2009 at 10:57 AM, Sri123 <mo...@mail.nih.gov>wrote:

>
> After downloading should I place them under the lib folder of binary
> version
>
> Deepak Shetty wrote:
> >
> > you also need to download the lib files
> >
> > On Wed, Oct 14, 2009 at 10:24 AM, Sri123
> > <mo...@mail.nih.gov>wrote:
> >
> >>
> >> I am not able to run the JMeter that I downloaded from the link you
> >> provided.
> >> I downloaded the binary version and ran the jmeter.bat and the window
> >> closed
> >> immediately without any message.
> >>
> >> Sri
> >>
> >> Deepak Shetty wrote:
> >> >
> >> >  Did you download the Jmeter jars from the link I sent? As mentioned
> >> > before
> >> > Jmeter 2.3.4 does not support Junit 4. You need the nightly release or
> >> you
> >> > need to wait for the next released JMeter version. You do not need to
> >> > change
> >> > anything in classpath, your jar file should be under the lib/junit
> >> > directory.
> >> > regards
> >> > deepak
> >> >
> >> > On Wed, Oct 14, 2009 at 8:04 AM, Sri123 <mo...@mail.nih.gov>
> >> > wrote:
> >> >
> >> >>
> >> >> I added the class files to the classpath and it did work. But it
> >> worked
> >> >> only
> >> >> for junit 3 test cases. Jmeter 2.3.4 still doesnt support junit 4
> test
> >> >> cases.
> >> >>
> >> >> Thanks
> >> >> Sri
> >> >>
> >> >> Sri123 wrote:
> >> >> >
> >> >> > I dont think I did. How do I set the classpath?
> >> >> >
> >> >> >
> >> >> > M.Vijaya Bhaskar wrote:
> >> >> >>
> >> >> >> Hi Sri,
> >> >> >>
> >> >> >> did u set the class path for junit
> >> >> >>
> >> >> >> On Wed, Oct 14, 2009 at 6:51 PM, Sri123
> >> <mohanasundaras@mail.nih.gov
> >> >
> >> >> >> wrote:
> >> >> >>
> >> >> >>>
> >> >> >>> I placed the jar file under h:\My
> >> >> >>>
> >> >> >>>
> >> >>
> >>
> documents\Downloads\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\lib\junit\junittest.jar
> >> >> >>>
> >> >> >>>
> >> >> >>> M.Vijaya Bhaskar wrote:
> >> >> >>> >
> >> >> >>> > Hi Sri,
> >> >> >>> >
> >> >> >>> > Can you plz tell me in which folder you placed the jar file
> >> which
> >> >> is
> >> >> >>> > contain
> >> >> >>> > junit calsses
> >> >> >>> >
> >> >> >>> >
> >> >> >>> >
> >> >> >>> > On Wed, Oct 14, 2009 at 6:29 PM, Sri123
> >> >> <mohanasundaras@mail.nih.gov
> >> >> >
> >> >> >>> > wrote:
> >> >> >>> >
> >> >> >>> >>
> >> >> >>> >> Can you please send me the links where I can refer. And I have
> >> one
> >> >> >>> more
> >> >> >>> >> issue
> >> >> >>> >> now, after I placed my jar file consisting of junit test
> >> classes,
> >> >> >>> Junit
> >> >> >>> >> request sampler is not showing my classes. Please let me know
> >> what
> >> >> >>> could
> >> >> >>> >> be
> >> >> >>> >> the reason for this
> >> >> >>> >>
> >> >> >>> >> Thanks
> >> >> >>> >> Sri
> >> >> >>> >>
> >> >> >>> >> sebb-2-2 wrote:
> >> >> >>> >> >
> >> >> >>> >> > Yes, this is included in current SVN code which is in
> nightly
> >> >> >>> builds.
> >> >> >>> >> >
> >> >> >>> >> > On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
> >> >> >>> >> >> As far as I know  currently not supported. Someone had
> >> metioned
> >> >> >>> that
> >> >> >>> a
> >> >> >>> >> >> patch
> >> >> >>> >> >>  exists..
> >> >> >>> >> >>
> >> >> >>> >> >>  https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
> >> >> >>> >> >>
> >> >> >>> >> >>  regards
> >> >> >>> >> >>  deepak
> >> >> >>> >> >>
> >> >> >>> >> >>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123
> >> >> >>> >> >> <mo...@mail.nih.gov>wrote:
> >> >> >>> >> >>
> >> >> >>> >> >>
> >> >> >>> >> >>  >
> >> >> >>> >> >>  > hi
> >> >> >>> >> >>  >
> >> >> >>> >> >>  > I want to add the Junit 4.0 test case that I have
> created
> >> >> for
> >> >> >>> my
> >> >> >>> >> >>  > application
> >> >> >>> >> >>  > into JMeter. Please let me know how I can do this.
> >> >> >>> >> >>  >
> >> >> >>> >> >>  > Thanks
> >> >> >>> >> >>  > Sri
> >> >> >>> >> >>  > --
> >> >> >>> >> >>  > View this message in context:
> >> >> >>> >> >>  >
> >> >> >>> >> >>
> >> >> >>> >>
> >> >> >>>
> >> >>
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
> >> >> >>> >> >>  > Sent from the JMeter - User mailing list archive at
> >> >> Nabble.com.
> >> >> >>> >> >>  >
> >> >> >>> >> >>  >
> >> >> >>> >> >>  >
> >> >> >>> >>
> >> >> ---------------------------------------------------------------------
> >> >> >>> >> >>  > 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
> >> >> >>> >> >
> >> >> >>> >> >
> >> >> >>> >> >
> >> >> >>> >>
> >> >> >>> >> --
> >> >> >>> >> View this message in context:
> >> >> >>> >>
> >> >> >>>
> >> >>
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890647.html
> >> >> >>> >> Sent from the JMeter - User mailing list archive at
> Nabble.com.
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>> >>
> >> >> ---------------------------------------------------------------------
> >> >> >>> >> To unsubscribe, e-mail:
> >> jmeter-user-unsubscribe@jakarta.apache.org
> >> >> >>> >> For additional commands, e-mail:
> >> >> jmeter-user-help@jakarta.apache.org
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>> >
> >> >> >>> >
> >> >> >>>
> >> >> >>> --
> >> >> >>> View this message in context:
> >> >> >>>
> >> >>
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890963.html
> >> >> >>> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> ---------------------------------------------------------------------
> >> >> >>> To unsubscribe, e-mail:
> jmeter-user-unsubscribe@jakarta.apache.org
> >> >> >>> For additional commands, e-mail:
> >> jmeter-user-help@jakarta.apache.org
> >> >> >>>
> >> >> >>>
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25892887.html
> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25895463.html
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25896019.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Re: Adding Junit test to JMeter

Posted by Sri123 <mo...@mail.nih.gov>.
After downloading should I place them under the lib folder of binary version 

Deepak Shetty wrote:
> 
> you also need to download the lib files
> 
> On Wed, Oct 14, 2009 at 10:24 AM, Sri123
> <mo...@mail.nih.gov>wrote:
> 
>>
>> I am not able to run the JMeter that I downloaded from the link you
>> provided.
>> I downloaded the binary version and ran the jmeter.bat and the window
>> closed
>> immediately without any message.
>>
>> Sri
>>
>> Deepak Shetty wrote:
>> >
>> >  Did you download the Jmeter jars from the link I sent? As mentioned
>> > before
>> > Jmeter 2.3.4 does not support Junit 4. You need the nightly release or
>> you
>> > need to wait for the next released JMeter version. You do not need to
>> > change
>> > anything in classpath, your jar file should be under the lib/junit
>> > directory.
>> > regards
>> > deepak
>> >
>> > On Wed, Oct 14, 2009 at 8:04 AM, Sri123 <mo...@mail.nih.gov>
>> > wrote:
>> >
>> >>
>> >> I added the class files to the classpath and it did work. But it
>> worked
>> >> only
>> >> for junit 3 test cases. Jmeter 2.3.4 still doesnt support junit 4 test
>> >> cases.
>> >>
>> >> Thanks
>> >> Sri
>> >>
>> >> Sri123 wrote:
>> >> >
>> >> > I dont think I did. How do I set the classpath?
>> >> >
>> >> >
>> >> > M.Vijaya Bhaskar wrote:
>> >> >>
>> >> >> Hi Sri,
>> >> >>
>> >> >> did u set the class path for junit
>> >> >>
>> >> >> On Wed, Oct 14, 2009 at 6:51 PM, Sri123
>> <mohanasundaras@mail.nih.gov
>> >
>> >> >> wrote:
>> >> >>
>> >> >>>
>> >> >>> I placed the jar file under h:\My
>> >> >>>
>> >> >>>
>> >>
>> documents\Downloads\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\lib\junit\junittest.jar
>> >> >>>
>> >> >>>
>> >> >>> M.Vijaya Bhaskar wrote:
>> >> >>> >
>> >> >>> > Hi Sri,
>> >> >>> >
>> >> >>> > Can you plz tell me in which folder you placed the jar file
>> which
>> >> is
>> >> >>> > contain
>> >> >>> > junit calsses
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> >> >>> > On Wed, Oct 14, 2009 at 6:29 PM, Sri123
>> >> <mohanasundaras@mail.nih.gov
>> >> >
>> >> >>> > wrote:
>> >> >>> >
>> >> >>> >>
>> >> >>> >> Can you please send me the links where I can refer. And I have
>> one
>> >> >>> more
>> >> >>> >> issue
>> >> >>> >> now, after I placed my jar file consisting of junit test
>> classes,
>> >> >>> Junit
>> >> >>> >> request sampler is not showing my classes. Please let me know
>> what
>> >> >>> could
>> >> >>> >> be
>> >> >>> >> the reason for this
>> >> >>> >>
>> >> >>> >> Thanks
>> >> >>> >> Sri
>> >> >>> >>
>> >> >>> >> sebb-2-2 wrote:
>> >> >>> >> >
>> >> >>> >> > Yes, this is included in current SVN code which is in nightly
>> >> >>> builds.
>> >> >>> >> >
>> >> >>> >> > On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
>> >> >>> >> >> As far as I know  currently not supported. Someone had
>> metioned
>> >> >>> that
>> >> >>> a
>> >> >>> >> >> patch
>> >> >>> >> >>  exists..
>> >> >>> >> >>
>> >> >>> >> >>  https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
>> >> >>> >> >>
>> >> >>> >> >>  regards
>> >> >>> >> >>  deepak
>> >> >>> >> >>
>> >> >>> >> >>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123
>> >> >>> >> >> <mo...@mail.nih.gov>wrote:
>> >> >>> >> >>
>> >> >>> >> >>
>> >> >>> >> >>  >
>> >> >>> >> >>  > hi
>> >> >>> >> >>  >
>> >> >>> >> >>  > I want to add the Junit 4.0 test case that I have created
>> >> for
>> >> >>> my
>> >> >>> >> >>  > application
>> >> >>> >> >>  > into JMeter. Please let me know how I can do this.
>> >> >>> >> >>  >
>> >> >>> >> >>  > Thanks
>> >> >>> >> >>  > Sri
>> >> >>> >> >>  > --
>> >> >>> >> >>  > View this message in context:
>> >> >>> >> >>  >
>> >> >>> >> >>
>> >> >>> >>
>> >> >>>
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
>> >> >>> >> >>  > Sent from the JMeter - User mailing list archive at
>> >> Nabble.com.
>> >> >>> >> >>  >
>> >> >>> >> >>  >
>> >> >>> >> >>  >
>> >> >>> >>
>> >> ---------------------------------------------------------------------
>> >> >>> >> >>  > 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
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >>
>> >> >>> >> --
>> >> >>> >> View this message in context:
>> >> >>> >>
>> >> >>>
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890647.html
>> >> >>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >> >>> >>
>> >> >>> >>
>> >> >>> >>
>> >> ---------------------------------------------------------------------
>> >> >>> >> To unsubscribe, e-mail:
>> jmeter-user-unsubscribe@jakarta.apache.org
>> >> >>> >> For additional commands, e-mail:
>> >> jmeter-user-help@jakarta.apache.org
>> >> >>> >>
>> >> >>> >>
>> >> >>> >
>> >> >>> >
>> >> >>>
>> >> >>> --
>> >> >>> View this message in context:
>> >> >>>
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890963.html
>> >> >>> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >> >>>
>> >> >>>
>> >> >>>
>> ---------------------------------------------------------------------
>> >> >>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >> >>> For additional commands, e-mail:
>> jmeter-user-help@jakarta.apache.org
>> >> >>>
>> >> >>>
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25892887.html
>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25895463.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25896019.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Adding Junit test to JMeter

Posted by Deepak Shetty <sh...@gmail.com>.
you also need to download the lib files

On Wed, Oct 14, 2009 at 10:24 AM, Sri123 <mo...@mail.nih.gov>wrote:

>
> I am not able to run the JMeter that I downloaded from the link you
> provided.
> I downloaded the binary version and ran the jmeter.bat and the window
> closed
> immediately without any message.
>
> Sri
>
> Deepak Shetty wrote:
> >
> >  Did you download the Jmeter jars from the link I sent? As mentioned
> > before
> > Jmeter 2.3.4 does not support Junit 4. You need the nightly release or
> you
> > need to wait for the next released JMeter version. You do not need to
> > change
> > anything in classpath, your jar file should be under the lib/junit
> > directory.
> > regards
> > deepak
> >
> > On Wed, Oct 14, 2009 at 8:04 AM, Sri123 <mo...@mail.nih.gov>
> > wrote:
> >
> >>
> >> I added the class files to the classpath and it did work. But it worked
> >> only
> >> for junit 3 test cases. Jmeter 2.3.4 still doesnt support junit 4 test
> >> cases.
> >>
> >> Thanks
> >> Sri
> >>
> >> Sri123 wrote:
> >> >
> >> > I dont think I did. How do I set the classpath?
> >> >
> >> >
> >> > M.Vijaya Bhaskar wrote:
> >> >>
> >> >> Hi Sri,
> >> >>
> >> >> did u set the class path for junit
> >> >>
> >> >> On Wed, Oct 14, 2009 at 6:51 PM, Sri123 <mohanasundaras@mail.nih.gov
> >
> >> >> wrote:
> >> >>
> >> >>>
> >> >>> I placed the jar file under h:\My
> >> >>>
> >> >>>
> >>
> documents\Downloads\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\lib\junit\junittest.jar
> >> >>>
> >> >>>
> >> >>> M.Vijaya Bhaskar wrote:
> >> >>> >
> >> >>> > Hi Sri,
> >> >>> >
> >> >>> > Can you plz tell me in which folder you placed the jar file which
> >> is
> >> >>> > contain
> >> >>> > junit calsses
> >> >>> >
> >> >>> >
> >> >>> >
> >> >>> > On Wed, Oct 14, 2009 at 6:29 PM, Sri123
> >> <mohanasundaras@mail.nih.gov
> >> >
> >> >>> > wrote:
> >> >>> >
> >> >>> >>
> >> >>> >> Can you please send me the links where I can refer. And I have
> one
> >> >>> more
> >> >>> >> issue
> >> >>> >> now, after I placed my jar file consisting of junit test classes,
> >> >>> Junit
> >> >>> >> request sampler is not showing my classes. Please let me know
> what
> >> >>> could
> >> >>> >> be
> >> >>> >> the reason for this
> >> >>> >>
> >> >>> >> Thanks
> >> >>> >> Sri
> >> >>> >>
> >> >>> >> sebb-2-2 wrote:
> >> >>> >> >
> >> >>> >> > Yes, this is included in current SVN code which is in nightly
> >> >>> builds.
> >> >>> >> >
> >> >>> >> > On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
> >> >>> >> >> As far as I know  currently not supported. Someone had
> metioned
> >> >>> that
> >> >>> a
> >> >>> >> >> patch
> >> >>> >> >>  exists..
> >> >>> >> >>
> >> >>> >> >>  https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
> >> >>> >> >>
> >> >>> >> >>  regards
> >> >>> >> >>  deepak
> >> >>> >> >>
> >> >>> >> >>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123
> >> >>> >> >> <mo...@mail.nih.gov>wrote:
> >> >>> >> >>
> >> >>> >> >>
> >> >>> >> >>  >
> >> >>> >> >>  > hi
> >> >>> >> >>  >
> >> >>> >> >>  > I want to add the Junit 4.0 test case that I have created
> >> for
> >> >>> my
> >> >>> >> >>  > application
> >> >>> >> >>  > into JMeter. Please let me know how I can do this.
> >> >>> >> >>  >
> >> >>> >> >>  > Thanks
> >> >>> >> >>  > Sri
> >> >>> >> >>  > --
> >> >>> >> >>  > View this message in context:
> >> >>> >> >>  >
> >> >>> >> >>
> >> >>> >>
> >> >>>
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
> >> >>> >> >>  > Sent from the JMeter - User mailing list archive at
> >> Nabble.com.
> >> >>> >> >>  >
> >> >>> >> >>  >
> >> >>> >> >>  >
> >> >>> >>
> >> ---------------------------------------------------------------------
> >> >>> >> >>  > 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
> >> >>> >> >
> >> >>> >> >
> >> >>> >> >
> >> >>> >>
> >> >>> >> --
> >> >>> >> View this message in context:
> >> >>> >>
> >> >>>
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890647.html
> >> >>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>> >>
> >> >>> >>
> >> >>> >>
> >> ---------------------------------------------------------------------
> >> >>> >> To unsubscribe, e-mail:
> jmeter-user-unsubscribe@jakarta.apache.org
> >> >>> >> For additional commands, e-mail:
> >> jmeter-user-help@jakarta.apache.org
> >> >>> >>
> >> >>> >>
> >> >>> >
> >> >>> >
> >> >>>
> >> >>> --
> >> >>> View this message in context:
> >> >>>
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890963.html
> >> >>> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>>
> >> >>>
> >> >>>
> ---------------------------------------------------------------------
> >> >>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> >>> For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25892887.html
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25895463.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Re: Adding Junit test to JMeter

Posted by Sri123 <mo...@mail.nih.gov>.
I am not able to run the JMeter that I downloaded from the link you provided.
I downloaded the binary version and ran the jmeter.bat and the window closed
immediately without any message.

Sri

Deepak Shetty wrote:
> 
>  Did you download the Jmeter jars from the link I sent? As mentioned
> before
> Jmeter 2.3.4 does not support Junit 4. You need the nightly release or you
> need to wait for the next released JMeter version. You do not need to
> change
> anything in classpath, your jar file should be under the lib/junit
> directory.
> regards
> deepak
> 
> On Wed, Oct 14, 2009 at 8:04 AM, Sri123 <mo...@mail.nih.gov>
> wrote:
> 
>>
>> I added the class files to the classpath and it did work. But it worked
>> only
>> for junit 3 test cases. Jmeter 2.3.4 still doesnt support junit 4 test
>> cases.
>>
>> Thanks
>> Sri
>>
>> Sri123 wrote:
>> >
>> > I dont think I did. How do I set the classpath?
>> >
>> >
>> > M.Vijaya Bhaskar wrote:
>> >>
>> >> Hi Sri,
>> >>
>> >> did u set the class path for junit
>> >>
>> >> On Wed, Oct 14, 2009 at 6:51 PM, Sri123 <mo...@mail.nih.gov>
>> >> wrote:
>> >>
>> >>>
>> >>> I placed the jar file under h:\My
>> >>>
>> >>>
>> documents\Downloads\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\lib\junit\junittest.jar
>> >>>
>> >>>
>> >>> M.Vijaya Bhaskar wrote:
>> >>> >
>> >>> > Hi Sri,
>> >>> >
>> >>> > Can you plz tell me in which folder you placed the jar file which
>> is
>> >>> > contain
>> >>> > junit calsses
>> >>> >
>> >>> >
>> >>> >
>> >>> > On Wed, Oct 14, 2009 at 6:29 PM, Sri123
>> <mohanasundaras@mail.nih.gov
>> >
>> >>> > wrote:
>> >>> >
>> >>> >>
>> >>> >> Can you please send me the links where I can refer. And I have one
>> >>> more
>> >>> >> issue
>> >>> >> now, after I placed my jar file consisting of junit test classes,
>> >>> Junit
>> >>> >> request sampler is not showing my classes. Please let me know what
>> >>> could
>> >>> >> be
>> >>> >> the reason for this
>> >>> >>
>> >>> >> Thanks
>> >>> >> Sri
>> >>> >>
>> >>> >> sebb-2-2 wrote:
>> >>> >> >
>> >>> >> > Yes, this is included in current SVN code which is in nightly
>> >>> builds.
>> >>> >> >
>> >>> >> > On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
>> >>> >> >> As far as I know  currently not supported. Someone had metioned
>> >>> that
>> >>> a
>> >>> >> >> patch
>> >>> >> >>  exists..
>> >>> >> >>
>> >>> >> >>  https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
>> >>> >> >>
>> >>> >> >>  regards
>> >>> >> >>  deepak
>> >>> >> >>
>> >>> >> >>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123
>> >>> >> >> <mo...@mail.nih.gov>wrote:
>> >>> >> >>
>> >>> >> >>
>> >>> >> >>  >
>> >>> >> >>  > hi
>> >>> >> >>  >
>> >>> >> >>  > I want to add the Junit 4.0 test case that I have created
>> for
>> >>> my
>> >>> >> >>  > application
>> >>> >> >>  > into JMeter. Please let me know how I can do this.
>> >>> >> >>  >
>> >>> >> >>  > Thanks
>> >>> >> >>  > Sri
>> >>> >> >>  > --
>> >>> >> >>  > View this message in context:
>> >>> >> >>  >
>> >>> >> >>
>> >>> >>
>> >>>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
>> >>> >> >>  > Sent from the JMeter - User mailing list archive at
>> Nabble.com.
>> >>> >> >>  >
>> >>> >> >>  >
>> >>> >> >>  >
>> >>> >>
>> ---------------------------------------------------------------------
>> >>> >> >>  > 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
>> >>> >> >
>> >>> >> >
>> >>> >> >
>> >>> >>
>> >>> >> --
>> >>> >> View this message in context:
>> >>> >>
>> >>>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890647.html
>> >>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>> >>
>> >>> >>
>> >>> >>
>> ---------------------------------------------------------------------
>> >>> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >>> >> For additional commands, e-mail:
>> jmeter-user-help@jakarta.apache.org
>> >>> >>
>> >>> >>
>> >>> >
>> >>> >
>> >>>
>> >>> --
>> >>> View this message in context:
>> >>>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890963.html
>> >>> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>>
>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25892887.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25895463.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Adding Junit test to JMeter

Posted by Deepak Shetty <sh...@gmail.com>.
 Did you download the Jmeter jars from the link I sent? As mentioned before
Jmeter 2.3.4 does not support Junit 4. You need the nightly release or you
need to wait for the next released JMeter version. You do not need to change
anything in classpath, your jar file should be under the lib/junit
directory.
regards
deepak

On Wed, Oct 14, 2009 at 8:04 AM, Sri123 <mo...@mail.nih.gov> wrote:

>
> I added the class files to the classpath and it did work. But it worked
> only
> for junit 3 test cases. Jmeter 2.3.4 still doesnt support junit 4 test
> cases.
>
> Thanks
> Sri
>
> Sri123 wrote:
> >
> > I dont think I did. How do I set the classpath?
> >
> >
> > M.Vijaya Bhaskar wrote:
> >>
> >> Hi Sri,
> >>
> >> did u set the class path for junit
> >>
> >> On Wed, Oct 14, 2009 at 6:51 PM, Sri123 <mo...@mail.nih.gov>
> >> wrote:
> >>
> >>>
> >>> I placed the jar file under h:\My
> >>>
> >>>
> documents\Downloads\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\lib\junit\junittest.jar
> >>>
> >>>
> >>> M.Vijaya Bhaskar wrote:
> >>> >
> >>> > Hi Sri,
> >>> >
> >>> > Can you plz tell me in which folder you placed the jar file which is
> >>> > contain
> >>> > junit calsses
> >>> >
> >>> >
> >>> >
> >>> > On Wed, Oct 14, 2009 at 6:29 PM, Sri123 <mohanasundaras@mail.nih.gov
> >
> >>> > wrote:
> >>> >
> >>> >>
> >>> >> Can you please send me the links where I can refer. And I have one
> >>> more
> >>> >> issue
> >>> >> now, after I placed my jar file consisting of junit test classes,
> >>> Junit
> >>> >> request sampler is not showing my classes. Please let me know what
> >>> could
> >>> >> be
> >>> >> the reason for this
> >>> >>
> >>> >> Thanks
> >>> >> Sri
> >>> >>
> >>> >> sebb-2-2 wrote:
> >>> >> >
> >>> >> > Yes, this is included in current SVN code which is in nightly
> >>> builds.
> >>> >> >
> >>> >> > On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
> >>> >> >> As far as I know  currently not supported. Someone had metioned
> >>> that
> >>> a
> >>> >> >> patch
> >>> >> >>  exists..
> >>> >> >>
> >>> >> >>  https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
> >>> >> >>
> >>> >> >>  regards
> >>> >> >>  deepak
> >>> >> >>
> >>> >> >>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123
> >>> >> >> <mo...@mail.nih.gov>wrote:
> >>> >> >>
> >>> >> >>
> >>> >> >>  >
> >>> >> >>  > hi
> >>> >> >>  >
> >>> >> >>  > I want to add the Junit 4.0 test case that I have created for
> >>> my
> >>> >> >>  > application
> >>> >> >>  > into JMeter. Please let me know how I can do this.
> >>> >> >>  >
> >>> >> >>  > Thanks
> >>> >> >>  > Sri
> >>> >> >>  > --
> >>> >> >>  > View this message in context:
> >>> >> >>  >
> >>> >> >>
> >>> >>
> >>>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
> >>> >> >>  > Sent from the JMeter - User mailing list archive at
> Nabble.com.
> >>> >> >>  >
> >>> >> >>  >
> >>> >> >>  >
> >>> >>
> ---------------------------------------------------------------------
> >>> >> >>  > 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
> >>> >> >
> >>> >> >
> >>> >> >
> >>> >>
> >>> >> --
> >>> >> View this message in context:
> >>> >>
> >>>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890647.html
> >>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>> >>
> >>> >>
> >>> >>
> ---------------------------------------------------------------------
> >>> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >>> >> For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
> >>> >>
> >>> >>
> >>> >
> >>> >
> >>>
> >>> --
> >>> View this message in context:
> >>>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890963.html
> >>> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>>
> >>>
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25892887.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Re: Adding Junit test to JMeter

Posted by Sri123 <mo...@mail.nih.gov>.
I added the class files to the classpath and it did work. But it worked only
for junit 3 test cases. Jmeter 2.3.4 still doesnt support junit 4 test
cases.

Thanks
Sri

Sri123 wrote:
> 
> I dont think I did. How do I set the classpath?
> 
> 
> M.Vijaya Bhaskar wrote:
>> 
>> Hi Sri,
>> 
>> did u set the class path for junit
>> 
>> On Wed, Oct 14, 2009 at 6:51 PM, Sri123 <mo...@mail.nih.gov>
>> wrote:
>> 
>>>
>>> I placed the jar file under h:\My
>>>
>>> documents\Downloads\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\lib\junit\junittest.jar
>>>
>>>
>>> M.Vijaya Bhaskar wrote:
>>> >
>>> > Hi Sri,
>>> >
>>> > Can you plz tell me in which folder you placed the jar file which is
>>> > contain
>>> > junit calsses
>>> >
>>> >
>>> >
>>> > On Wed, Oct 14, 2009 at 6:29 PM, Sri123 <mo...@mail.nih.gov>
>>> > wrote:
>>> >
>>> >>
>>> >> Can you please send me the links where I can refer. And I have one
>>> more
>>> >> issue
>>> >> now, after I placed my jar file consisting of junit test classes,
>>> Junit
>>> >> request sampler is not showing my classes. Please let me know what
>>> could
>>> >> be
>>> >> the reason for this
>>> >>
>>> >> Thanks
>>> >> Sri
>>> >>
>>> >> sebb-2-2 wrote:
>>> >> >
>>> >> > Yes, this is included in current SVN code which is in nightly
>>> builds.
>>> >> >
>>> >> > On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
>>> >> >> As far as I know  currently not supported. Someone had metioned
>>> that
>>> a
>>> >> >> patch
>>> >> >>  exists..
>>> >> >>
>>> >> >>  https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
>>> >> >>
>>> >> >>  regards
>>> >> >>  deepak
>>> >> >>
>>> >> >>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123
>>> >> >> <mo...@mail.nih.gov>wrote:
>>> >> >>
>>> >> >>
>>> >> >>  >
>>> >> >>  > hi
>>> >> >>  >
>>> >> >>  > I want to add the Junit 4.0 test case that I have created for
>>> my
>>> >> >>  > application
>>> >> >>  > into JMeter. Please let me know how I can do this.
>>> >> >>  >
>>> >> >>  > Thanks
>>> >> >>  > Sri
>>> >> >>  > --
>>> >> >>  > View this message in context:
>>> >> >>  >
>>> >> >>
>>> >>
>>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
>>> >> >>  > Sent from the JMeter - User mailing list archive at Nabble.com.
>>> >> >>  >
>>> >> >>  >
>>> >> >>  >
>>> >> ---------------------------------------------------------------------
>>> >> >>  > 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
>>> >> >
>>> >> >
>>> >> >
>>> >>
>>> >> --
>>> >> View this message in context:
>>> >>
>>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890647.html
>>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>>> >>
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>> >>
>>> >>
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890963.html
>>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25892887.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Adding Junit test to JMeter

Posted by Sri123 <mo...@mail.nih.gov>.
I dont think I did. How do I set the classpath?


M.Vijaya Bhaskar wrote:
> 
> Hi Sri,
> 
> did u set the class path for junit
> 
> On Wed, Oct 14, 2009 at 6:51 PM, Sri123 <mo...@mail.nih.gov>
> wrote:
> 
>>
>> I placed the jar file under h:\My
>>
>> documents\Downloads\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\lib\junit\junittest.jar
>>
>>
>> M.Vijaya Bhaskar wrote:
>> >
>> > Hi Sri,
>> >
>> > Can you plz tell me in which folder you placed the jar file which is
>> > contain
>> > junit calsses
>> >
>> >
>> >
>> > On Wed, Oct 14, 2009 at 6:29 PM, Sri123 <mo...@mail.nih.gov>
>> > wrote:
>> >
>> >>
>> >> Can you please send me the links where I can refer. And I have one
>> more
>> >> issue
>> >> now, after I placed my jar file consisting of junit test classes,
>> Junit
>> >> request sampler is not showing my classes. Please let me know what
>> could
>> >> be
>> >> the reason for this
>> >>
>> >> Thanks
>> >> Sri
>> >>
>> >> sebb-2-2 wrote:
>> >> >
>> >> > Yes, this is included in current SVN code which is in nightly
>> builds.
>> >> >
>> >> > On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
>> >> >> As far as I know  currently not supported. Someone had metioned
>> that
>> a
>> >> >> patch
>> >> >>  exists..
>> >> >>
>> >> >>  https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
>> >> >>
>> >> >>  regards
>> >> >>  deepak
>> >> >>
>> >> >>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123
>> >> >> <mo...@mail.nih.gov>wrote:
>> >> >>
>> >> >>
>> >> >>  >
>> >> >>  > hi
>> >> >>  >
>> >> >>  > I want to add the Junit 4.0 test case that I have created for my
>> >> >>  > application
>> >> >>  > into JMeter. Please let me know how I can do this.
>> >> >>  >
>> >> >>  > Thanks
>> >> >>  > Sri
>> >> >>  > --
>> >> >>  > View this message in context:
>> >> >>  >
>> >> >>
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
>> >> >>  > Sent from the JMeter - User mailing list archive at Nabble.com.
>> >> >>  >
>> >> >>  >
>> >> >>  >
>> >> ---------------------------------------------------------------------
>> >> >>  > 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
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890647.html
>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890963.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25891087.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Adding Junit test to JMeter

Posted by "M.Vijaya Bhaskar" <vi...@sigmainfo.net>.
Hi Sri,

did u set the class path for junit

On Wed, Oct 14, 2009 at 6:51 PM, Sri123 <mo...@mail.nih.gov> wrote:

>
> I placed the jar file under h:\My
>
> documents\Downloads\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\lib\junit\junittest.jar
>
>
> M.Vijaya Bhaskar wrote:
> >
> > Hi Sri,
> >
> > Can you plz tell me in which folder you placed the jar file which is
> > contain
> > junit calsses
> >
> >
> >
> > On Wed, Oct 14, 2009 at 6:29 PM, Sri123 <mo...@mail.nih.gov>
> > wrote:
> >
> >>
> >> Can you please send me the links where I can refer. And I have one more
> >> issue
> >> now, after I placed my jar file consisting of junit test classes, Junit
> >> request sampler is not showing my classes. Please let me know what could
> >> be
> >> the reason for this
> >>
> >> Thanks
> >> Sri
> >>
> >> sebb-2-2 wrote:
> >> >
> >> > Yes, this is included in current SVN code which is in nightly builds.
> >> >
> >> > On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
> >> >> As far as I know  currently not supported. Someone had metioned that
> a
> >> >> patch
> >> >>  exists..
> >> >>
> >> >>  https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
> >> >>
> >> >>  regards
> >> >>  deepak
> >> >>
> >> >>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123
> >> >> <mo...@mail.nih.gov>wrote:
> >> >>
> >> >>
> >> >>  >
> >> >>  > hi
> >> >>  >
> >> >>  > I want to add the Junit 4.0 test case that I have created for my
> >> >>  > application
> >> >>  > into JMeter. Please let me know how I can do this.
> >> >>  >
> >> >>  > Thanks
> >> >>  > Sri
> >> >>  > --
> >> >>  > View this message in context:
> >> >>  >
> >> >>
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
> >> >>  > Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>  >
> >> >>  >
> >> >>  >
> >> ---------------------------------------------------------------------
> >> >>  > 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
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890647.html
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890963.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Re: Adding Junit test to JMeter

Posted by Sri123 <mo...@mail.nih.gov>.
I placed the jar file under h:\My
documents\Downloads\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\lib\junit\junittest.jar


M.Vijaya Bhaskar wrote:
> 
> Hi Sri,
> 
> Can you plz tell me in which folder you placed the jar file which is
> contain
> junit calsses
> 
> 
> 
> On Wed, Oct 14, 2009 at 6:29 PM, Sri123 <mo...@mail.nih.gov>
> wrote:
> 
>>
>> Can you please send me the links where I can refer. And I have one more
>> issue
>> now, after I placed my jar file consisting of junit test classes, Junit
>> request sampler is not showing my classes. Please let me know what could
>> be
>> the reason for this
>>
>> Thanks
>> Sri
>>
>> sebb-2-2 wrote:
>> >
>> > Yes, this is included in current SVN code which is in nightly builds.
>> >
>> > On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
>> >> As far as I know  currently not supported. Someone had metioned that a
>> >> patch
>> >>  exists..
>> >>
>> >>  https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
>> >>
>> >>  regards
>> >>  deepak
>> >>
>> >>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123
>> >> <mo...@mail.nih.gov>wrote:
>> >>
>> >>
>> >>  >
>> >>  > hi
>> >>  >
>> >>  > I want to add the Junit 4.0 test case that I have created for my
>> >>  > application
>> >>  > into JMeter. Please let me know how I can do this.
>> >>  >
>> >>  > Thanks
>> >>  > Sri
>> >>  > --
>> >>  > View this message in context:
>> >>  >
>> >>
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
>> >>  > Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>  >
>> >>  >
>> >>  >
>> ---------------------------------------------------------------------
>> >>  > 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
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890647.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890963.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Adding Junit test to JMeter

Posted by "M.Vijaya Bhaskar" <vi...@sigmainfo.net>.
Hi Sri,

Can you plz tell me in which folder you placed the jar file which is contain
junit calsses



On Wed, Oct 14, 2009 at 6:29 PM, Sri123 <mo...@mail.nih.gov> wrote:

>
> Can you please send me the links where I can refer. And I have one more
> issue
> now, after I placed my jar file consisting of junit test classes, Junit
> request sampler is not showing my classes. Please let me know what could be
> the reason for this
>
> Thanks
> Sri
>
> sebb-2-2 wrote:
> >
> > Yes, this is included in current SVN code which is in nightly builds.
> >
> > On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
> >> As far as I know  currently not supported. Someone had metioned that a
> >> patch
> >>  exists..
> >>
> >>  https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
> >>
> >>  regards
> >>  deepak
> >>
> >>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123
> >> <mo...@mail.nih.gov>wrote:
> >>
> >>
> >>  >
> >>  > hi
> >>  >
> >>  > I want to add the Junit 4.0 test case that I have created for my
> >>  > application
> >>  > into JMeter. Please let me know how I can do this.
> >>  >
> >>  > Thanks
> >>  > Sri
> >>  > --
> >>  > View this message in context:
> >>  >
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
> >>  > Sent from the JMeter - User mailing list archive at Nabble.com.
> >>  >
> >>  >
> >>  > ---------------------------------------------------------------------
> >>  > 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
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890647.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Re: Adding Junit test to JMeter

Posted by Deepak Shetty <sh...@gmail.com>.
http://people.apache.org/builds/jakarta-jmeter/nightly/ - Download the
version from here.

You currently wont see the JUnit cases because the released versions of
JMeter do not yet support Junit 4.

regards
deepak

On Wed, Oct 14, 2009 at 5:59 AM, Sri123 <mo...@mail.nih.gov> wrote:

>
> Can you please send me the links where I can refer. And I have one more
> issue
> now, after I placed my jar file consisting of junit test classes, Junit
> request sampler is not showing my classes. Please let me know what could be
> the reason for this
>
> Thanks
> Sri
>
> sebb-2-2 wrote:
> >
> > Yes, this is included in current SVN code which is in nightly builds.
> >
> > On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
> >> As far as I know  currently not supported. Someone had metioned that a
> >> patch
> >>  exists..
> >>
> >>  https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
> >>
> >>  regards
> >>  deepak
> >>
> >>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123
> >> <mo...@mail.nih.gov>wrote:
> >>
> >>
> >>  >
> >>  > hi
> >>  >
> >>  > I want to add the Junit 4.0 test case that I have created for my
> >>  > application
> >>  > into JMeter. Please let me know how I can do this.
> >>  >
> >>  > Thanks
> >>  > Sri
> >>  > --
> >>  > View this message in context:
> >>  >
> >>
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
> >>  > Sent from the JMeter - User mailing list archive at Nabble.com.
> >>  >
> >>  >
> >>  > ---------------------------------------------------------------------
> >>  > 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
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890647.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Re: Adding Junit test to JMeter

Posted by Sri123 <mo...@mail.nih.gov>.
Can you please send me the links where I can refer. And I have one more issue
now, after I placed my jar file consisting of junit test classes, Junit
request sampler is not showing my classes. Please let me know what could be
the reason for this

Thanks
Sri

sebb-2-2 wrote:
> 
> Yes, this is included in current SVN code which is in nightly builds.
> 
> On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
>> As far as I know  currently not supported. Someone had metioned that a
>> patch
>>  exists..
>>
>>  https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
>>
>>  regards
>>  deepak
>>
>>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123
>> <mo...@mail.nih.gov>wrote:
>>
>>
>>  >
>>  > hi
>>  >
>>  > I want to add the Junit 4.0 test case that I have created for my
>>  > application
>>  > into JMeter. Please let me know how I can do this.
>>  >
>>  > Thanks
>>  > Sri
>>  > --
>>  > View this message in context:
>>  >
>> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
>>  > Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >
>>  >
>>  > ---------------------------------------------------------------------
>>  > 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25890647.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Adding Junit test to JMeter

Posted by sebb <se...@gmail.com>.
Yes, this is included in current SVN code which is in nightly builds.

On 13/10/2009, Deepak Shetty <sh...@gmail.com> wrote:
> As far as I know  currently not supported. Someone had metioned that a patch
>  exists..
>
>  https://issues.apache.org/bugzilla/show_bug.cgi?id=47803
>
>  regards
>  deepak
>
>  On Tue, Oct 13, 2009 at 12:08 PM, Sri123 <mo...@mail.nih.gov>wrote:
>
>
>  >
>  > hi
>  >
>  > I want to add the Junit 4.0 test case that I have created for my
>  > application
>  > into JMeter. Please let me know how I can do this.
>  >
>  > Thanks
>  > Sri
>  > --
>  > View this message in context:
>  > http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
>  > Sent from the JMeter - User mailing list archive at Nabble.com.
>  >
>  >
>  > ---------------------------------------------------------------------
>  > 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: Adding Junit test to JMeter

Posted by Deepak Shetty <sh...@gmail.com>.
As far as I know  currently not supported. Someone had metioned that a patch
exists..

https://issues.apache.org/bugzilla/show_bug.cgi?id=47803

regards
deepak

On Tue, Oct 13, 2009 at 12:08 PM, Sri123 <mo...@mail.nih.gov>wrote:

>
> hi
>
> I want to add the Junit 4.0 test case that I have created for my
> application
> into JMeter. Please let me know how I can do this.
>
> Thanks
> Sri
> --
> View this message in context:
> http://www.nabble.com/Adding-Junit-test-to-JMeter-tp25878861p25878861.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>