Comments (8)
Thank you for collaborate with the project giving us feedback!!' You will help us a lot if you can attach and example AVRO and an example Test Plan in order to be able to reproduce the error. If that is the case. Cheers
from kloadgen.
HI @saini26rohit ,
you should not need to add any dependency for the build. Can you please provide a full log of the fail?
It will help if you can share with us which JVM and maven version are you using for it.
Regards!
from kloadgen.
Thank you @kszosze, for the prompt response. I was acting naive. I managed to get the Jar files now. I had to upgrade to JDK 16 and I used eclipse version 2021-03. Post that it downloaded all the dependencies and worked. However, on first time build it failed with error: "Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test" . On this I made changes to POM --> "
org.apache.maven.plugins
maven-surefire-plugin
2.19.1
true
</plugin"
And did a compelte clean install. It worked and generated the Jars under target folder:
- kloadgen-3.0.0.jar
- kloadgen-plugin-3.0.0.jar.
And if I do not make changes to POM.XML it get following errors:
"_[ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.681 s <<< FAILURE! - in net.coru.kloadgen.extractor.SchemaExtractorTest
[ERROR] testFlatPropertiesOptionalMapArray Time elapsed: 0.018 s <<< ERROR!
java.nio.file.NoSuchFileException: C:\Users\XXXXXXXX\git\kloadgen\target\test-classes\avro-files\testOptionalMap.avsc
at net.coru.kloadgen.extractor.SchemaExtractorTest.testFlatPropertiesOptionalMapArray(SchemaExtractorTest.java:109)
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project kloadgen: There are test failures._"
Now I have the jar files, but did not understand why a test fails. Anyway thank you for the help.
Thanks,
from kloadgen.
HI @saini26rohit,
Iยดm curious about which version of the code are you actually using.
Master and Release 3.0.0 are using both version 2.22.2 of Surefire Plugin.
Regarding Java 16, still not supported for us. There is an issue between the version of Lombok and Java 16, so we need to update it in order to make work.
Can you provide a fork of kloadgen with your changes so I can download that code and testing?
I cannot reproduce your situation with the current master, neither release 3.0.0.
Cheers!!
from kloadgen.
@kszosze
I tried with both Master and Release 3.0.0 and for both build fail with error: "Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test".
Both Master and Release 3.0.0 are using version 2.22.2 for Surefire Plugin. So I was not sure what to do. I googled and the solution was to add testFailureIgnore tag in POM.xml.
true
In my previous comment you might see version : 2.19.1. This was from google search. My intention was to tell you that I added testFailureIgnore tag to POM.xml
from kloadgen.
Hi @saini26rohit
Sorry for late reply, I have a branch for this issue. Can you try to build it?
Regards
from kloadgen.
Hi @kszosze
Thank you for the help. I will try to build with the branch and update you. Mean while can you help me do identify what I am doing wrong below:
When I try in my corporate machine behind corporate network where I have Jdk1.8 I am getting below error:
/PathInMachine/Kloadgen-master/src/main/java/net/coru/kloadgen/extractor/extractors/AvroExtractor.java:[144,21] Valid_TYPES has protected in net.coru.kloadgen.util.RandomTool
/PathInMachine/Kloadgen-master/src/main/java/net/coru/kloadgen/property/editoir/ValueSerializerPropertyEditor.java[104,52] cannot find symbol
symbol : method requireNonNullElse(java.lang.Object,int)
location: class java.util.Objects
Can you help me understand what I am doing wrong.
from kloadgen.
Hi @saini26rohit ,
This is a know issue fixed in the branch I'm just made to investigate your case.
Can you please use it to build?
Cheers!
from kloadgen.
Related Issues (20)
- [New Feature]: Integrate AsyncApi files
- [Issue]: BUILD FAILURE HOT 5
- Having trouble establishing Kafka connection through Blazemeter HOT 2
- [Issue]: Error with Schema File Serializer / Deserializer HOT 5
- [Issue]: Trouble with using Apicurio Schema Registry + Confluent SerDes HOT 21
- [Documentation]Add Info in Producer Configuration About Random Keys HOT 1
- [Issue]: Schema Registry URL in Consumer HOT 4
- [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
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.