Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error distributed JMeter load-testing #85

Open
smehboub opened this issue Aug 17, 2020 · 1 comment
Open

Error distributed JMeter load-testing #85

smehboub opened this issue Aug 17, 2020 · 1 comment

Comments

@smehboub
Copy link

Hello,

FIrstly, thank you very much for your work.

When i run my loadtest with the prometheus listener only on Jmeter master, the plugin work well but when i use distributed loadtest JMeter by specifying 1 slave, i get these errors :

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.github.johrstrom.listener.PrometheusListener (no security manager: RMI class loader disabled)

When i remove the prometheus listener from my jmx loadtest file, my distributed loadtest JMeter by specifying 1 slave work well.

ENV:
Debian GNU/Linux 9 (stretch)
openjdk version "1.8.0_181"
Jmeter 5.0
jmeter-prometheus-plugin-0.6.0.jar

command:
jmeter -n -t mytest.jmx -Dserver.rmi.ssl.disable=true -R 10.0.0.3

PS : jmeter-prometheus-plugin-0.6.0.jar is avalaible on master and slaves (in ext/lib directory)

Can you help me, please ?

Thanks in advance.
Rgs,

Sophian Mehboub

@johrstrom
Copy link
Owner

Something like this java.lang.ClassNotFoundException: com.github.johrstrom.listener.PrometheusListener means the plugin is not installed on the minion instances.

You say it's available, so I guess you'd have to be sure to restart the minion or ensure it has the correct file permissions. Also I'm always confused on the difference between lib and lib/ext so maybe a symlink from one to other may work (can't hurt anyhow, I don't think...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants