JMeter add velocity language to JSR 223 Sampler

北慕城南 提交于 2019-12-02 20:08:50

问题


I want to use velocity language as Scripting language in JMeter's JSR 223 Sampler.

According to the list velocity can be used in JSR223,

According to the answer velocity should be added to JMeter classpath for discovery of available scripting engines.

How can I add velocity as a Scripting engine in JMeter?


回答1:


Download new velocity engine scripting version 2.0 in order to support scripting engine.

Put velocity-engine-scripting-2.0.jar in JMeter's lib folder.

When JMeter loaded it can find velocity as scripting engine and use it.

EDIT

Also add relevant velocity jar(s) as velocity-engine-core-2.0.jar



来源:https://stackoverflow.com/questions/45686685/jmeter-add-velocity-language-to-jsr-223-sampler

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!