12

I was running my script and it hanged and I had to force close. Now this error appears:

1

Ori Marko
  • 56,308
  • 23
  • 131
  • 233
Rupali Gupta
  • 121
  • 1
  • 1
  • 4

7 Answers7

33

Open the script, it will show a download missing component dialog. Download missing component.

Hope this will help

iOS-Developer84
  • 654
  • 8
  • 19
9

It is indeed an error related to you missing the JMeter plugins. Since i am new to programming, I thought it might be useful i offer a more detailed guide on JMeter installation on Mac.

Prerequisites:

How to do it

  1. Let’s first download the JMeter (version 4.0) from https://jmeter.apache.org/download_jmeter.cgi. You can find the zip files in the first section under Binaries - apache-jmeter-4.0.zip. Alternatively, run brew install jmeter.
  2. Then move it from Downloads to your root directory: (just for simplicity, you can put it anywhere you wish.

install apache-jmeter

  1. Go inside that folder and it’s bin like this: ~ cd apache-jmeter-4.0/bin
  2. From there run ./jmeter.sh

In JMeter you try to open the desired file but get the 'missing.class..' error:

missing.class com.thoughtworks.xstream.converters.ConversionException

Installing the JMeter plugins

  1. Go to https://jmeter-plugins.org/wiki/PluginsManager/ and download the Plugins Manager JAR file.

  2. Following the instructions: 'put the file into lib/ext directory' translates to you going to your apache-jmeter-4.0 folder (see the first screen shot) and place the file there inside lib/ext folder.  

  3. restart JMeter and you can see the Plugins Manager in JMeter Options.

Petra
  • 138
  • 1
  • 4
3
  1. Download plugins-manager.jar from https://jmeter-plugins.org/downloads/all/
  2. Put plugins-manager.jar into jmeter/lib/ext
  3. Restart jmeter
  4. Open script, it will ask to download dependencies, press yes
  5. Go to Plugin Manager and install all the required jar dependency
  6. Re-start the application
1

I installed Jmeter on Ubuntu Linux using 'apt-get install jmeter', which it seems installs a very old version of Jmeter.
Old version => 2.x
I downloaded the latest version using curl and installed it and the problem disappeared.
New version => 5.x.

Anurag
  • 876
  • 12
  • 16
0

I think this is due to lower version JMeter. Try with installing Apache Jmeter 3.3 and install python with enable "Add python.exe to Path http://www.python.org/downloads

0

i know it is late to respond to this query but it may help others who might face this issue in future. For me, Moving to the latest Jmeter version 5.1.1 did the trick.

Vishal G
  • 21
  • 2
0

I was facing the same issue because i downloaded jmeter from

sudo apt install jmeter

and it installed the jmeter of version 2.X.X. Which i guess doesn't support anything now a days. I uninstalled the jmeter from command:

sudo apt purge jmeter

And installed the latest jmeter from http://jmeter.apache.org/download_jmeter.cgi?Preferred=https%3A%2F%2Fdownloads.apache.org%2F After that in bin folder as i'm using ubuntu Os i used command

sh jmeter.sh

Jmeter worked fine!!!

Sayen
  • 65
  • 1
  • 11