JMeter 向 JSR 223 Sampler 添加速度语言 [英] JMeter add velocity language to JSR 223 Sampler
问题描述
我想在 JMeter 的 JSR 223 Sampler
中使用速度语言作为脚本语言.
I want to use velocity language as Scripting language in JMeter's JSR 223 Sampler
.
根据列表 速度可以在 JSR223 中使用,
According to the list velocity can be used in JSR223,
根据 answer 速度应该添加到 JMeter 类路径用于发现可用的脚本引擎.
According to the answer velocity should be added to JMeter classpath for discovery of available scripting engines.
如何在 JMeter 中添加速度作为脚本引擎?
How can I add velocity as a Scripting engine in JMeter?
推荐答案
下载新的 速度引擎脚本版本 2.0 以支持脚本引擎.
Download new velocity engine scripting version 2.0 in order to support scripting engine.
将 velocity-engine-scripting-2.0.jar 放在 JMeter 的 lib 文件夹中.
Put velocity-engine-scripting-2.0.jar in JMeter's lib folder.
当 JMeter 加载时,它可以找到作为脚本引擎的速度并使用它.
When JMeter loaded it can find velocity as scripting engine and use it.
编辑
同时添加相关的速度 jar(s) 作为 velocity-engine-core-2.0.jar
Also add relevant velocity jar(s) as velocity-engine-core-2.0.jar
这篇关于JMeter 向 JSR 223 Sampler 添加速度语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!