Nissy Crysallite
Nissy Crysallite

Reputation: 21

Uncaught exception when installing webdriver plugin in jmeter

I am trying to add webdriver plugin to jmeter. I have downloaded and added the webdriver plugin named 'JMeterPlugins-WebDriver-1.1.1' to Jmeter2.7.But when I run the jmeter batch file in GUI mode I'm getting an uncaught exception:

Below is the error I am getting:

Uncaught Exception java.lang.NoSuchMethodError: kg.apc.jmeter.gui.GuiBuilderHelper.strechButtonToComponent(Ljavax/swing/JComponent;Ljavax/swing/JButton;)V. See log file for details.
Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.MenuFactory. See log file for details.
Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.MenuFactory. See log file for details.
Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.MenuFactory. See log file for details.
Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.MenuFactory. See log file for details.
Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.MenuFactory. See log file for details.
Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.MenuFactory. See log file for details.

Upvotes: 1

Views: 1381

Answers (2)

RaGe
RaGe

Reputation: 23795

You need to run JMeter 2.12 or above with a Java 7 or above to use the plugins.

Always use the latest version of jmeter possible, to take advantage of big fixes and performance improvements.

Upvotes: 1

djangofan
djangofan

Reputation: 29689

I launch Jmeter using Maven (or Gradle), like so and so I think it is a little more consistent that way: https://github.com/djangofan/launch-jmeter

Just be careful using my Gradle launcher because the gradle plugins that support Jmeter are not yet mature.

Upvotes: 0

Related Questions