I have a webservice implemeneted by REST.

Is it possible to insert a script into JMeter to run some commands sequentially? If yes, how to do?

有帮助吗?

解决方案

JMeter supports several scripting languages, from performance perspective it's recommended to use JSR223 Sampler and Groovy as a language.

If your script is "light" and doesn't assume running in multiple threads you can consider Beanshell. How to use BeanShell guide is a good place to start for JMeter scripting.

If you could describe your use case in more details perhaps we might find the way to do it without scripting, JMeter is powerful and flexible enough.

其他提示

Sure, just use scripting in sampler or in PreProcessor in PostProcessor or Assertion. What kind of script and for what purpose do you want to run script?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top