Question

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?

Était-ce utile?

La solution

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.

Autres conseils

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?

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top