jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Lin" <wool...@gmail.com>
Subject Re: Finding JUnit Test Plan
Date Mon, 10 Jul 2006 11:58:44 GMT
Not sure I understand.  Was it a bug in the test.jar in the /lib/junit
directory?  if that's the case, I'll fix the ANT task in jmeter's build.xml.


thanks

peter

On 7/10/06, Amin Abbaspour <abbaspour_amin@yahoo.com> wrote:
>
> Hi Peter,
>
> Yet I found that problem occurs when using 'ZipFileSet' while packing via
> Ant's 'Jar' target. Including files with simple 'FileSet' seems to work
> well. Are you still sure that you don't wanna check your code to fix this?
>
>
> Amin
>
> --- Peter Lin <woolfel@gmail.com> wrote:
>
> > ok, that makes sense. if the jar file is incorrect, the classloader
> > won't
> > find the class.  it might be the ant task configuration.
> >
> > peter
> >
> >
> > On 7/8/06, Amin Abbaspour <abbaspour_amin@yahoo.com> wrote:
> > >
> > > Hi Peter,
> > >
> > > I had a progress in the problem. When I pack using Sun's standard JAR
> > > command or even GNU's FastJAR, JMeter is able to reflect JUnit test
> > plan,
> > > but when I create JAR via "Ant's jar" target JMeter fails to reflect.
> > >
> > > This was the reason, since I created my JAR's with ant. When I used
> > > command-line every think worked well. I guess this is a matter to be
> > > posted in Ant's mailing list, but before that would you please check
> > it
> > > yourself and see the result. I'm using Ant version 1.6.5.
> > >
> > > Sincerely,
> > > Amin
> > >
> > > --- Peter Lin <woolfel@gmail.com> wrote:
> > >
> > > > that sounds odd. it works fine for me. Which version of jmeter are
> > you
> > > > using?
> > > >
> > > > I wrote the junit sampler, so if there's a bug I'd like to make sure
> > > > it's
> > > > tracked and fixed properly. thanks
> > > >
> > > > peter
> > > >
> > > > On 7/7/06, Amin Abbaspour <abbaspour_amin@yahoo.com> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > As I said, I have recompiled and tested the example within JMeter
> > and
> > > > it
> > > > > did not work too. Only the initial packed JAR file is working.
> > Hence I
> > > > > don't think your gesture, to be the problem's reason.
> > > > >
> > > > > Amin
> > > > >
> > > > > --- Peter Lin <woolfel@gmail.com> wrote:
> > > > >
> > > > > > did you place the jars in the directory before or after you
> > started
> > > > > > jmeter?
> > > > > >
> > > > > > you should put the jars in the directory before starting jmeter.
> >  if
> > > > > > that's
> > > > > > not the problem, it could be your unit tests does not have a
> > > > constructor
> > > > > > that takes no imput
> > > > > >
> > > > > >
> > > >
> > http://jakarta.apache.org/jmeter/usermanual/junitsampler_tutorial.pdf
> > > > > >
> > > > > > peter
> > > > > >
> > > > > > On 7/4/06, Amin Abbaspour <abbaspour_amin@yahoo.com> wrote:
> > > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > I developed a JAR file containing JUnit test plan and placed
> > it in
> > > > > > > lib/junit, but JMeter does not seem to find and reflect
it in
> > > > JUnit
> > > > > > > section.
> > > > > > >
> > > > > > > It just finds JMeter's own sample (i.e. woolfel). I also
tried
> > to
> > > > > > compile
> > > > > > > 'woolfel' and pack it again myself, but the same thing
> > happened
> > > > and
> > > > > > jmeter
> > > > > > > failed to load and show it.
> > > > > > >
> > > > > > > I taught may be its some thing about my JDK ( I use 1.5
), and
> > > > changed
> > > > > > it
> > > > > > > to JDK 1.4, but this trick did not work either.
> > > > > > >
> > > > > > > I don't think this is a problem in test plan source code
since
> > as
> > > > I
> > > > > > said,
> > > > > > > I compiled the code with JMeter itself and it did not work
> > too.
> > > > > > >
> > > > > > > Thanks for your attention and help,
> > > > > > > Sincerely,
> > > > > > > Amin
> > > > > > >
> > > > > > > __________________________________________________
> > > > > > > Do You Yahoo!?
> > > > > > > Tired of spam?  Yahoo! Mail has the best spam protection
> > around
> > > > > > > http://mail.yahoo.com
> > > > > > >
> > > > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail:
> > jmeter-user-unsubscribe@jakarta.apache.org
> > > > > > > For additional commands, e-mail:
> > > > jmeter-user-help@jakarta.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > ----------------------------------------------------
> > > > > A free man's toughts -  http://jroller.com/page/amin
> > > > > And his homepage     -  http://www.tuxsoft.ir/~amin/
> > > > > ----------------------------------------------------
> > > > >
> > > > > __________________________________________________
> > > > > Do You Yahoo!?
> > > > > Tired of spam?  Yahoo! Mail has the best spam protection around
> > > > > http://mail.yahoo.com
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail:
> > jmeter-user-help@jakarta.apache.org
> > > > >
> > > > >
> > > >
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam protection around
> > > http://mail.yahoo.com
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> >
>
>
> ----------------------------------------------------
> A free man's toughts -  http://jroller.com/page/amin
> And his homepage     -  http://www.tuxsoft.ir/~amin/
> ----------------------------------------------------
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message