I'm not exactly clear on what you want to do - it sounds like something
not suited to JMeter.

Do you want JMeter to act as the harness that executes your unit tests
instead of JUnit so that you can have JMeter run them in parallel with
multiple threads and repeatedly?  If so, I could so one writing a
JUnitSampler that would basically do what JUnit does (ie execute
setUp-testMethod-tearDown) within the JMeter universe.  This sampler is
not written currently, but it wouldn't be terribly hard to do.  I'd
question the value of doing so since most unit tests are a long ways off
from having anything to do with performance testing.

JMeter is closer to a user acceptance test tool, that focuses on stress
testing the whole app and regression testing the whole app.  Unit
testing is at a fundamentally lower level than that.

Please clarify my misunderstandings of what you are asking.

-Mike

On Mon, 2005-02-21 at 13:47, Raghu Bhat wrote:
> Hello,
> 
> I have written some JUnit test cases for my application which uses
> Spring and Hibernate. Is it possible that i can use JMeter to do the
> performance and load testing for my application leveraging the JUnit
> test cases?
> 
> On going through the JMeter documentation i got the impression that
> one needs to write Test Plans for every test. Please correct if i'm
> wrong. I don't want to duplicate the effort of writing JUnit test
> cases and also Test plans.
> 
> Appreciate all the help i can get.
> 
> Thanks,
> Raghu
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Michael Stover <[EMAIL PROTECTED]>
Apache Software Foundation


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to