JMeter : Error while loading TestPlan - "Unexpected Error -see log"

I tried to open a test plan (.jmx file) in JMeter which was created by one of my colleague. The error said “Unexpected error – see log for details”.



2015/01/29 15:30:30 INFO  - jmeter.save.SaveService: All converter versions present and correct
2015/01/29 15:30:30 ERROR - jmeter.protocol.java.config.gui.JavaConfigGui: Error setting class:'com.nft.sampler. AdministratorSampler' in JavaCustomerAdministrator, check for a missing jar in your jmeter 'search_paths' and 'plugin_dependency_paths' properties
2015/01/29 15:30:30 ERROR - jmeter.protocol.java.config.gui.JavaConfigGui: Error setting class:'com.nft.sampler. CustomerSampler' in JavaSampler Customer, check for a missing jar in your jmeter 'search_paths' and 'plugin_dependency_paths' properties
2015/01/29 15:30:30 ERROR - jmeter.protocol.java.config.gui.JavaConfigGui: Error setting class:'com.nft.sampler. InvolvementSampler' in JavaSampler Involvement, check for a missing jar in your jmeter 'search_paths' and 'plugin_dependency_paths' properties
2015/01/29 15:30:30 ERROR - jmeter.gui.GuiPackage: Could not get GUI for kg.apc.jmeter.vizualizers.CorrectedResultCollector@1eda8f2 java.lang.ClassNotFoundException: kg.apc.jmeter.vizualizers.ResponseTimesPercentilesGui
          at java.net.URLClassLoader$1.run(Unknown Source)
          at java.net.URLClassLoader$1.run(Unknown Source)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(Unknown Source)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at java.lang.Class.forName0(Native Method)

Solution:

If the error log is observed we see 4 different errors.
First 3 errors relates to the Samplers missing.  
The issue is resolved after copying the required sampler jar under \lib\ext directory.

As the error suggests “kg.apc.jmeter.vizualizers.ResponseTimesPercentilesGui”, it was looking for ResponseTimesPercentilesGui  in vizualizers.

The issue got resolved after “JMeterPlugins-Extras.jar” under  “<Jmeter PATH>\lib\ext” directory.

This fixed the problem. I was able to load my test plan successfully.


Comments

Post a Comment

Popular posts from this blog

Steps to Analyze AWR Report in Oracle

Vmstat Output explained

Verifications and Error Handling in LoadRunner *Web_reg_find and Web_reg_save_param*