0
votes

lenovo@lenovo-thinkcentre-mini:~/Documents/apache-jmeter-4.0/bin$ jmeter -n -t test.jmx -l my-test-plan-result.jtl -j my-test-plan-result.log -DTHREADS=500 -DRAMP_UP=60 -DDURATION=300

Creating summariser

Created the tree successfully using test.jmx

Error in NonGUIDriver java.lang.RuntimeException: Could not find the TestPlan class!

1

1 Answers

0
votes

Try to open and save again your jmx with "Save Test Plan As" and run again. It may happen when your jmx file does not contain "Test Plan" or sometimes when it is not get saved properly. If that does not work try to rename the default name of the "Test Plan" to something else like "My Test Plan".

enter image description here

Hope this help.