Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I call a Custom Function in JMeter

Tags:

jmeter

I've created a custom function in JMeter that returns a n length string with random characters. Where should I define the function, and how do I call it?

like image 211
Brig Avatar asked Jul 02 '26 21:07

Brig


1 Answers

As long as your function is in the jmeter classpath, you should be able to call it just like any standard function with ${...} syntax, as described here.

Do make sure your jar file containing your function is in lib/ext, or added to the jmeter classpath via search_path's input option

like image 123
Binod Pant Avatar answered Jul 05 '26 00:07

Binod Pant