Skip to content
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

Plugin bundles groovy which causes conflicts with JMeter #86

Open
vlsi opened this issue May 25, 2023 · 5 comments
Open

Plugin bundles groovy which causes conflicts with JMeter #86

vlsi opened this issue May 25, 2023 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@vlsi
Copy link

vlsi commented May 25, 2023

Try adding the plugin to the recent nightly JMeter.
The plugin shades groovy 3.0.11 while JMeter ships 3.0.17.

It would probably be better to avoid shading the dependencies

@mateusgsan
Copy link
Contributor

problems occurs again with Jmeter 5.6 (groovy 3.0.17 conflicts with groovy 3.0.11)

@mateusgsan
Copy link
Contributor

please just change jmeter dependencies to 5.6 version and influx client to 6.9.0 in build.gradle

@alpanachaphalkar
Copy link

@mateusgsan and @mderevyankoaqa can you please release a fixed JAR for this issue? That would be great!

@Darthops
Copy link

I'm not sure if this is related but it only appears to occur on 5.6.2 when I add in your jmeter-plugins-influxdb2-listener-2.7.jar file.

In JMeter if I right click on Test Plan > Add Listener > View Result Tree

Then I get the following error message in the log pane:

ERROR o.a.j.v.ViewResultsFullVisualizer: Exception registering implementation: [] of interface: [interface org.apache.jmeter.visualizers.ResultRenderer], a jar is probably missing java.util.ServiceConfigurationError: org.apache.jmeter.visualizers.ResultRenderer: Provider org.apache.jmeter.visualizers.RenderInBrowser not found at java.util.ServiceLoader.fail(ServiceLoader.java:593) ~[?:?] at java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1219) ~[?:?] at java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1228) ~[?:?] at java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1273) ~[?:?] at java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309) ~[?:?] at java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393) ~[?:?] at org.apache.jorphan.reflect.ClassFinder.loadServices(ClassFinder.java:115) ~[jorphan.jar:5.6.2] at org.apache.jmeter.util.JMeterUtils.loadServicesAndScanJars(JMeterUtils.java:345) ~[ApacheJMeter_core.jar:5.6.2] at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.createComboRender(ViewResultsFullVisualizer.java:464) ~[ApacheJMeter_components.jar:5.6.2] at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.createLeftPanel(ViewResultsFullVisualizer.java:438) ~[ApacheJMeter_components.jar:5.6.2] at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.init(ViewResultsFullVisualizer.java:349) ~[ApacheJMeter_components.jar:5.6.2] at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.<init>(ViewResultsFullVisualizer.java:156) ~[ApacheJMeter_components.jar:5.6.2] at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:67) ~[?:?] at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:484) ~[?:?] at org.apache.jmeter.gui.GuiPackage.getGuiFromCache(GuiPackage.java:424) ~[ApacheJMeter_core.jar:5.6.2] at org.apache.jmeter.gui.GuiPackage.createTestElement(GuiPackage.java:371) ~[ApacheJMeter_core.jar:5.6.2] at org.apache.jmeter.gui.action.AddToTree.doAction(AddToTree.java:70) ~[ApacheJMeter_core.jar:5.6.2] at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:83) ~[ApacheJMeter_core.jar:5.6.2] at org.apache.jmeter.gui.action.ActionRouter.lambda$actionPerformed$0(ActionRouter.java:65) ~[ApacheJMeter_core.jar:5.6.2] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) ~[?:?] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) ~[?:?] at java.awt.EventQueue$4.run(EventQueue.java:720) ~[?:?] at java.awt.EventQueue$4.run(EventQueue.java:714) ~[?:?] at java.security.AccessController.doPrivileged(AccessController.java:400) [?:?] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) [?:?] at java.awt.EventQueue.dispatchEvent(EventQueue.java:742) [?:?] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) [?:?] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) [?:?] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) [?:?] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) [?:?] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:?] at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [?:?]

When I add a "View Results Tree" it works fine if the jmeter-plugins-influxdb2-listener-2.7.jar isn't present so not sure where the issue is.

@mderevyankoaqa
Copy link
Owner

@Darthops Please check the new release https://github.com/mderevyankoaqa/jmeter-influxdb2-listener-plugin/releases/tag/v2.7

The old jar please remove.

BR,
Mike

@mderevyankoaqa mderevyankoaqa added the help wanted Extra attention is needed label Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants