did you try running Junit using this jar directly to run your class?

regards
deepak

On Wed, Sep 23, 2009 at 8:19 AM, Anupindi, Satish <
[email protected]> wrote:

>
> I am using JUnit3.
>
> -----Original Message-----
> From: sebb [mailto:[email protected]]
> Sent: Wednesday, September 23, 2009 10:54 AM
> To: JMeter Users List
> Subject: Re: Question on using the JUnit Sampler with JMeter
>
> On 23/09/2009, Anupindi, Satish <[email protected]>
> wrote:
> >
> >  Does not seem to work with JMeter 2.3.4 either. Any ideas?
>
> Are you using JUnit3 or JUnit4?
>
> >
> >  -----Original Message-----
> >  From: sebb [mailto:[email protected]]
> >  Sent: Tuesday, September 22, 2009 6:30 PM
> >  To: JMeter Users List
> >  Subject: Re: Question on using the JUnit Sampler with JMeter
> >
> >  On 22/09/2009, Anupindi, Satish
> <[email protected]>
> >  wrote:
> >  >
> >  >
> >  >
> >  >
> >  >  Hi,
> >  >
> >  >             As a proof of concept, I created a sample JUNit Test
> Java
> >  >  file (which is attached), compiled fine, created a jar file out of
> >  the
> >  >  package defined for it. I then, copied the jar file to the
> >  >  "JMeter_root_dir\lib\junit"  directory, and restarted JMeter. But
> I
> >  >  could not find the SampleTest under the ClassName option. Any
> ideas
> >  why?
> >  >  I Googled the hell out of it - but to no avail. Please help!!
> >  >
> >
> >  Please don't send attachments to the list (in this case it was
> dropped
> >  anyway).
> >
> >  N.B. JMeter 2.3.4 only supports JUnit3 because it targets Java 1.4+
> >  There will be JUnit4 support in the next release of JMeter (no
> release
> >  date yet, but it will require Java 1.5+).
> >
> >  >
> >  >  Thanks,
> >  >
> >  >
> >  >  Satish
> >  >
> >  >
> >  >
> >  >
> ---------------------------------------------------------------------
> >  >  To unsubscribe, e-mail: [email protected]
> >  >  For additional commands, e-mail:
> [email protected]
> >  >
> >
> >  ---------------------------------------------------------------------
> >  To unsubscribe, e-mail: [email protected]
> >  For additional commands, e-mail: [email protected]
> >
> >
> >  ---------------------------------------------------------------------
> >  To unsubscribe, e-mail: [email protected]
> >  For additional commands, e-mail: [email protected]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to