jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milamber <milam...@apache.org>
Subject Re: Default engine script language to JSR223 elements
Date Thu, 04 Aug 2016 10:02:31 GMT

Why not.
If the script language has not chosen on the UI, add a INFO (or WARN) 
message into the log to inform that the script will be interpreted as a 
groovy script

On 03/08/2016 18:15, Antonio Gomes Rodrigues wrote:
> Hi all,
>
> I have a proposition about default engine script language to JSR223
> elements (sampler, timer...)
>
> For the moment when we had a JSR223 elements, there is no default engine
> script language
>
> And if we forgot to add it we have this error message "2016/08/03 17:46:43
> ERROR - jmeter.protocol.java.sampler.JSR223Sampler: Problem in JSR223
> script Echantillon JSR223, message:javax.script.ScriptException: Cannot
> find engine named: '', ensure you set language field in JSR223 Test
> Element:Echantillon JSR223"
>
> My proposal is to put Groovy as default engine script language to avoid
> users to check the logs to understand the mistake they have made
>
> Do you think it's a great idea?
>
> Antonio
>


Mime
View raw message