newspaint

Documenting Problems That Were Difficult To Find The Answer To

JMeter Error in TestPlan See Log File

Today I had a new error in JMeter. I tried to open a test plan (.jmx file) that I’d saved a few minutes earlier before re-starting JMeter. The error said “Error in TestPlan – see log file”.

Error in TestPlan - see log file

Error in TestPlan – see log file

I opened up jmeter.log to have a look. It contained:

2013/08/15 14:07:45 INFO  - jmeter.gui.action.Load: Loading file: /home/user/data/work/jmeter/my-instance/2013-08-15-login.jmx 
2013/08/15 14:07:45 INFO  - jmeter.services.FileServer: Set new base='/home/user/data/work/jmeter/my-instance' 
2013/08/15 14:07:46 INFO  - jmeter.save.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2 
2013/08/15 14:07:46 INFO  - jmeter.save.SaveService: Using SaveService properties file encoding UTF-8 
2013/08/15 14:07:46 INFO  - jmeter.save.SaveService: Using SaveService properties file version 1382180 
2013/08/15 14:07:46 INFO  - jmeter.save.SaveService: Using SaveService properties version 2.3 
2013/08/15 14:07:46 INFO  - jmeter.save.SaveService: All converter versions present and correct 
2013/08/15 14:07:46 ERROR - jmeter.save.SaveService: Conversion error com.thoughtworks.xstream.converters.ConversionException: kg.apc.jmeter.vizualizers.CorrectedResultCollector : kg.apc.jmeter.vizualizers.CorrectedResultCollector
---- Debugging information ----
message             : kg.apc.jmeter.vizualizers.CorrectedResultCollector
cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message       : kg.apc.jmeter.vizualizers.CorrectedResultCollector
class               : org.apache.jorphan.collections.ListedHashTree
required-type       : org.apache.jorphan.collections.ListedHashTree
converter-type      : org.apache.jmeter.save.converters.HashTreeConverter
path                : /jmeterTestPlan/hashTree/hashTree/kg.apc.jmeter.vizualizers.CorrectedResultCollector
line number         : 252
------------------------------- : kg.apc.jmeter.vizualizers.CorrectedResultCollector : kg.apc.jmeter.vizualizers.CorrectedResultCollector

This error happened immediately after I did an apt-get dist-upgrade so I wasn’t sure what had happened.

In my case a required class had gone missing – in this case it was the visualisers from jmeter-plugins.org. I downloaded a new set and put the file JMeterPlugins-Standard.jar in the lib/ext/ subdirectory.

This fixed the problem. I was able to re-start JMeter and load my test plan successfully.

Summary: a dependent class that the test plan relied on was missing from the plugins directory.

One response to “JMeter Error in TestPlan See Log File

  1. jardor5000@yahoo.com November 28, 2013 at 12:50 pm

    Download the Standard Jmeter plugins and copy the jar files only to the \lib\ext directory and restart Jmeter

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: