Jmeter 5.6.3 plugin no loading

145 views
Skip to first unread message

Patrice Gagnon

unread,
Mar 26, 2025, 11:40:22 AMMar 26
to jmeter-plugins
Hi,
I created my own plugin, packaged it in a jar, placed it in lib/ext but it not loading.
I have a tried quite a few things to debug, and am now running JMeter with Log4J in Debug.

In the log file, I see the jars from lib/ext being loaded, all of them except mine. It seems I have the right plugin manager:

Found plugin jpgc-plugins-manager version 1.10 at path /C:/Users/myuser/_bin/apache-jmeter-5.6.3/lib/ext/jmeter-plugins-manager-1.10.jar

I was hoping to see in the logs, no luck. Nor I can find any new menu items. I even tried copying jmeter-retrier-1.0.jar as my-jar-1.0.jar, to see if it pick it up. Just placing the jar in lib/ext doesn't appear to be enough.

I also tried to delete the cache (AppData\Local\Temp\pmgr_cache), still no lock on JM finding my jar.

JMeter seems to download the jars from an HTTP Source.

2025-03-26 10:09:07,898 DEBUG org.jmeterplugins.repository.Plugin: Found plugin tilln-retrier version 1.0 at path /C:/Users/myuser/_bin/apache-jmeter-5.6.3/lib/ext/jmeter-retrier-1.0.jar

That line made me suspicious. The retrier plugin name is "tilln-retrier". Where is that name defined? Where does JMeter gets a list of plugin names to load, if there's such a list? 

I suspect I'm missing a configuration because placing a jar in lib/ext doesn't appear to be enough.

Regards.




Dmitri T

unread,
Mar 27, 2025, 8:56:06 AMMar 27
to jmeter-plugins
If you want to add your plugin to be visible/searchable in JMeter Plugins Manager - you need to add it to the plugins repository

For local installation and debugging a plugin which you developed you don't need to have JMeter Plugins Manager at all, you will just need to drop it to "lib/ext" folder of your JMeter installation and upon restart it will be picked up.

However you need to structure the plugin in a special way, check out the following materials:

Going forward check out JMeter console and log files, it might be the case you compiled the plugin using newer Java and running JMeter with older java or forgot to include plugin's dependencies into the .jar or copy them to "lib" folder of your JMeter installation.

Patrice Gagnon

unread,
Mar 27, 2025, 10:59:58 AMMar 27
to jmeter-plugins
Thanks a million. 
My issue was that I had compiled my jar with a newer JDK I was running JMeter with.

Cheers. Patrice

Reply all
Reply to author
Forward
0 new messages