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

jmeter integration - elapsed field missing from class #1831

Closed
johnqa opened this issue Apr 21, 2024 · 1 comment
Closed

jmeter integration - elapsed field missing from class #1831

johnqa opened this issue Apr 21, 2024 · 1 comment

Comments

@johnqa
Copy link

johnqa commented Apr 21, 2024

Hi,
I am trying to run a jmeter test with jmeter 5.6.2 and taurus 1.16.30 (docker image), and I receive the following error:

---- Debugging information ----
message             : Field not found in class.
field               : org.apache.jmeter.samplers.SampleSaveConfiguration.elapsed
-------------------------------

 Detail:com.thoughtworks.xstream.converters.ConversionException: 
---- Debugging information ----
cause-exception     : com.thoughtworks.xstream.converters.ConversionException
cause-message       : 
first-jmeter-class  : org.apache.jmeter.save.converters.TestElementConverter.unmarshal(TestElementConverter.java:109)
class               : org.apache.jmeter.save.ScriptWrapper
required-type       : org.apache.jmeter.save.ScriptWrapper
converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
path                : /jmeterTestPlan/hashTree/hashTree/ResultCollector[4]/objProp/value/elapsed
line number         : 724
version             : 5.6.2

Similar error if I try to open modified_JMETER_SCRIPT.jmx with Jmeter 5.6.2

Looking at the modified_JMETER_SCRIPT.jmx I can find indeed the xml element elapsed set to true. If I remove that element, the test can be loaded by JMeter.

Is there something I need to do/set in order to have this working?

Thank you,
John

@johnqa johnqa closed this as completed Apr 24, 2024
@johnqa
Copy link
Author

johnqa commented Apr 24, 2024

Not an issue, i used elapsed parameter in my yml file. It was working some time ago but not anymore.

modules:
  jmeter:
    csv-jtl-flags:
      elapsed: true

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

1 participant