Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
moumita30 opened this issue Aug 19, 2024 · 3 comments

Comments

@moumita30
Copy link

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
Copy link
Owner

QAInsights commented Aug 19, 2024

Did you add the plugin name in here?

@gdombchik
Copy link

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/[email protected] 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?

@moumita30
Copy link
Author

@QAInsights Do I need to add the name of the plugin in the docker file where you mentioned and create a pull request? In that case I dont have write access permission in the repo. Kindly let me know what can be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants