We've a distributed JMeter setup with 1 client and 3 servers. While submitting a test plan to client, that is using any JMeter plugin, eg. Arrival Thread Group, it's failing due to plugins not installed.
We used JMeter plugin manager cmd to install plugins from test plan (jmx):
PluginsManagerCMD install-for-jmx <test-plan>
But this installs plugins on client while on executing the test we get the following error from all servers (as plugin is not installed on them)-
Error in rconfigure() method java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: com.blazemeter.jmeter.threads.arrivals.ArrivalsThreadGroup (no security manager: RMI class loader disabled)
Questions:
How to install plugins on servers from test-plan in automated manner (from cmd, similar to jmeter client)?
Can we get the list of plugins required for a test-plan at client node and convey that list to servers for installation at their end?