Comments (17)
Hi Kojo,
you were configuring the test without a ThreadGroup?
It looks like the exception cames when you try to configure all the test outside a Thread Group. We use the ThreadGroup context to share values between components, and in your Trace this context look like didn't exist.
Waiting for feedback.
Regards!
from kloadgen.
Hi Kojo,
I took a close look to this issue and try to reproduce it. It works fine through the UI and in Server mode. Analysing the stacktrace I saw it looks like a missing Class in your classpath. Can you please verify you don't have twice the plugin jar in your classpath? We change the version number with every ticket so it can appear twice in your lib/ext folder and cause this type of problems. It happens to us.
Regards!
from kloadgen.
Hi Kojo,
I cannot reproduce this error. Are you still using the same jmx file?
Have you proper configured your Schema Registry with a testing avro?
I need more feedback in order to analyse this error.
I updated master with all fixes and some tweaks, so please try with that branch.
Thanks
from kloadgen.
Hi Kojo,
thanks!!
I'm gonna close this issue, if anything just open a new one please.
Regards!
from kloadgen.
Hi Kojo,
Thanks for the feebback
We are gonna take a look and try to reproduce the error, we'll let you know.
Is possible if you attach a jmx file?
Thanks!
from kloadgen.
Umm.. actually I have tried with the Example-Test-Plan.jmx file this provide.
It seems the file have a ThreadGroup.
from kloadgen.
Ok, i'll check up the example test plan, probably the issue is in there.
from kloadgen.
Hi Kojo,
I just checked the Example-Test-Plan.jmx, running here and didn´t get the same error. Guess you didn´t change anything and just open the Example-Test-Plan with a Schema Registry running in your local and some schemas there? Or what is your setup?
Regards.
from kloadgen.
Hi Jose,
Thanks for replying.
I should have told you the environment ran the Jmeter.
The Jmeter was in a pod of Kubernetes as Ubuntu container which I made using Dockerfile.
And I ran jmeter with jmeter -n -t Exaple-Test-Plan.jmx
in which I changed Schema Registry Url to Kubernetes service url.
this is full log
2020-05-13 00:54:27,907 INFO o.a.j.u.JMeterUtils: Setting Locale to en_EN
2020-05-13 00:54:27,924 INFO o.a.j.JMeter: Loading user properties from: /apache-jmeter-5.2.1/bin/user.properties
2020-05-13 00:54:27,925 INFO o.a.j.JMeter: Loading system properties from: /apache-jmeter-5.2.1/bin/system.properties
2020-05-13 00:54:27,926 INFO o.a.j.JMeter: Copyright (c) 1998-2019 The Apache Software Foundation
2020-05-13 00:54:27,926 INFO o.a.j.JMeter: Version 5.2.1
2020-05-13 00:54:27,927 INFO o.a.j.JMeter: java.version=1.8.0_252
2020-05-13 00:54:27,927 INFO o.a.j.JMeter: java.vm.name=OpenJDK 64-Bit Server VM
2020-05-13 00:54:27,927 INFO o.a.j.JMeter: os.name=Linux
2020-05-13 00:54:27,927 INFO o.a.j.JMeter: os.arch=amd64
2020-05-13 00:54:27,927 INFO o.a.j.JMeter: os.version=4.4.0-1106-aws
2020-05-13 00:54:27,927 INFO o.a.j.JMeter: file.encoding=ANSI_X3.4-1968
2020-05-13 00:54:27,927 INFO o.a.j.JMeter: java.awt.headless=true
2020-05-13 00:54:27,927 INFO o.a.j.JMeter: Max memory =1073741824
2020-05-13 00:54:27,928 INFO o.a.j.JMeter: Available Processors =1
2020-05-13 00:54:27,933 INFO o.a.j.JMeter: Default Locale=English (EN)
2020-05-13 00:54:27,934 INFO o.a.j.JMeter: JMeter Locale=English (EN)
2020-05-13 00:54:27,934 INFO o.a.j.JMeter: JMeterHome=/apache-jmeter-5.2.1
2020-05-13 00:54:27,934 INFO o.a.j.JMeter: user.dir =/apache-jmeter-5.2.1
2020-05-13 00:54:27,934 INFO o.a.j.JMeter: PWD =/apache-jmeter-5.2.1
2020-05-13 00:54:27,935 INFO o.a.j.JMeter: IP: 10.0.1.176 Name: bash2 FullName: bash2
2020-05-13 00:54:27,940 INFO o.a.j.s.FileServer: Default base='/apache-jmeter-5.2.1'
2020-05-13 00:54:27,945 INFO o.a.j.s.FileServer: Set new base='/apache-jmeter-5.2.1'
2020-05-13 00:54:28,106 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2020-05-13 00:54:28,117 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8
2020-05-13 00:54:28,121 INFO o.a.j.s.SaveService: Using SaveService properties version 5.0
2020-05-13 00:54:28,131 INFO o.a.j.s.SaveService: Loading file: test.jmx
2020-05-13 00:54:28,199 INFO o.a.j.JMeter: Creating summariser <summary>
2020-05-13 00:54:28,209 INFO o.a.j.e.StandardJMeterEngine: Running the test!
2020-05-13 00:54:28,210 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2020-05-13 00:54:28,210 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2020-05-13 00:54:28,216 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2020-05-13 00:54:28,216 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2020-05-13 00:54:28,707 INFO o.a.j.p.j.s.JavaSampler: Created class: net.coru.kloadgen.sampler.ConfluentKafkaSampler. Uses tearDownTest:
2020-05-13 00:54:28,708 INFO o.a.j.JMeter: Running test (1589331268708)
2020-05-13 00:54:28,744 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2020-05-13 00:54:28,744 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group Thread Group.
2020-05-13 00:54:28,745 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2020-05-13 00:54:28,745 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=1 ramp-up=1 delayedStart=false
2020-05-13 00:54:28,751 INFO o.a.j.t.ThreadGroup: Started thread group number 1
2020-05-13 00:54:28,751 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2020-05-13 00:54:28,796 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-1
2020-05-13 00:54:28,797 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[Thread Group 1-1,5,main]
java.lang.Error: This should never happen. Tried to invoke:
net.coru.kloadgen.config.schemaregistry.SchemaRegistryConfigElement#setSchemaRegistryProperties(LinkedList [PropertyMapping(propertyName=schema.registry.auth.enabled, propertyValue=NO), PropertyMapping(propertyName=schema.registry.auth.method, propertyValue=BASIC), PropertyMapping(propertyName=schema.registry.username, propertyValue=<username>), PropertyMapping(propertyName=schema.registry.password, propertyValue=<password>), PropertyMapping(propertyName=schema.registry.bearer, propertyValue=<bearer>)] )
at org.apache.jmeter.testbeans.TestBeanHelper.invokeOrBailOut(TestBeanHelper.java:169) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.testbeans.TestBeanHelper.prepare(TestBeanHelper.java:97) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.threads.TestCompiler.trackIterationListeners(TestCompiler.java:183) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.threads.TestCompiler.subtractNode(TestCompiler.java:137) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:998) ~[jorphan.jar:5.2.1]
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:995) ~[jorphan.jar:5.2.1]
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:977) ~[jorphan.jar:5.2.1]
at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:703) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:253) ~[ApacheJMeter_core.jar:5.2.1]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252]
at org.apache.jmeter.testbeans.TestBeanHelper.invokeOrBailOut(TestBeanHelper.java:167) ~[ApacheJMeter_core.jar:5.2.1]
... 9 more
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:460) ~[?:1.8.0_252]
at java.util.Properties.setProperty(Properties.java:166) ~[?:1.8.0_252]
at net.coru.kloadgen.config.schemaregistry.SchemaRegistryConfigElement.serializeProperties(SchemaRegistryConfigElement.java:58) ~[kloadgen-1.2.0.jar:?]
at net.coru.kloadgen.config.schemaregistry.SchemaRegistryConfigElement.setSchemaRegistryProperties(SchemaRegistryConfigElement.java:45) ~[kloadgen-1.2.0.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252]
at org.apache.jmeter.testbeans.TestBeanHelper.invokeOrBailOut(TestBeanHelper.java:167) ~[ApacheJMeter_core.jar:5.2.1]
... 9 more
2020-05-13 00:54:28,805 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test
2020-05-13 00:54:28,806 INFO o.a.j.r.Summariser: summary = 0 in 00:00:00 = ******/s Avg: 0 Min: 9223372036854775807 Max: -9223372036854775808 Err: 0 (0.00%)
Really appreciate to taking care about my comment
Regards.
from kloadgen.
Hey Kojo,
Thanks for the reply and clarify the environment. Indeed it will help.
I´ll try to reproduce your environment and giving a try.
Just to know, Did you change the Schema Url in the JMX or tried to do it through env variables?
Regards!
from kloadgen.
Hi Kojo,
I think I got the issue and a patch in the branch linked to this ticket.
Do you mind to test it in your environment?
Thanks for the feedback!
Cheers
from kloadgen.
Hi Jose.
Thanks for the reply and the commit !
I will give a try and comment back
Regards !
from kloadgen.
Hi Jose.
I tried Example again and got a new issue.
2020-05-13 09:33:57,359 INFO o.a.j.u.JMeterUtils: Setting Locale to en_EN
2020-05-13 09:33:57,376 INFO o.a.j.JMeter: Loading user properties from: /apache-jmeter-5.2.1/bin/user.properties
2020-05-13 09:33:57,377 INFO o.a.j.JMeter: Loading system properties from: /apache-jmeter-5.2.1/bin/system.properties
2020-05-13 09:33:57,379 INFO o.a.j.JMeter: Copyright (c) 1998-2019 The Apache Software Foundation
2020-05-13 09:33:57,379 INFO o.a.j.JMeter: Version 5.2.1
2020-05-13 09:33:57,379 INFO o.a.j.JMeter: java.version=1.8.0_252
2020-05-13 09:33:57,379 INFO o.a.j.JMeter: java.vm.name=OpenJDK 64-Bit Server VM
2020-05-13 09:33:57,379 INFO o.a.j.JMeter: os.name=Linux
2020-05-13 09:33:57,379 INFO o.a.j.JMeter: os.arch=amd64
2020-05-13 09:33:57,380 INFO o.a.j.JMeter: os.version=4.4.0-1106-aws
2020-05-13 09:33:57,380 INFO o.a.j.JMeter: file.encoding=ANSI_X3.4-1968
2020-05-13 09:33:57,380 INFO o.a.j.JMeter: java.awt.headless=true
2020-05-13 09:33:57,380 INFO o.a.j.JMeter: Max memory =1073741824
2020-05-13 09:33:57,380 INFO o.a.j.JMeter: Available Processors =1
2020-05-13 09:33:57,388 INFO o.a.j.JMeter: Default Locale=English (EN)
2020-05-13 09:33:57,388 INFO o.a.j.JMeter: JMeter Locale=English (EN)
2020-05-13 09:33:57,388 INFO o.a.j.JMeter: JMeterHome=/apache-jmeter-5.2.1
2020-05-13 09:33:57,388 INFO o.a.j.JMeter: user.dir =/
2020-05-13 09:33:57,389 INFO o.a.j.JMeter: PWD =/
2020-05-13 09:33:57,389 INFO o.a.j.JMeter: IP: 10.0.1.156 Name: jmeter2 FullName: jmeter2
2020-05-13 09:33:57,395 INFO o.a.j.s.FileServer: Default base='/'
2020-05-13 09:33:57,399 INFO o.a.j.s.FileServer: Set new base='/kloadgen'
2020-05-13 09:33:57,558 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2020-05-13 09:33:57,569 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8
2020-05-13 09:33:57,575 INFO o.a.j.s.SaveService: Using SaveService properties version 5.0
2020-05-13 09:33:57,585 INFO o.a.j.s.SaveService: Loading file: kloadgen/Example-Test-Plan.jmx
2020-05-13 09:33:57,643 ERROR o.a.j.JMeter: Error in NonGUIDriver
java.lang.IllegalArgumentException: Problem loading XML from:'/kloadgen/Example-Test-Plan.jmx'.
Cause:
CannotResolveClassException: net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement
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.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jmeter.save.ScriptWrapper
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree/net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement
line number : 29
version : 5.2.1
-------------------------------
at org.apache.jmeter.save.SaveService.readTree(SaveService.java:459) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:432) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.JMeter.runNonGui(JMeter.java:1005) [ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.JMeter.startNonGui(JMeter.java:992) [ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.JMeter.start(JMeter.java:564) [ApacheJMeter_core.jar:5.2.1]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252]
at org.apache.jmeter.NewDriver.main(NewDriver.java:253) [ApacheJMeter.jar:5.2.1]
Caused by: com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.converters.ConversionException
cause-message :
first-jmeter-class : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jmeter.save.ScriptWrapper
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree/net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement
line number : 29
version : 5.2.1
-------------------------------
at org.apache.jmeter.save.ScriptWrapperConverter.createConversionException(ScriptWrapperConverter.java:102) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(ScriptWrapperConverter.java:96) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1487) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1467) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1338) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.SaveService.readTree(SaveService.java:449) ~[ApacheJMeter_core.jar:5.2.1]
... 9 more
Caused by: com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement
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/net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement
line number : 29
-------------------------------
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:77) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(ScriptWrapperConverter.java:94) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1487) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1467) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1338) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.SaveService.readTree(SaveService.java:449) ~[ApacheJMeter_core.jar:5.2.1]
... 9 more
Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement
at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:81) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.SaveService$XStreamWrapper$1.realClass(SaveService.java:98) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:131) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(ScriptWrapperConverter.java:94) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1487) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1467) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1338) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.SaveService.readTree(SaveService.java:449) ~[ApacheJMeter_core.jar:5.2.1]
... 9 more
2020-05-13 09:33:57,649 ERROR o.a.j.JMeter: An error occurred:
org.apache.jmeter.report.config.ConfigurationException: Error in NonGUIDriver Problem loading XML from:'/kloadgen/Example-Test-Plan.jmx'.
Cause:
CannotResolveClassException: net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement
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.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jmeter.save.ScriptWrapper
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree/net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement
line number : 29
version : 5.2.1
-------------------------------
at org.apache.jmeter.JMeter.runNonGui(JMeter.java:1102) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.JMeter.startNonGui(JMeter.java:992) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.JMeter.start(JMeter.java:564) [ApacheJMeter_core.jar:5.2.1]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252]
at org.apache.jmeter.NewDriver.main(NewDriver.java:253) [ApacheJMeter.jar:5.2.1]
Caused by: java.lang.IllegalArgumentException: Problem loading XML from:'/kloadgen/Example-Test-Plan.jmx'.
Cause:
CannotResolveClassException: net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement
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.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jmeter.save.ScriptWrapper
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree/net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement
line number : 29
version : 5.2.1
-------------------------------
at org.apache.jmeter.save.SaveService.readTree(SaveService.java:459) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:432) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.JMeter.runNonGui(JMeter.java:1005) ~[ApacheJMeter_core.jar:5.2.1]
... 7 more
Caused by: com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.converters.ConversionException
cause-message :
first-jmeter-class : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jmeter.save.ScriptWrapper
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree/net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement
line number : 29
version : 5.2.1
-------------------------------
at org.apache.jmeter.save.ScriptWrapperConverter.createConversionException(ScriptWrapperConverter.java:102) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(ScriptWrapperConverter.java:96) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1487) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1467) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1338) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.SaveService.readTree(SaveService.java:449) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:432) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.JMeter.runNonGui(JMeter.java:1005) ~[ApacheJMeter_core.jar:5.2.1]
... 7 more
Caused by: com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement
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/net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement
line number : 29
-------------------------------
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:77) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(ScriptWrapperConverter.java:94) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1487) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1467) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1338) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.SaveService.readTree(SaveService.java:449) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:432) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.JMeter.runNonGui(JMeter.java:1005) ~[ApacheJMeter_core.jar:5.2.1]
... 7 more
Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement
at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:81) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.SaveService$XStreamWrapper$1.realClass(SaveService.java:98) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:131) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readBareItem(AbstractCollectionConverter.java:132) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:117) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.ScriptWrapperConverter.unmarshal(ScriptWrapperConverter.java:94) ~[ApacheJMeter_core.jar:5.2.1]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1487) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1467) ~[xstream-1.4.11.jar:1.4.11]
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1338) ~[xstream-1.4.11.jar:1.4.11]
at org.apache.jmeter.save.SaveService.readTree(SaveService.java:449) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:432) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.JMeter.runNonGui(JMeter.java:1005) ~[ApacheJMeter_core.jar:5.2.1]
... 7 more
and this is the Example.jmx file I changed some tag like schema-registry url, bootstrap-server
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.2">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="TestPlan.functional_mode">false</boolProp>
<boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<stringProp name="TestPlan.user_define_classpath"></stringProp>
</TestPlan>
<hashTree>
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true">
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
<boolProp name="LoopController.continue_forever">false</boolProp>
<stringProp name="LoopController.loops">1</stringProp>
</elementProp>
<stringProp name="ThreadGroup.num_threads">1</stringProp>
<stringProp name="ThreadGroup.ramp_time">1</stringProp>
<boolProp name="ThreadGroup.scheduler">false</boolProp>
<stringProp name="ThreadGroup.duration"></stringProp>
<stringProp name="ThreadGroup.delay"></stringProp>
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
</ThreadGroup>
<hashTree>
<net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement guiclass="TestBeanGUI" testclass="net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement" testname="Kafka Headers Config Element" enabled="true">
<collectionProp name="kafkaHeaders">
<elementProp name="" elementType="net.coru.kloadgen.model.HeaderMapping">
<stringProp name="headerName">message_id</stringProp>
<stringProp name="headerValue">uuid</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.HeaderMapping">
<stringProp name="headerName">publication_timestamp</stringProp>
<stringProp name="headerValue">stringTimestamp</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.HeaderMapping">
<stringProp name="headerName">producer_id</stringProp>
<stringProp name="headerValue">producer_id_1</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.HeaderMapping">
<stringProp name="headerName">topic</stringProp>
<stringProp name="headerValue">test-topic</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.HeaderMapping">
<stringProp name="headerName">envelope_id</stringProp>
<stringProp name="headerValue">envelope-id</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.HeaderMapping">
<stringProp name="headerName">contentType</stringProp>
<stringProp name="headerValue">application/*+avro</stringProp>
</elementProp>
</collectionProp>
</net.coru.kloadgen.config.kafkaheaders.KafkaHeadersConfigElement>
<hashTree/>
<net.coru.kloadgen.config.avroserialized.AvroSerializedConfigElement guiclass="TestBeanGUI" testclass="net.coru.kloadgen.config.avroserialized.AvroSerializedConfigElement" testname="Kafka Load Generator Config" enabled="true">
<stringProp name="avroSubject"><avro subject></stringProp>
<stringProp name="placeHolder">MESSAGE</stringProp>
<collectionProp name="schemaProperties">
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">metadata.name</stringProp>
<stringProp name="fieldType">string</stringProp>
<intProp name="valueLength">7</intProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">metadata.domain</stringProp>
<stringProp name="fieldType">string</stringProp>
<intProp name="valueLength">7</intProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">metadata.version</stringProp>
<stringProp name="fieldType">string</stringProp>
<intProp name="valueLength">2</intProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">metadata.id</stringProp>
<stringProp name="fieldType">string</stringProp>
<intProp name="valueLength">5</intProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">metadata.timestamp</stringProp>
<stringProp name="fieldType">stringTimestamp</stringProp>
<intProp name="valueLength">0</intProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">metadata.action</stringProp>
<stringProp name="fieldType">created</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">metadata.envelope.name</stringProp>
<stringProp name="fieldType">string</stringProp>
<intProp name="valueLength">2</intProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">metadata.envelope.version</stringProp>
<stringProp name="fieldType">string</stringProp>
<intProp name="valueLength">2</intProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">metadata.classifiers[1].name</stringProp>
<stringProp name="fieldType">string</stringProp>
<intProp name="valueLength">3</intProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">metadata.classifiers[].values</stringProp>
<stringProp name="fieldType">string-array</stringProp>
<intProp name="valueLength">4</intProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">metadata.context</stringProp>
<stringProp name="fieldType">null</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.id</stringProp>
<stringProp name="fieldType">int</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.code</stringProp>
<stringProp name="fieldType">string</stringProp>
<intProp name="valueLength">3</intProp>
<stringProp name="fieldValuesList">COD1,COD2,COD3</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.type</stringProp>
<stringProp name="fieldType">enum</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.brand_id</stringProp>
<stringProp name="fieldType">int</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.address.address</stringProp>
<stringProp name="fieldType">string</stringProp>
<intProp name="valueLength">20</intProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.address.city</stringProp>
<stringProp name="fieldType">string</stringProp>
<intProp name="valueLength">10</intProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.address.zip_code</stringProp>
<stringProp name="fieldType">string</stringProp>
<intProp name="valueLength">3</intProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.address.state</stringProp>
<stringProp name="fieldType">string</stringProp>
<intProp name="valueLength">3</intProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.address.latitude</stringProp>
<stringProp name="fieldType">0</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.address.longitude</stringProp>
<stringProp name="fieldType">0</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.address.time_zone_id</stringProp>
<stringProp name="fieldType">int</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.address.country_iso</stringProp>
<stringProp name="fieldType">string</stringProp>
<intProp name="valueLength">3</intProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.location_ids</stringProp>
<stringProp name="fieldType">int-array</stringProp>
<intProp name="valueLength">2</intProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.entity_version</stringProp>
<stringProp name="fieldType">int</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.last_updated_date_time</stringProp>
<stringProp name="fieldType">longTimestamp</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.entity.status</stringProp>
<stringProp name="fieldType">enum</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">payload.timestamp</stringProp>
<stringProp name="fieldType">longTimestamp</stringProp>
</elementProp>
</collectionProp>
<stringProp name="schemaRegistryUrl">http://lucent-schema-registry-svc:7002</stringProp>
</net.coru.kloadgen.config.avroserialized.AvroSerializedConfigElement>
<hashTree/>
<JavaSampler guiclass="JavaTestSamplerGui" testclass="JavaSampler" testname="Kafka Producer Properties" enabled="true">
<elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true">
<collectionProp name="Arguments.arguments">
<elementProp name="bootstrap.servers" elementType="Argument">
<stringProp name="Argument.name">bootstrap.servers</stringProp>
<stringProp name="Argument.value">lucent-kafka-svc:9092</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="zookeeper.servers" elementType="Argument">
<stringProp name="Argument.name">zookeeper.servers</stringProp>
<stringProp name="Argument.value"><Zookeeper List></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="kafka.topic.name" elementType="Argument">
<stringProp name="Argument.name">kafka.topic.name</stringProp>
<stringProp name="Argument.value">topic-to-send-message</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="compression.type" elementType="Argument">
<stringProp name="Argument.name">compression.type</stringProp>
<stringProp name="Argument.value">none</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="batch.size" elementType="Argument">
<stringProp name="Argument.name">batch.size</stringProp>
<stringProp name="Argument.value">16384</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="linger.ms" elementType="Argument">
<stringProp name="Argument.name">linger.ms</stringProp>
<stringProp name="Argument.value">0</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="buffer.memory" elementType="Argument">
<stringProp name="Argument.name">buffer.memory</stringProp>
<stringProp name="Argument.value">33554432</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="acks" elementType="Argument">
<stringProp name="Argument.name">acks</stringProp>
<stringProp name="Argument.value">1</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="send.buffer.bytes" elementType="Argument">
<stringProp name="Argument.name">send.buffer.bytes</stringProp>
<stringProp name="Argument.value">131072</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="receive.buffer.bytes" elementType="Argument">
<stringProp name="Argument.name">receive.buffer.bytes</stringProp>
<stringProp name="Argument.value">32768</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="security.protocol" elementType="Argument">
<stringProp name="Argument.name">security.protocol</stringProp>
<stringProp name="Argument.value">PLAINTEXT</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="keyed.message" elementType="Argument">
<stringProp name="Argument.name">keyed.message</stringProp>
<stringProp name="Argument.value">NO</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="message.key.placeholder" elementType="Argument">
<stringProp name="Argument.name">message.key.placeholder</stringProp>
<stringProp name="Argument.value">KEY</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="message.value.placeholder" elementType="Argument">
<stringProp name="Argument.name">message.value.placeholder</stringProp>
<stringProp name="Argument.value">MESSAGE</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="kerberos.auth.enabled" elementType="Argument">
<stringProp name="Argument.name">kerberos.auth.enabled</stringProp>
<stringProp name="Argument.value">NO</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="jaas.enabled" elementType="Argument">
<stringProp name="Argument.name">jaas.enabled</stringProp>
<stringProp name="Argument.value">NO</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="java.security.auth.login.config" elementType="Argument">
<stringProp name="Argument.name">java.security.auth.login.config</stringProp>
<stringProp name="Argument.value"><JAAS File Location></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="java.security.krb5.conf" elementType="Argument">
<stringProp name="Argument.name">java.security.krb5.conf</stringProp>
<stringProp name="Argument.value"><krb5.conf location></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="sasl.kerberos.service.name" elementType="Argument">
<stringProp name="Argument.name">sasl.kerberos.service.name</stringProp>
<stringProp name="Argument.value">kafka</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="sasl.mechanism" elementType="Argument">
<stringProp name="Argument.name">sasl.mechanism</stringProp>
<stringProp name="Argument.value">GSSAPI</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="auto.register.schemas" elementType="Argument">
<stringProp name="Argument.name">auto.register.schemas</stringProp>
<stringProp name="Argument.value">true</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.enabled" elementType="Argument">
<stringProp name="Argument.name">ssl.enabled</stringProp>
<stringProp name="Argument.value">NO</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.key.password" elementType="Argument">
<stringProp name="Argument.name">ssl.key.password</stringProp>
<stringProp name="Argument.value"><Key Password></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.keystore.location" elementType="Argument">
<stringProp name="Argument.name">ssl.keystore.location</stringProp>
<stringProp name="Argument.value"><Keystore Location></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.keystore.password" elementType="Argument">
<stringProp name="Argument.name">ssl.keystore.password</stringProp>
<stringProp name="Argument.value"><Keystore Password></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.truststore.location" elementType="Argument">
<stringProp name="Argument.name">ssl.truststore.location</stringProp>
<stringProp name="Argument.value"><Truststore Location></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.truststore.password" elementType="Argument">
<stringProp name="Argument.name">ssl.truststore.password</stringProp>
<stringProp name="Argument.value"><Truststore Password></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</elementProp>
<stringProp name="classname">net.coru.kloadgen.sampler.ConfluentKafkaSampler</stringProp>
</JavaSampler>
<hashTree/>
<net.coru.kloadgen.config.schemaregistry.SchemaRegistryConfigElement guiclass="TestBeanGUI" testclass="net.coru.kloadgen.config.schemaregistry.SchemaRegistryConfigElement" testname="Schema Registry Config Element" enabled="true">
<stringProp name="schemaRegistryUrl">http://lucent-schema-registry-svc:7002</stringProp>
<collectionProp name="schemaRegistryProperties">
<elementProp name="Config properties" elementType="net.coru.kloadgen.model.PropertyMapping" testname="Config properties">
<stringProp name="propertyName">schema.registry.auth.enabled</stringProp>
<stringProp name="propertyValue">NO</stringProp>
</elementProp>
<elementProp name="Config properties" elementType="net.coru.kloadgen.model.PropertyMapping" testname="Config properties">
<stringProp name="propertyName">schema.registry.auth.method</stringProp>
<stringProp name="propertyValue">BASIC</stringProp>
</elementProp>
<elementProp name="Config properties" elementType="net.coru.kloadgen.model.PropertyMapping" testname="Config properties">
<stringProp name="propertyName">schema.registry.username</stringProp>
<stringProp name="propertyValue"><username></stringProp>
</elementProp>
<elementProp name="Config properties" elementType="net.coru.kloadgen.model.PropertyMapping" testname="Config properties">
<stringProp name="propertyName">schema.registry.password</stringProp>
<stringProp name="propertyValue"><password></stringProp>
</elementProp>
<elementProp name="Config properties" elementType="net.coru.kloadgen.model.PropertyMapping" testname="Config properties">
<stringProp name="propertyName">schema.registry.bearer</stringProp>
<stringProp name="propertyValue"><bearer></stringProp>
</elementProp>
</collectionProp>
</net.coru.kloadgen.config.schemaregistry.SchemaRegistryConfigElement>
<hashTree/>
</hashTree>
</hashTree>
</hashTree>
</jmeterTestPlan>
Thanks to care !
It is not urgent now so have a enough time to look around Jose !
I will look around the code also.
Regards !
from kloadgen.
HI Kojo,
thanks for the feedback, I really appreciate it.
If you don´t mind, we keep a policy about one issue one problem, so I can merge the code and solve problems asap for other people, instead of accumulate then in one task.
Do you mind open a new one with last one, we will try to jumo over asap.
In the other hand, I recommend use the jmeter gui editor to make all the changes. Some times manual ones screw the file, looks like it´s a bit peaky with that.
Thanks!!
from kloadgen.
Hi Jose,
Thanks for the effort.
I don't mind what you're going to do.
Have a good day !
from kloadgen.
Umm,
Yeah this time I got this log
2020-05-14 09:17:31,484 INFO o.a.j.u.JMeterUtils: Setting Locale to en_EN
2020-05-14 09:17:31,501 INFO o.a.j.JMeter: Loading user properties from: /apache-jmeter-5.2.1/bin/user.properties
2020-05-14 09:17:31,502 INFO o.a.j.JMeter: Loading system properties from: /apache-jmeter-5.2.1/bin/system.properties
2020-05-14 09:17:31,503 INFO o.a.j.JMeter: Copyright (c) 1998-2019 The Apache Software Foundation
2020-05-14 09:17:31,504 INFO o.a.j.JMeter: Version 5.2.1
2020-05-14 09:17:31,504 INFO o.a.j.JMeter: java.version=1.8.0_252
2020-05-14 09:17:31,504 INFO o.a.j.JMeter: java.vm.name=OpenJDK 64-Bit Server VM
2020-05-14 09:17:31,504 INFO o.a.j.JMeter: os.name=Linux
2020-05-14 09:17:31,504 INFO o.a.j.JMeter: os.arch=amd64
2020-05-14 09:17:31,504 INFO o.a.j.JMeter: os.version=4.4.0-1106-aws
2020-05-14 09:17:31,504 INFO o.a.j.JMeter: file.encoding=ANSI_X3.4-1968
2020-05-14 09:17:31,505 INFO o.a.j.JMeter: java.awt.headless=true
2020-05-14 09:17:31,505 INFO o.a.j.JMeter: Max memory =1073741824
2020-05-14 09:17:31,505 INFO o.a.j.JMeter: Available Processors =1
2020-05-14 09:17:31,512 INFO o.a.j.JMeter: Default Locale=English (EN)
2020-05-14 09:17:31,512 INFO o.a.j.JMeter: JMeter Locale=English (EN)
2020-05-14 09:17:31,512 INFO o.a.j.JMeter: JMeterHome=/apache-jmeter-5.2.1
2020-05-14 09:17:31,512 INFO o.a.j.JMeter: user.dir =/apache-jmeter-5.2.1
2020-05-14 09:17:31,512 INFO o.a.j.JMeter: PWD =/apache-jmeter-5.2.1
2020-05-14 09:17:31,513 INFO o.a.j.JMeter: IP: 10.0.1.156 Name: jmeter2 FullName: jmeter2
2020-05-14 09:17:31,518 INFO o.a.j.s.FileServer: Default base='/apache-jmeter-5.2.1'
2020-05-14 09:17:31,522 INFO o.a.j.s.FileServer: Set new base='/apache-jmeter-5.2.1/../kloadgen'
2020-05-14 09:17:31,690 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2020-05-14 09:17:31,708 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8
2020-05-14 09:17:31,714 INFO o.a.j.s.SaveService: Using SaveService properties version 5.0
2020-05-14 09:17:31,726 INFO o.a.j.s.SaveService: Loading file: ../kloadgen/Example-Test-Plan.jmx
2020-05-14 09:17:31,796 INFO o.a.j.JMeter: Creating summariser <summary>
2020-05-14 09:17:31,808 INFO o.a.j.e.StandardJMeterEngine: Running the test!
2020-05-14 09:17:31,809 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2020-05-14 09:17:31,809 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2020-05-14 09:17:31,813 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2020-05-14 09:17:31,813 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2020-05-14 09:17:32,250 INFO o.a.j.p.j.s.JavaSampler: Created class: net.coru.kloadgen.sampler.ConfluentKafkaSampler. Uses tearDownTest:
2020-05-14 09:17:32,253 INFO o.a.j.JMeter: Running test (1589447852253)
2020-05-14 09:17:32,294 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2020-05-14 09:17:32,294 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group Thread Group.
2020-05-14 09:17:32,294 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2020-05-14 09:17:32,294 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=1 ramp-up=1 delayedStart=false
2020-05-14 09:17:32,304 INFO o.a.j.t.ThreadGroup: Started thread group number 1
2020-05-14 09:17:32,304 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2020-05-14 09:17:32,344 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-1
2020-05-14 09:17:32,348 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[Thread Group 1-1,5,main]
java.lang.Error: This should never happen. Tried to invoke:
net.coru.kloadgen.config.schemaregistry.SchemaRegistryConfigElement#setSchemaRegistryProperties(LinkedList [PropertyMapping(propertyName=schema.registry.auth.enabled, propertyValue=NO), PropertyMapping(propertyName=schema.registry.auth.method, propertyValue=BASIC), PropertyMapping(propertyName=schema.registry.username, propertyValue=<username>), PropertyMapping(propertyName=schema.registry.password, propertyValue=<password>), PropertyMapping(propertyName=schema.registry.bearer, propertyValue=<bearer>)] )
at org.apache.jmeter.testbeans.TestBeanHelper.invokeOrBailOut(TestBeanHelper.java:169) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.testbeans.TestBeanHelper.prepare(TestBeanHelper.java:97) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.threads.TestCompiler.trackIterationListeners(TestCompiler.java:183) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.threads.TestCompiler.subtractNode(TestCompiler.java:137) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:998) ~[jorphan.jar:5.2.1]
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:995) ~[jorphan.jar:5.2.1]
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:977) ~[jorphan.jar:5.2.1]
at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:703) ~[ApacheJMeter_core.jar:5.2.1]
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:253) ~[ApacheJMeter_core.jar:5.2.1]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252]
at org.apache.jmeter.testbeans.TestBeanHelper.invokeOrBailOut(TestBeanHelper.java:167) ~[ApacheJMeter_core.jar:5.2.1]
... 9 more
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:460) ~[?:1.8.0_252]
at java.util.Properties.setProperty(Properties.java:166) ~[?:1.8.0_252]
at net.coru.kloadgen.config.schemaregistry.SchemaRegistryConfigElement.serializeProperties(SchemaRegistryConfigElement.java:58) ~[kloadgen-1.3.0.jar:?]
at net.coru.kloadgen.config.schemaregistry.SchemaRegistryConfigElement.setSchemaRegistryProperties(SchemaRegistryConfigElement.java:45) ~[kloadgen-1.3.0.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252]
at org.apache.jmeter.testbeans.TestBeanHelper.invokeOrBailOut(TestBeanHelper.java:167) ~[ApacheJMeter_core.jar:5.2.1]
... 9 more
2020-05-14 09:17:32,356 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test
2020-05-14 09:17:32,357 INFO o.a.j.r.Summariser: summary = 0 in 00:00:00 = ******/s Avg: 0 Min: 9223372036854775807 Max: -9223372036854775808 Err: 0 (0.00%)
Regards !
from kloadgen.
Hi Jose.
okay I give a try.
I am going to check the code soon and make P.R.
No worry about this issue
Thanks !
from kloadgen.
Related Issues (20)
- [Issue]: Avro schemas with references HOT 6
- [Documentation Issue]: Postman collection to import HOT 1
- [Issue]: `sasl.jaas.config` property is not applied HOT 5
- [Issue]: Error when all fields are optional in AVRO
- [Issue]: Error with JMeter 5.6.2 in connection with plugin kloadgen 5.6.5 HOT 18
- [Issue]: Complete the funcionality of "Value Schema File Serializer" HOT 1
- [Issue]: Can't load an Avro schema serializer from register.
- [Issue]: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target HOT 4
- [Issue]: NullPointerException when starting a test with a Key Schema File Serializer Config HOT 1
- [Issue]: JSON value shema serializer exception HOT 1
- [Issue]: Simple Key Config serializer exception HOT 1
- [Issue]: Error while processing sampler: 'Kafka Broker'. java.lang.NullPointerException: Cannot invoke "String.toUpperCase()" because "registry" is null HOT 10
- [Issue]: Consumer does not show consumed messages in JMeter
- [Kloadgen]: I want to integrate Kloadgen with Google-PubSub
- [Issue]: kloadgen based on jmeter 5.6.3
- [Issue]: Unable to produce messages with bytes field in Protobuf schema using kloadgen plugin HOT 5
- [Issue]: sasl.jaas.config property is not applied HOT 4
- Starting a simple project with Simple Value Config and Simple Key Config HOT 5
- Error filtering class org.apache.commons.compress.harmony.pack200.Segment, it will be ignored java.lang.IncompatibleClassChangeError: class org.apache.commons.compress.harmony.pack200.Segment can not implement org.objectweb.asm.ClassVisitor, because it is not an interface (org.objectweb.asm.ClassVisitor is in unnamed module of loader org.apache.jmeter.DynamicClassLoader @65ab7765)[Issue]: HOT 6
- [Issue]: Parameter values are not taking properly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kloadgen.