Jmeter - Could Not Find the Testplan Class

JMeter - Could not find the TestPlan class

I had the same problem today with JMeter 2.13. When I saved it using this entry from the menu I received a jmx file that was accepted in non-GUI mode:

Sample Image

JMeter - Could not find the TestPlan class

I had the same problem today with JMeter 2.13. When I saved it using this entry from the menu I received a jmx file that was accepted in non-GUI mode:

Sample Image

jmeter Ant build error. TestPlan class not found

Is jmeterhome="apache-jmeter-2.6" in your case relative path to Jmeter home dir?

It should be set either as absolute path e.g.:

jmeter.home=c:\jakarta-jmeter-2.6

or relative - relative to build.xml:

jmeter.home=../jakarta-jmeter-2.6

Check this.

Why do I get a NoClassDefFound error when I try to save my test plan?

Try the following:

  1. Open JMeter -> Options -> Look and Feel -> Select any other theme
    other than Darcula.
  2. Restart JMeter, Create test plan and try to
    save.
  3. Save should work.

Exception while loading JMeter test plan in code

In order to be able to launch JMeter test programmatically you need to have all the plugins (as well as their dependencies) in your project CLASSPATH

If for some reason you cannot have all the plugins or their number/nature is not deterministic - at least you could add JMeter Plugins Manager to your project, it provides functions like getPluginStatus() or getAllPluginsStatus() which you can use for detection of installed plugins, use TestPlanAnalyzer to check which ones are required, etc.

More information: Plugins Manager from Command-Line



Related Topics



Leave a reply



Submit