QAInsights / PerfAction

GitHub Action to run performance tests using Apache JMeter and its plugins.
MIT License
48 stars 68 forks source link

"CannotResolveClassException: kg.apc.jmeter.threads.SteppingThreadGroup" thrown when a Test plan is run containing Stepping Thread Group #32

Open moumita30 opened 3 weeks ago

moumita30 commented 3 weeks ago

When a JMeter Test Plan with stepping thread group is run in Github Actions using PerfAction , the below error messages are coming resulting in failiure of the test run.

Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/github/workspace/./bin/WorkdayJmeterTestPlan.jmx'. 13Cause: 14CannotResolveClassException: kg.apc.jmeter.threads.SteppingThreadGroup 15 16 Detail:com.thoughtworks.xstream.converters.ConversionException: 17---- Debugging information ---- 18cause-exception : com.thoughtworks.xstream.converters.ConversionException 19cause-message : 20first-jmeter-class : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:66) 21class : org.apache.jmeter.save.ScriptWrapper 22required-type : org.apache.jmeter.save.ScriptWrapper 23converter-type : org.apache.jmeter.save.ScriptWrapperConverter 24path : /jmeterTestPlan/hashTree/hashTree/kg.apc.jmeter.threads.SteppingThreadGroup 25line number : 2056 26version : 5.6.2 27------------------------------- 28An error occurred: Error in NonGUIDriver Problem loading XML from:'/github/workspace/./bin/WorkdayJmeterTestPlan.jmx'. 29Cause: 30CannotResolveClassException: kg.apc.jmeter.threads.SteppingThreadGroup 31 32 Detail:com.thoughtworks.xstream.converters.ConversionException: 33---- Debugging information ---- 34cause-exception : com.thoughtworks.xstream.converters.ConversionException 35cause-message : 36first-jmeter-class : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:66) 37class : org.apache.jmeter.save.ScriptWrapper 38required-type : org.apache.jmeter.save.ScriptWrapper 39converter-type : org.apache.jmeter.save.ScriptWrapperConverter 40path : /jmeterTestPlan/hashTree/hashTree/kg.apc.jmeter.threads.SteppingThreadGroup 41line number : 2056 42version : 5.6.2 43------------------------------- 44** 45 Execution has been completed, please check the artifacts to download the results

Kindly have a look.

QAInsights commented 3 weeks ago

Did you add the plugin name in here?

gdombchik commented 3 weeks ago

Hi NaveenKumar - I apologize in advance if this is a silly question, I am not understanding how to update the source code ENV JMETER_PLUGIN_INSTALL_LIST "jpgc-udp,jpgc-graphs-basic" to reference additional jmeter plugins where it is available for my GitHub actions. I assume I am not creating a branch in https://github.com/QAInsights/PerfAction to add the additional jmeter plugin ids. When I reference QAInsights/PerfAction@v5.6.2 in my GitHub action, do i have a copy of the source code in my repo that I am updating? Do I specify a JMETER_PLUGIN_INSTALL_LIST environment variable in my repo that will override the JMETER_PLUGIN_INSTALL_LIST?