jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <..@icarinae.com>
Subject Re: Debugging JMeter
Date Thu, 01 Apr 2010 15:34:25 GMT
There is a Eclipse plugin for Beanshell too

http://eclipse-shell.sourceforge.net/




On Thu, 1 Apr 2010 15:59:27 +0100, sebb <sebbaz@gmail.com> wrote:
> On 01/04/2010, Noel O'Brien <nobrien@newbay.com> wrote:
>> Thanks for the reply Sebb.
>>
>>  Do all BSH languages suffer from the problem of returning
>>  not-very-useful infto to JMeter?
> 
> I think you may mean BSF.
> 
> Sorry, I don't know.
> 
>>  FWIW, all my scripts are already in external files, but it doesn't
seem
>>  to make any difference :(
>>
>>  Regarding the "commenting out", I've been using print statement to
>>  locate issues in scrtipts to date, but I'm looking for a more elegant
>>  solution :)
>>
>>  Looks like not much can be done about it then ;(
>>
>>  Thanks for your help
>>
>>  Regards,
>>  Noel
>>
>>
>>  ----- "sebb" <sebbaz@gmail.com> wrote:
>>  > On 01/04/2010, Noel O'Brien <nobrien@newbay.com> wrote:
>>  > > Hi all,
>>  > >
>>  > > Just a general question around debugging Beanshell scripts. Are
>>  > > there any useful tools/settings/whatever which can increase the
>>  > > verbosity of errors when there're error's with beanshell scripts?
>>  > > Usually the errors that appear in jmeter.log are as informative as
>>  > > "Could not eval source file", whereas it would be much more useful
>>  > > if it was possible to determine the lien number and type of error?
>>  > >
>>  >
>>  > That's all that BeanShell tells JMeter.
>>  >
>>  > > Any thoughts?
>>  >
>>  > You could try:
>>  >
>>  > Put the script in a file, and you might get line numbers.
>>  >
>>  > Execute the script stand-alone in BeanShell.
>>  >
>>  > Comment out parts of the script until the error changes or goes
away.
>>  >
>>  > > Regards,
>>  > >
>>  > > Noel
>>  > >
>>  >
>>
>> > ---------------------------------------------------------------------
>>  > 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