JMeter :Error while loading TestPlan - See Log File

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

The following error is present in Jmeter.log:

2015/01/29 15:20:50 INFO  - jmeter.gui.action.Load: Loading file: C:\Users\Desktop\jmeter\consolidatedayStability.jmx
2015/01/29 15:20:50 INFO  - jmeter.services.FileServer: Set new base='C:\Users\Desktop\jmeter'
2015/01/29 15:20:50 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/hashTree/kg.apc.jmeter.vizualizers.CorrectedResultCollector
line number         : 212
------------------------------- : 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/hashTree/kg.apc.jmeter.vizualizers.CorrectedResultCollector
line number         : 212
-------------------------------
message             : kg.apc.jmeter.vizualizers.CorrectedResultCollector : kg.apc.jmeter.vizualizers.CorrectedResultCollector


Solution:

As the error suggests “kg.apc.jmeter.vizualizers.CorrectedResultCollector”, it was looking for CorrectedResultCollector  in vizualizers.
The issue got resolved after “JMeterPlugins-Standard.jar” under  “<Jmeter PATH>\lib\ext” directory.
This fixed the problem. I was able to load my test plan successfully.

Comments

  1. hy this was really helpful

    ReplyDelete
  2. Still it is not working for me
    Logs:
    2018/08/17 13:26:17 INFO - org.jmeterplugins.repository.JARSourceHTTP: Found cached repo
    2018/08/17 13:26:18 INFO - org.jmeterplugins.repository.PluginManager: Plugins Status: [jpgc-graphs-basic=Standard, jpgc-sense=Standard, jpgc-cmd=Standard, jpgc-graphs-composite=Standard, jpgc-csl=Standard, jpgc-functions=Standard, jpgc-casutg=Standard, jpgc-dummy=Standard, jpgc-filterresults=Standard, jpgc-ffw=Standard, jpgc-fifo=Standard, jpgc-mergeresults=Standard, jpgc-perfmon=Standard, jpgc-plugins-manager=1.3, jpgc-synthesis=Standard, jpgc-plancheck=Standard, jpgc-tst=Standard, jpgc-wsc=Standard, jmeter-core=2.12, jmeter-ftp=2.12, jmeter-http=2.12, jmeter-jdbc=2.12, jmeter-jms=2.12, jmeter-junit=2.12, jmeter-java=2.12, jmeter-ldap=2.12, jmeter-mail=2.12, jmeter-mongodb=2.12, jmeter-native=2.12, jmeter-tcp=2.12, jmeter-components=2.12, jpgc-standard=2.0]
    2018/08/17 13:26:18 INFO - kg.apc.jmeter.JMeterPluginsUtils: JMeter-Plugins.org v.1.4.0
    2018/08/17 13:26:19 INFO - jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22
    2018/08/17 13:26:19 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className property for htmlParser, using default
    2018/08/17 13:26:19 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is
    2018/08/17 13:26:19 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is
    2018/08/17 13:26:19 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is
    2018/08/17 13:26:19 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is
    2018/08/17 13:26:19 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
    2018/08/17 13:26:19 INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui
    2018/08/17 13:26:19 INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui
    2018/08/17 13:26:19 INFO - jorphan.exec.KeyToolUtils: keytool found at 'keytool'
    2018/08/17 13:26:19 INFO - jmeter.protocol.http.proxy.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file C:\Users\jgupta\Desktop\Jmeter Perfromance\apache-jmeter-2.12\apache-jmeter-2.12\bin\proxyserver.jks
    2018/08/17 13:26:20 INFO - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times
    2018/08/17 13:26:20 INFO - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
    2018/08/17 13:26:20 INFO - jmeter.samplers.SampleResult: sampleresult.useNanoTime=true
    2018/08/17 13:26:20 INFO - jmeter.samplers.SampleResult: sampleresult.nanoThreadSleep=5000
    2018/08/17 13:26:51 INFO - jmeter.services.FileServer: Default base='C:\WINDOWS\system32'
    2018/08/17 13:26:51 INFO - jmeter.gui.action.Load: Loading file: C:\Users\jgupta\Desktop\Jmeter Perfromance\Merge\DeviceGroupAction_Merge.jmx
    2018/08/17 13:26:51 INFO - jmeter.services.FileServer: Set new base='C:\Users\jgupta\Desktop\Jmeter Perfromance\Merge'
    2018/08/17 13:26:51 WARN - jmeter.gui.action.Load: Unexpected error org.apache.jmeter.exceptions.IllegalUserActionException: Empty TestPlan or error reading test plan - see log file


    ReplyDelete

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*