Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 50178 invoked from network); 26 Aug 2005 12:54:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Aug 2005 12:54:42 -0000 Received: (qmail 86245 invoked by uid 500); 26 Aug 2005 12:54:39 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 86228 invoked by uid 500); 26 Aug 2005 12:54:39 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 86215 invoked by uid 99); 26 Aug 2005 12:54:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2005 05:54:39 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [80.169.166.5] (HELO MAN-EXCH-01.datalexuk.com) (80.169.166.5) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2005 05:54:55 -0700 Received: by man-exch-01.datalexuk.com with Internet Mail Service (5.5.2658.3) id ; Fri, 26 Aug 2005 13:52:57 +0100 Message-ID: <87A429FDAC989347BD89330788EC94C603F33795@man-exch-01.datalexuk.com> From: James Learmonth To: JMeter Users List Subject: RE: Can Jmeter exercise existing Junit test cases Date: Fri, 26 Aug 2005 13:52:53 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2658.3) Content-Type: text/plain X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Not sure where to get it from ? On nightly builds jakarta-jmeter-2_1.20050818_bin.zip Seems to be latest build ( also there are two ? ) I am so new to the email boards I don't know the ropes, sorry ! Regards JimL -----Original Message----- From: Peter Lin [mailto:woolfel@gmail.com] Sent: 26 August 2005 13:49 To: JMeter Users List Subject: Re: Can Jmeter exercise existing Junit test cases Hi James, have you given the patched a try? any feedback on the JUnitSampler is appreciated. yesterday I added an additional catch for throwable, so hopefully that will catch more unexpected exceptions. peter lin On 8/24/05, James Learmonth wrote: > Thanks Peter, if you cannot it's not that critical. > But it would be nice to execute my existing Junit tests. > Probably best to put your feet up with a glass of some "suitable" tonic. > > Regards > JimL > > > -----Original Message----- > From: Peter Lin [mailto:woolfel@gmail.com] > Sent: 24 August 2005 15:57 > To: JMeter Users List > Subject: Re: Can Jmeter exercise existing Junit test cases > > 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 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 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 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 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 > > --------------------------------------------------------------------- > 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