Re: Need help to a PR

2023-06-13 Thread Antonio Gomes Rodrigues
Hi Vladimir, I have take the same structure as your PR and now it works fine I am working on it Thanks to your help Le ven. 9 juin 2023 à 23:20, Antonio Gomes Rodrigues a écrit : > Hi Vladimir > > Thanks to your example, but I am still no familiar with gradle > > I think I don(t put the librar

Re: Need help to a PR

2023-06-09 Thread Antonio Gomes Rodrigues
Hi Vladimir Thanks to your example, but I am still no familiar with gradle I think I don(t put the library (build.gradle.kts) in the right file I have put my java class in src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/gui/action/ParseHARAction.java and modify src/protocol/http/

Re: Need help to a PR

2023-06-08 Thread Vladimir Sitnikov
>Any idea to solve this problem? It is hard to understand the reason for the failure without looking into the code. It would be great if you could file a draft pull request with your changes. Here's how you could add har-reader module into JMeter: https://github.com/apache/jmeter/pull/5976 "impo

Re: Need help to a PR

2023-06-08 Thread Antonio Gomes Rodrigues
Hi Vladimir, Thanks a lot to your help and patience? It help me a lot, but I have still a problem I have add implementation("de.sstoehr:har-reader") in src/core/build.gradle.kts Add api("de.sstoehr:har-reader:2.2.1") in src/bom-thirdparty/build.gradle.kts Execute PchecksumUpdateAll Add in org/

Re: Need help to a PR

2023-06-06 Thread Vladimir Sitnikov
> DO I need to add a checksum? That is right, we require dependency verification. Here's a sample when I recently added a new dependency: https://github.com/apache/jmeter/commit/a2690e8a6d22420869eb89643c116901cc5c5bce Note that there were changes to checksum.xml, and the new pgp keys have been

Re: Need help to a PR

2023-06-06 Thread Antonio Gomes Rodrigues
Hi Vladimir, Thanks to you quick response What do you mean by " it might be better to add src/har-importer module rather than put it into src/core" I have try your first solution without success I have this error FAILURE: Build failed with an exception. * What went wrong: Could not determine t

Re: Need help to a PR

2023-06-06 Thread Vladimir Sitnikov
> I have added api("com.github.sdstoehr:har-reader:2.2.1") in src/bom-thirdparty/build.gradle.kts That’s right. You declare version in bom-thirdparty, and then you add a dependency without version. For instance, add implementation(“ com.github.sdstoehr:har-reader”) to src/core/build.gradle.kts. H

Need help to a PR

2023-06-06 Thread Antonio Gomes Rodrigues
Hi all, I have some time to work again in JMeter, unfortunately I haven't made code for a long time. It's why I need help I would like to add feature to import HAR file to gain productivity in scripting step. I have checked and it will not be too difficult by using lib like https://github.com/sd