On Wednesday, July 1, 2015, sebb <[email protected]> wrote: > On 30 June 2015 at 20:16, Philippe Mouawad <[email protected] > <javascript:;>> 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
Maybe it's the case for Beanshell but is it really the case for JSR223 and BSF ? I tried passing a String separated by spaces and no array is passed, just a String > > > 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 . > -- Cordialement. Philippe Mouawad.
