fix(接口测试): 前后置脚本引用公共脚本执行失败
This commit is contained in:
parent
f488ba144f
commit
f10740acc7
|
@ -86,6 +86,10 @@ public abstract class ScriptProcessorConverter extends MsProcessorConverter<Scri
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isJSR233(ScriptProcessor scriptProcessor) {
|
public static boolean isJSR233(ScriptProcessor scriptProcessor) {
|
||||||
return !StringUtils.equals(scriptProcessor.getScriptLanguage(), ScriptLanguageType.BEANSHELL.name());
|
if (scriptProcessor.getEnableCommonScript()) {
|
||||||
|
return !StringUtils.equals(scriptProcessor.getCommonScriptInfo().getScriptLanguage(), ScriptLanguageType.BEANSHELL.name());
|
||||||
|
} else {
|
||||||
|
return !StringUtils.equals(scriptProcessor.getScriptLanguage(), ScriptLanguageType.BEANSHELL.name());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue