jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Field name/description of Parameters in JSR223TestElement / BSFTestElement/BeanshellTestElements
Date Tue, 30 Jun 2015 22:30:49 GMT
On 30 June 2015 at 20:16, Philippe Mouawad <philippe.mouawad@gmail.com> wrote:
> Hello,
> In the elements I mentionned above, the field parameters is documented as:
>
> - Parameters to be passed to script (=> String Parameters and String []args)
>
> I don't understand what is meant by:
> -=> String Parameters and String []args

This is explained under "Parameters" here:

http://jmeter.apache.org/usermanual/component_reference.html#BeanShell_Sampler

> As Parameters is of type String , so what does String[] args mean in this
> context ?
>
> I find it very confusing.
>
> Unless there is a reason I am going to change it to:
>
> Parameters to be passed to script (=> Field is of type java.lang.String)

No, see above.

> Furthermore in JSR223TestElement , I will modify those:
> cacheKey_group.displayName=Script compilation caching (Mandatory for
> performances)

s/performances/performance/

> cacheKey.shortDescription=This key should always be configured. If Cache
> key is not empty, script will be compiled if JSR223 underlying script
> language supports it and CompiledScript will be cached, ensure script does
> not use any variable before making it cacheable. It is critical to
> configure this key to obtain the best performances.
>

s/performances/performance/

>
> --
> Cordialement.
> Philippe .

Mime
View raw message