linuxjmeterflume

JMeter - Could not find the TestPlan class


I have a simple flume setup with a HTTP souce and a sink that writes the POST request payload to a file. (This complete setup is on a Linux machine).

After that my task is to do a performance test on ths setup. So I decided to use JMeter (this is the first time, I am using it).

So I created a test plan on my windows machine (using GUI) and then copied it to the jmeter/bin folder in the linux enviornment.

When I tried ruuning it -
java -jar ApacheJMeter.jar -n -t flume_http_test.jmx

I am getting this error ERROR - jmeter.JMeter: Error in NonGUIDriver java.lang.RuntimeException: Could not find the TestPlan class!

Any Suggestions?

Thanks in Advance


Solution

  • 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:

    enter image description here