jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Learmonth <James.Learmo...@datalexuk.com>
Subject RE: Can Jmeter exercise existing Junit test cases
Date Tue, 23 Aug 2005 10:37:25 GMT
Attempting to trace though the code for JUnitSampler.java
Seems when a test case gets an error and throws an exception the bit of code
below is executed. It seems the getErrors don't return anything. What/when
do the associated set methods get called ? 
Or have I missed some setup process.

            } catch (InvocationTargetException e) {
                sresult.setResponseCode(getErrorCode());
                sresult.setResponseMessage(getError());


-----Original Message-----
From: Peter Lin [mailto:woolfel@gmail.com] 
Sent: 22 August 2005 16:58
To: JMeter Users List
Subject: Re: Can Jmeter exercise existing Junit test cases

I'm not sure what the problem is.  try using this version in my home
directiory

http://cvs.apache.org/~woolfel/jakarta-jmeter.zip

peter

On 8/22/05, James Learmonth <James.Learmonth@datalexuk.com> wrote:
> OK found the CVS tutorial
> Can't get the nightly build to run out the box
> Complains about org.apache.log.Formatter , I have scoured the net but
cannot
> find this.
> 
> Regards Jim Learmonth
> 
> 
> -----Original Message-----
> From: Peter Lin [mailto:woolfel@gmail.com]
> Sent: 19 August 2005 11:49
> To: JMeter Users List
> Subject: Re: Can Jmeter exercise existing Junit test cases
> 
> there's a new junitsampler in the nightly build and there's a tutorial
> for it in CVS.
> 
> 
> peter lin
> 
> 
> On 8/19/05, James Learmonth <James.Learmonth@datalexuk.com> wrote:
> > I am new to Jmeter though have used Junit
> > I have hundreds of existing Junit Test suites/Test cases
> > Up to now for load testing I have used scripts running as background
> > processes, it would be nice to use Jmeter.
> >
> > Can Jmeter use the test cases as they stand?
> > Or
> > Do I have to re-engineer the test cases in Jmeter format?
> >
> > Thanks Jim Learmonth
> >
> > ---------------------------------------------------------------------
> > 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
> 
> ---------------------------------------------------------------------
> 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

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


Mime
View raw message