jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle McAbee" <k.mca...@treev.com>
Subject RE: Can BeanShell execute String.substring or StringBuffer.insert methods ?
Date Thu, 10 Feb 2005 20:35:54 GMT
Dear JMeter Users and Sebb:

Sebb, I assume you mean that escaping commas with the backslash character is not needed in
the BeanShell Sampler? As in:

This is OK:         str.substring(0, 1)
This is not needed: str.substring(0\, 1)

Why would one need to put quotes around a comma "," in a BeanShell function?

Am I being dense here or is there some Deep Magic beyond the ken of mortals?

Sincerely yours,

Kyle

-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com]
Sent: Thursday, February 10, 2005 12:41 PM
To: JMeter Users List
Subject: Re: Can BeanShell execute String.substring or
StringBuffer.insert methods ?


On Wed, 9 Feb 2005 16:53:59 -0500, Kyle McAbee <k.mcabee@treev.com> wrote:
> Dear JMeter Users and Sebb:

[...]

> 
> I'm not sure what Sebb meant when he wrote of the BeanShell Sampler:
> 
> > The text does not need to be quoted in the [BeanShell] Sampler script ...
> 
> What text did you mean, Sebb?
> 

Sorry that was not at all clear - 

I meant that one does not need to quote commas in the script pane on
the BeanShell sampler.

S.

---------------------------------------------------------------------
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