jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Lin <wool...@gmail.com>
Subject Re: Can Jmeter exercise existing Junit test cases
Date Wed, 24 Aug 2005 14:56:33 GMT
my apologies, I came down with a cold on Sunday and last night was was
sneezing and coughing. I'll try to implement that tonight if I'm not
too sick.

peter lin


On 8/24/05, James Learmonth <James.Learmonth@datalexuk.com> wrote:
> Hello Peter did you get chance to make the change as you suggested.
> Just to re-cap.
> The SimpleTest should pass test0 but fail test1, however they both appear to
> pass.
> 
> Jim Learmonth.
> 
> -----Original Message-----
> From: Peter Lin [mailto:woolfel@gmail.com]
> Sent: 23 August 2005 13:57
> To: JMeter Users List
> Subject: Re: Can Jmeter exercise existing Junit test cases
> 
> it could be a bug in the sampler. In general I followed junit
> convention, so if an unexpected exceptions occurs when the method is
> invoked, I set error code and message. The code and message are
> defined in the JUnitsampler gui.
> 
> the current implementation doesn't pass the error, but I can do that.
> I'll make a change to it tonight.
> 
> peter
> 
> 
> On 8/23/05, James Learmonth <James.Learmonth@datalexuk.com> wrote:
> > 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
> >
> >
> 
> ---------------------------------------------------------------------
> 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