jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra0077 <>
Subject [GitHub] jmeter issue #223: Bug59945_DefaultGroovyEngineToJSR223ElementsV2
Date Fri, 05 Aug 2016 14:13:45 GMT
Github user ra0077 commented on the issue:
    It's don't work :-(
        protected ScriptEngine getScriptEngine() throws ScriptException {
            String lang = getScriptLanguage();
            if (StringUtils.isEmpty(lang)) {
                lang = DEFAULT_SCRIPT_LANGUAGE;
                log.warn("Script language has not been chosen on the UI: "+getName()+", the
script will be interpreted as a groovy script");
            ScriptEngine scriptEngine = getInstance().getEngineByName(lang);
            if (scriptEngine == null) {
                throw new ScriptException("Cannot find engine named: '"+lang+"', ensure you
set language field in JSR223 Test Element: "+getName());
            return scriptEngine;

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 or file a JIRA ticket
with INFRA.

View raw message