Error with installation #404
Replies: 2 comments 3 replies
-
I tested In the other hand I never tried use the pre-built jar, so i don't know exactly if a error coming from use the last version of JMeter or from the pre-built jar. And please the next time you had a problem like this, make a Issue instead of a discussion, because discussion are more related with concept or feature request instead of problem solving |
Beta Was this translation helpful? Give feedback.
-
HI @JunZhuang-MYGN, That works for you? |
Beta Was this translation helpful? Give feedback.
-
Totally new to Kafka and Maven, hopefully the errors can be easily fixed.
Version info
Error during installation (on Windows). Note:
[ERROR] Errors: [ERROR] SchemaExtractorTest.testFlatPropertiesListWithAVRO:81->lambda$testFlatPropertiesListWithAVRO$1:81 ┬╗ Mockito [ERROR] SchemaExtractorTest.testFlatPropertiesListWithException:126->lambda$testFlatPropertiesListWithException$6:126 ┬╗ Mockito [ERROR] SchemaExtractorTest.testFlatPropertiesListWithJson:96->lambda$testFlatPropertiesListWithJson$2:96 ┬╗ Mockito [ERROR] SchemaExtractorTest.testFlatPropertiesListWithProtobuf:112->lambda$testFlatPropertiesListWithProtobuf$4:112 ┬╗ Mockito [INFO] [ERROR] Tests run: 327, Failures: 0, Errors: 4, Skipped: 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15.325 s [INFO] Finished at: 2023-08-15T09:40:41-04:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project kloadgen: There are test failures. [ERROR] [ERROR] Please refer to c:\git\kloadgen\target\surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
Error with producer sampler with a prebuilt jar
2023-08-15 10:03:23,715 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[#90,Thread Group 1-1,6,main] java.lang.IncompatibleClassChangeError: Expecting non-static method 'org.apache.jmeter.threads.JMeterVariables org.apache.jmeter.protocol.java.sampler.JavaSamplerContext.getJMeterVariables()' at com.sngular.kloadgen.sampler.SamplerUtil.setupCommonProperties(SamplerUtil.java:104) ~[kloadgen-5.6.5.jar:?] at com.sngular.kloadgen.sampler.KafkaProducerSampler.properties(KafkaProducerSampler.java:117) ~[kloadgen-5.6.5.jar:?] at com.sngular.kloadgen.sampler.KafkaProducerSampler.setupTest(KafkaProducerSampler.java:74) ~[kloadgen-5.6.5.jar:?] at org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:194) ~[ApacheJMeter_java.jar:5.6.2] at org.apache.jmeter.threads.JMeterThread.doSampling(JMeterThread.java:651) ~[ApacheJMeter_core.jar:5.6.2] at org.apache.jmeter.threads.JMeterThread.executeSamplePackage(JMeterThread.java:570) ~[ApacheJMeter_core.jar:5.6.2] at org.apache.jmeter.threads.JMeterThread.processSampler(JMeterThread.java:501) ~[ApacheJMeter_core.jar:5.6.2] at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:268) ~[ApacheJMeter_core.jar:5.6.2] at java.lang.Thread.run(Thread.java:1623) [?:?]
Beta Was this translation helpful? Give feedback.
All reactions