GitHub user ra0077 opened a pull request:

    https://github.com/apache/jmeter/pull/223

    Bug59945_DefaultGroovyEngineToJSR223ElementsV2

    Hi,
    
    If the script language has not been chosen on the GUI, I propose to add
    a WARN message into the log to inform that the script will be
    interpreted as a groovy script
    
    It's avoid message like "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" and allow to execute the  script
    
    Antonio

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ra0077/jmeter 
Bug59945_DefaultGroovyEngineToJSR223Elements

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jmeter/pull/223.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #223
    
----
commit 8fe20ff7e9cb864b118ec650a854873de19abbac
Author: ra0077 <ra0...@gmail.com>
Date:   2016-08-04T21:12:59Z

    Bug59945_DefaultGroovyEngineToJSR223ElementsV2
    
    Hi,
    
    If the script language has not been chosen on the GUI, I propose to add
    a WARN message into the log to inform that the script will be
    interpreted as a groovy script
    
    It's avoid message like "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" and allow to execute the  script
    
    Antonio

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to