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 2.13 support #121
Comments
It's a bug in JMeter 2.12: https://bz.apache.org/bugzilla/show_bug.cgi?id=57555 You can fix it by adding adding maven exclusions (see bug for details), or wait for JMeter 2.13 to be released (which will hopefully happens in a few days). By the way thanks for providing jmeter-maven-pluging. :) |
I'm aware hence the External Dependency tag. I don't want to put exclusions into the plugin POM really since there is no guarantee that those exclusions won't cause problem in the future. Looks like we will skip 2.12 support if 2.13 is out very soon. |
They took a longer than I expected, but JMeter 2.13 was released last week: https://jmeter.apache.org/changes.html |
We are going to skip 2.12 support due to missing dependencies and go directly to 2.13. 2.13 has issues as well (see https://bz.apache.org/bugzilla/show_bug.cgi?id=57734) but I can work around these for now. |
still getting warning for missing dependency in plugin version 1.10.1 |
Can you provide your POM. |
I am getting the same issue as hemantsonu20. Here is my POM |
@bindubudha You are using version 1.4.1 in that POM which is drastically out of date. |
@Ardesco im getting the same Error with JMeter 3.0: my pom.xml |
That's because you have added an explicit dependency for
Remove the dependencies block it's obsolete in version 2.x of the plugin. You also need to have a look at https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/wiki/Adding%20Additional%20Libraries%20To%20The%20Classpath The following section is also obsolete, it's 1.x configuration and no longer used in 2.x:
|
@Ardesco oh thank you very much! i was wondering if there are some parts obsolete. is there a documentation of a valid pom file with all valid options? i could only find old examples or examples with minimum configuration. |
The wiki documents most of it: https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/wiki Also check the CHANGELOG: https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/blob/master/CHANGELOG.md The CHANGELOG is the most up to date, there may be some bits in the changeling that aren't in the wiki yet. |
i'm not sure if this is the right place to ask but i tried to add some jmeterExtensions like jmeter.plugins-extras etc. because i need things like parameterized Controller and JSON Path Assertions but i'm getting an error again: i tried to add dependencies for commons-math3 and commons-pool2 but that didn't worked out. updated pom.xml |
Again you have started adding dependencies to the plugin. This will not do anything in version 2.x of the plugin, the dependencies block is obsolete. If you want to add these dependencies You will need to do them this way: The error you are seeing is because jmeter-plugins depends upon JMeter 2.13 which has a broken maven dependency tree. This is something the jmeter-plugins team needs to fix (they need to release a version of jmeter plugins that depends upon JMeter 3.1). You can hack round this by adding explicit dependencies to However the build will still break because the plugin will still try and download some dependencies for jmeter-plugins that don't exist, you can work around this by setting:
This does however mean that you will need to manually set all the dependencies that jmeter-plugins depends upon in your (Basically we are hacking around the fact that other libraries have a broken dependency tree) |
ok that downloadExtensionDependencies setting in the jmeter-maven-plugin configuration tag helped to remove the dependency errors. and after i removed the ":pom" in the artifact tag the appropriate jar file was in my /lib/ext/ Folder. maybe my pom.xml will help someone else. |
@pashau, your pom.txt saved me, thanks for sharing! Any ideas on how to load a specific .jmx file into the GUI? |
Looks like we have some missing external dependencies again:
I need to do some more investigation but I think this is it at the moment.
The text was updated successfully, but these errors were encountered: