jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gomes Rodrigues <ra0...@gmail.com>
Subject Re: Default engine script language to JSR223 elements
Date Thu, 04 Aug 2016 16:34:00 GMT
Great idea

I will try to implement it asap and make a PR

Antonio

2016-08-04 12:02 GMT+02:00 Milamber <milamber@apache.org>:

>
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message