Plugin Manager behind Proxy

10,090 views
Skip to first unread message

olivernz

unread,
May 31, 2016, 6:14:00 PM5/31/16
to jmeter-plugins
Hi,

I am trying to use JMeter and Plugin Manager behind a company Proxy. I just get a blank Screen in Available plugins. You need to include the JMeter Proxy settings when connecting to the outside world.

Cheers Oliver

and...@blazemeter.com

unread,
Jun 2, 2016, 7:24:25 AM6/2/16
to jmeter-plugins
Hi,

JMeter have some properties to configure the proxy. Have you tried setting them? Something like http://www.testingminded.com/2010/04/running-jmeter-tests-from-behind-proxy.html

Could you please try and post here if it helps? I expected Plugins Manager to work fine with proxy set like that...

--
Andrey

m.s.s...@gmail.com

unread,
Jun 9, 2016, 8:28:42 AM6/9/16
to jmeter-plugins, and...@blazemeter.com
Setting the proxy at the command line doesn't seem to work. I am having the same issue. Any other thoughts?

olivernz

unread,
Jun 9, 2016, 5:07:25 PM6/9/16
to jmeter-plugins
Sorry, should have said that set all the proxy settings of course. No go so far.

Cheers
Oliver

and...@blazemeter.com

unread,
Jun 10, 2016, 3:34:17 AM6/10/16
to jmeter-plugins
Ok then, I'll need to somehow implement this.

Thanks for reporting the need.

--
Andrey

Vincent Daburon

unread,
Jun 13, 2016, 8:45:18 AM6/13/16
to jmeter-plugins, and...@blazemeter.com
Hi,

Same issue
i try
jmeter.bat -H myproxy -P 4040
 => error when try loading file with plugins information

i try
Modify the jmeter.bat add
set JVM_ARGS="-Dhttp.proxyHost=myproxy -Dhttp.proxyPort=4040"
 => error when try loading file with plugins information

Regards.
Vincent D.

Jorge León Delgado

unread,
Jun 15, 2016, 12:03:15 PM6/15/16
to jmeter-plugins


I also happen.
Working with proxy and open the option "Plugin Manager" menu, the window opens blank

The following appears in log:


2016/06/15 18:01:46 ERROR - org.jmeterplugins.repository.PluginManagerDialog: Failed to load plugins manager org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 5000 ms

at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:155)

at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)

at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)

at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)

at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)

at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)

at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)

at org.jmeterplugins.repository.PluginManager.getJSON(PluginManager.java:82)

at org.jmeterplugins.repository.PluginManager.load(PluginManager.java:35)

at org.jmeterplugins.repository.PluginManagerDialog.<init>(PluginManagerDialog.java:41)

at org.jmeterplugins.repository.PluginManagerMenuItem.actionPerformed(PluginManagerMenuItem.java:38)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.AbstractButton.doClick(Unknown Source)

at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)

at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

at java.awt.EventQueue.access$500(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.awt.EventQueue$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue$4.run(Unknown Source)

at java.awt.EventQueue$4.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.net.SocketTimeoutException: connect timed out

at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)

at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)

at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)

at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)

at java.net.AbstractPlainSocketImpl.connect(Unknown Source)

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.SocksSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)

... 48 more

Andrey Pokhilko

unread,
Jun 16, 2016, 5:17:48 AM6/16/16
to jmeter-...@googlegroups.com
Can everybody who suffer from this let me know: how do you usually have your proxy settings available? Is it something that is configured globally on the machine, or you used to configure it for each application separately? How do you specify it for JMeter or there is no need in that?

I want to make sure that the solution will fit all the cases, including command-line usage for Plugins Manager.

Andrey Pokhilko

--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

gli...@gmail.com

unread,
Jun 16, 2016, 8:15:45 AM6/16/16
to jmeter-plugins
I believe the most straightforward option is just respecting JMeter proxy settings (command line or system properties)

Vincent Daburon

unread,
Jun 16, 2016, 11:49:03 AM6/16/16
to jmeter-plugins
Hi,

I use Proxy to download Plugins from Internet by don't use proxy for my internal load test on intranet.

May be a new tab specific for Plugin Manager user interface to set Proxy Information
and  new properties for pluginManager for cmd line like :
jmeterPlugin.pluginManager.proxy.http.proxyHost=myProxy
jmeterPlugin.pluginManager.proxy.http.proxyPort=4040
jmeterPlugin.pluginManager.proxy.https.proxyHost=myProxy
jmeterPlugin.pluginManager.proxy.https.proxyPort=4040
jmeterPlugin.pluginManager.proxy.username=myusername
jmeterPlugin.pluginManager.proxy.password=mypassword

and il could start jmeter likes
jmeter -DjmeterPlugin.pluginManager.proxy.http.proxyHost=myProxy -DjmeterPlugin.pluginManager.proxy.http.proxyPort=4040

Regards.
Vincent D.


surendra matta

unread,
Jun 16, 2016, 4:21:55 PM6/16/16
to jmeter-plugins
HI ,

I got the same issue i.e., plugin manger is blank and i am getting below error message in log

2016/06/16 16:19:19 INFO  - jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22 
2016/06/16 16:19:19 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 
2016/06/16 16:19:19 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 
2016/06/16 16:19:19 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 
2016/06/16 16:19:19 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 
2016/06/16 16:19:19 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 
2016/06/16 16:19:19 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser 
2016/06/16 16:19:19 INFO  - jorphan.exec.KeyToolUtils: keytool found at 'keytool' 
2016/06/16 16:19:19 INFO  - jmeter.protocol.http.proxy.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file D:\apache-jmeter-3.0\bin\proxyserver.jks 
2016/06/16 16:19:19 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.mongodb.config.MongoSourceElement 
2016/06/16 16:19:19 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler 
2016/06/16 16:19:20 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.visualizers.DistributionGraphVisualizer 
2016/06/16 16:19:20 INFO  - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times 
2016/06/16 16:19:20 INFO  - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 
2016/06/16 16:19:20 INFO  - jmeter.samplers.SampleResult: sampleresult.useNanoTime=true 
2016/06/16 16:19:20 INFO  - jmeter.samplers.SampleResult: sampleresult.nanoThreadSleep=5000 
2016/06/16 16:19:20 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.visualizers.SplineVisualizer 
2016/06/16 16:19:28 INFO  - org.apache.commons.httpclient.HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect 
2016/06/16 16:19:28 INFO  - org.apache.commons.httpclient.HttpMethodDirector: Retrying request 
2016/06/16 16:19:29 INFO  - org.apache.commons.httpclient.HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect 
2016/06/16 16:19:29 INFO  - org.apache.commons.httpclient.HttpMethodDirector: Retrying request 
2016/06/16 16:19:30 INFO  - org.apache.commons.httpclient.HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection refused: connect 
2016/06/16 16:19:30 INFO  - org.apache.commons.httpclient.HttpMethodDirector: Retrying request 
2016/06/16 16:19:31 ERROR - org.jmeterplugins.repository.PluginManagerDialog: Failed to load plugins manager java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at org.jmeterplugins.repository.PluginManager.getJSON(PluginManager.java:82)
at org.jmeterplugins.repository.PluginManager.load(PluginManager.java:35)
at org.jmeterplugins.repository.PluginManagerDialog.<init>(PluginManagerDialog.java:41)
at org.jmeterplugins.repository.PluginManagerMenuItem.actionPerformed(PluginManagerMenuItem.java:38)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.Component.processMouseEvent(Component.java:6525)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6290)
at java.awt.Container.processEvent(Container.java:2234)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
at java.awt.Container.dispatchEventImpl(Container.java:2278)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Andrey Pokhilko

unread,
Jun 17, 2016, 9:49:53 AM6/17/16
to jmeter-...@googlegroups.com
I have released Plugins Manager v0.8 it will become available in couple hours. 0.8 has proxy support in it.


Andrey Pokhilko

On 06/13/2016 03:45 PM, Vincent Daburon wrote:
--

Vincent Daburon

unread,
Jun 20, 2016, 8:50:06 AM6/20/16
to jmeter-plugins
Hi,
I start JMeter.bat + jmeter-plugins-manager-0.8.jar
With "JMeter Standard Proxy Setting"

jmeter.bat -H myproxy -P 4040

The proxy configuration is OK, i see and download my selected Plugins but
when i click on the button "Apply Changes and Restart JMeter"

JMeter is restart but without the proxy settings (like simple jmeter.bat) and the Plugins Manager is empty for "Installed Plugins" or "Available Plugins"

The restart need to relaunch the JMeter with same initial start parameters likes "proxy settings"

Regards.
Vincent D.

Andrey Pokhilko

unread,
Jun 20, 2016, 10:15:03 PM6/20/16
to jmeter-...@googlegroups.com
Unfortunately, I found no way to access original launch settings for JMeter at the moment... Only some JVM launch settings are reproduced for restart.

Andrey Pokhilko

olivernz

unread,
Jul 6, 2016, 9:55:18 PM7/6/16
to jmeter-plugins
Hi,

I needa user and password for my proxy. So it still work because it errors out when the 407 login challenge comes back.

Cheers Oliver

Andrey Pokhilko

unread,
Jul 26, 2016, 4:51:01 AM7/26/16
to jmeter-...@googlegroups.com
Hi,

I have added username/pwd support, can you try it with snapshot version
of pmgr?
Download it here:
https://jmeter-plugins.org/downloads/file/nightly/jmeter-plugins-manager-0.8_36b302bf8e.jar

Usage notes here:
https://jmeter-plugins.org/wiki/PluginsManager/#Using-Behind-the-Proxy

Andrey Pokhilko

stuart...@gmail.com

unread,
Jul 26, 2016, 7:13:38 AM7/26/16
to jmeter-plugins
The proxy I work behind requires a username and password too. I just tried your latest jar but it still fails to connect. Here's the exception I see in the error panel:

2016/07/26 12:33:02 ERROR - org.jmeterplugins.repository.PluginManagerDialog: Failed to load plugins manager org.apache.http.conn.ConnectTimeoutException: Connect to jmeter-plugins.org:80 timed out
    at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:122)
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:179)
    at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:328)
    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:612)
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:447)
    at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
    at org.jmeterplugins.repository.PluginManager.getJSON(PluginManager.java:101)
    at org.jmeterplugins.repository.PluginManager.load(PluginManager.java:52)

    at org.jmeterplugins.repository.PluginManagerDialog.<init>(PluginManagerDialog.java:41)
    at org.jmeterplugins.repository.PluginManagerMenuItem.actionPerformed(PluginManagerMenuItem.java:38)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)

    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

The new plugin manager is not a bad idea but I also work on servers without an Internet connection. I would guess that there are many out there in a similar situation, who are load testing production like systems that are isolated and protected from the Internet. Why not provide a web application with the same functionality? You choose which plugins to enable and it then generates a downloadable zip with all the jars you need. Or you could provide a list of commonly used plugin bundles. Users could download the zip they need and deploy just copy them into their lib/ext folder themselves.

Andrey Pokhilko

unread,
Jul 26, 2016, 7:57:55 AM7/26/16
to jmeter-...@googlegroups.com
Hi,

Did you try it with the snapshot version? What was the way you configured the proxy?

Andrey Pokhilko

stuart...@gmail.com

unread,
Jul 26, 2016, 8:08:18 AM7/26/16
to jmeter-plugins
I downloaded https://jmeter-plugins.org/downloads/file/nightly/jmeter-plugins-manager-0.8_36b302bf8e.jar and saved it to lib/ext

I then edited jmeter.bat and configured the JVM_ARGS variable.

set JVM_ARGS="-Dhttps.proxyHost=<myproxy> -Dhttps.proxyPort=8080 -Dhttps.proxyUser=<myuser> -Dhttps.proxyPass=<mypassword>"

(with the values between < and > substituted for my proxy values of course).

I also tried run NTL Maps which is a local proxy that asks for a username and password during startup. This would allow me, in theory, to remove the https.proxyUser and https.proxyPass parameters. That didn't work either.

It's interesting that the error message reports an attempted connection to port 80 yet the proxyHost and other params specifiy 'https' which I guess would be valid for connections to port 443...

I also tried replacing https with http in all the params but this didn't work either.

Andrey Pokhilko

unread,
Jul 26, 2016, 8:10:14 AM7/26/16
to jmeter-...@googlegroups.com
https.proxyUser and https.proxyPass are wrong. It should be  http.proxyUser and http.proxyPass

Andrey Pokhilko

stuart...@gmail.com

unread,
Jul 26, 2016, 8:28:51 AM7/26/16
to jmeter-plugins
I tried those too but get the same error message
I took the config string from https://jmeter-plugins.org/wiki/PluginsManager/#Using-Behind-the-Proxy

Andrey Pokhilko

unread,
Jul 26, 2016, 1:46:48 PM7/26/16
to jmeter-...@googlegroups.com
Hmm. I tried myself with this command:
JVM_ARGS="-Dhttps.proxyHost=proxy-gw -Dhttps.proxyPort=3128 -Dhttp.proxyUser=user -Dhttp.proxyPass=123" ./PluginsManagerCMD.sh status

And it worked fine.


Try setting this JMeter property inside user.properties file:
jpgc.repo.timeout=30000

This will give it a bit more time to connect to server.

Andrey Pokhilko

stuart...@gmail.com

unread,
Jul 27, 2016, 7:44:30 AM7/27/16
to jmeter-plugins
By adding the timeout setting to user.properties it still doesn't connect but the stacktrace is different. Does this give you a better idea what could be going wrong?

2016/07/27 12:02:47 ERROR - org.jmeterplugins.repository.PluginManagerDialog: Failed to load plugins manager java.net.ConnectException: Connection timed out: connect
    at java
.net.DualStackPlainSocketImpl.waitForConnect(Native Method)

    at java
.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    at java
.net.AbstractPlainSocketImpl.doConnect(Unknown Source)

   
...

The full stack trace is attached.
jmeter_stacktrace.txt

Vincent Daburon

unread,
Jul 27, 2016, 7:59:34 AM7/27/16
to jmeter-plugins, stuart...@gmail.com
Hi,
try
The correct configuration for me (plugins manger 0.8) in my jmeter.bat i add
JVM_ARGS="-Dhttps.proxyHost=xx.xx.xx.xx -Dhttps.proxyPort=4088 -Dhttp.proxyUser=user -Dhttp.proxyPass=123"
and start
jmeter.bat -H myproxy -P 4088

With this declaration, you declare the httpS proxy  to get the json file and
-H myproxy -P 4088 to declare the http proxy to get JMeter lib

Regards.
Vincent D.

stuart...@gmail.com

unread,
Jul 27, 2016, 8:33:03 AM7/27/16
to jmeter-plugins, stuart...@gmail.com
When I add the proxy settings on the command line using -H and -P I get a HTTP 407 from the proxy server.
It seems incorrect credentials are submitted. I also tried adding the -u and -a command line parameters but I get the HTTP 407 in that case too.

If I visit http://jmeter-plugins.org in a browser there is an automatic redirect to https://jmeter-plugins.org. The redirect is weird. It's done via Javascript

<script>
if (window.location.hostname == 'jmeter-plugins.org' && window.location.protocol != "https:") {
    window
.location.href = "https:" + window.location.href.substring(window.location.protocol.length
);
}
</script>

Why not use the standard HTTP 301 with Location response header. Could this create an issue for the plugin client? Maybe the proxy can't handle the way the redirect is implemented. There's a better chance that proxies are build to handle a HTTP 301 though...

Andrey Pokhilko

unread,
Jul 27, 2016, 8:45:52 AM7/27/16
to jmeter-...@googlegroups.com
The way it redirects cannot affect proxies, it's intentional browser-only redirect.

Repository data is served from http://jmeter-plugins.org/repo/ which is also available as https://jmeter-plugins.org/repo/ . By that, we support old plugin manager instances which don't know about https requirement.

I tried myself with squid proxy requiring authentication, plugins manager 0.9 should work fine with it. Version 0.9 should become available in couple of hours.

So I'd suggest to make sure you have no issues in your configuration, for example with unescaped characters in password...

Andrey Pokhilko

Vincent Daburon

unread,
Jul 28, 2016, 11:38:38 AM7/28/16
to jmeter-plugins
Hi,

I restart from clean directory with only JMeter 3.0 and the jmeter-plugins-manager 0.9, JDK 7_0_75 on Windows 7 64 bits

I try different proxy configurations and only this configuration works
in jmeter.bat
at the begin a the file
set JVM_ARGS="-Dhttps.proxyHost=xxx.xxx.xxx.xx -Dhttps.proxyPort=4088"

and i start in a windows terminal
jmeter.bat -H xxx.xxx.xxx.xx -P 4088
=> OK (https proxy declare with -Dhttps.proxy... and http proxy declare in classical JMeter proxy configuration -H and -P)

This configuration is not working on my laptop
set JVM_ARGS="-Dhttp.proxyHost=
xxx.xxx.xxx.xxx -Dhttp.proxyPort=4088 -Dhttps.proxyHost=xxx.xxx.xxx.xxx -Dhttps.proxyPort=4088"
=> KO

Regards.
Vincent D.
For more options, visit <a moz-do-not-send="true" href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href='https://groups.google.com/d/optout';return

sunda...@gmail.com

unread,
Jul 28, 2016, 5:04:38 PM7/28/16
to jmeter-plugins
I am using the same configuration JMeter 3.0 and the jmeter-plugins-manager 0.9 on mac and starting JMeter from terminal with proxy setting and getting the following error:

2016/07/28 13:55:51 ERROR - org.jmeterplugins.repository.PluginManagerDialog: Failed to load plugins manager javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at org.apache.http.conn.ssl.SSLSocketFactory.createLayeredSocket(SSLSocketFactory.java:573)
at org.apache.http.conn.ssl.SSLSocketFactory.createLayeredSocket(SSLSocketFactory.java:447)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.updateSecureConnection(DefaultClientConnectionOperator.java:219)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.layerProtocol(ManagedClientConnectionImpl.java:421)
at org.apache.http.impl.client.DefaultRequestDirector.establishRoute(DefaultRequestDirector.java:815)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:616)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:447)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
at org.jmeterplugins.repository.PluginManager.getJSON(PluginManager.java:137)
at org.jmeterplugins.repository.PluginManager.load(PluginManager.java:78)
at org.jmeterplugins.repository.PluginManagerDialog.componentShown(PluginManagerDialog.java:178)
at java.awt.AWTEventMulticaster.componentShown(AWTEventMulticaster.java:179)
at java.awt.Component.processComponentEvent(Component.java:6367)
at java.awt.Component.processEvent(Component.java:6315)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Window.processEvent(Window.java:2029)
at java.awt.Component.dispatchEventImpl(Component.java:4891)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
at java.awt.Dialog.show(Dialog.java:1084)
at java.awt.Component.show(Component.java:1673)
at java.awt.Component.setVisible(Component.java:1625)
at java.awt.Window.setVisible(Window.java:1014)
at java.awt.Dialog.setVisible(Dialog.java:1005)
at org.jmeterplugins.repository.PluginManagerMenuItem.actionPerformed(PluginManagerMenuItem.java:41)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:125)
at java.awt.MenuItem.processActionEvent(MenuItem.java:669)
at java.awt.MenuItem.processEvent(MenuItem.java:628)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:351)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:339)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
at sun.security.validator.Validator.validate(Validator.java:260)
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)
... 84 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
... 90 more

Vincent Daburon

unread,
Jul 29, 2016, 4:53:05 AM7/29/16
to jmeter-plugins, sunda...@gmail.com
Hi,

an explanation of the problem :
Extract :
https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-779355358.html
"
This problem is therefore caused by a certificate that is self-signed (a CA did not sign it) or a certificate chain that does not exist within the Java truststore. Java does not trust the certificate and fails to connect to the application.
"
Or some actions to add the Certificate Authority
http://stackoverflow.com/questions/9619030/resolving-javax-net-ssl-sslhandshakeexception-sun-security-validator-validatore

May be a solution is to use jdk 8.

Extract from
http://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/JSSERefGuide.html#InstallProbs
Examine the truststore. Note that the entry type is trustedCertEntry, which means that a private key is not available for this entry (shown in red). It also means that this file is not suitable as a KeyManager's keystore.
% keytool -list -v -keystore truststore
Enter keystore password:  trustword

Keystore type: jks
Keystore provider: SUN

Your keystore contains 1 entry

Alias name: dukecert
Creation date: Dec 20, 2001
Entry type: trustedCertEntry

Owner: CN=Duke, OU=Java Software, O="Oracle, Inc.", L=Palo Alto, ST=CA, C=US
Issuer: CN=Duke, OU=Java Software, O="Oracle, Inc.", L=Palo Alto, ST=CA, C=US
Serial number: 3c22adc1
Valid from: Thu Dec 20 19:34:25 PST 2001 until: Thu Dec 27 19:34:25 PST 2001
Certificate fingerprints:
    MD5: F1:5B:9B:A1:F7:16:CF:25:CF:F4:FF:35:3F:4C:9C:F0
    SHA1: B2:00:50:DD:B6:CC:35:66:21:45:0F:96:AA:AF:6A:3D:E4:03:7C:74



Regards.
Vincent D.
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-altern

Jean-Marie Markowski

unread,
Sep 26, 2016, 5:33:27 AM9/26/16
to jmeter-plugins
Hello Andrey,

I have a question about a configuration Proxy with .

In jmeter.bat I insert this line :
  • set JVM_ARGS="-Dhttps.proxyHost=MyProxy -Dhttps.proxyPort=8080 -Dhttp.proxyUser=MyUserName -Dhttp.proxyPass=Password"
When I start JMeter the option menu :
  • Options ->  Plugins Manager : is not visible
It's imposible to acces to Plugin Manager. For information I use : jmeter-plugins-manager-0.10.jar

How can configure JMeter to use the Plugins Manager

Thanks

Andrey Pokhilko

unread,
Sep 28, 2016, 10:56:34 AM9/28/16
to jmeter-...@googlegroups.com

Hi,

Are there any errors in jmeter.log?

Andrey Pokhilko

--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

san...@pa7.nl

unread,
Sep 29, 2016, 9:32:59 AM9/29/16
to jmeter-plugins
Hi Andrey,

I'm having the same problems. I can connect with jmeter-plugins.org:443, but the connect with search.maven.org:443 fails.

I'm on a Windows machine and I'm using JMeter 3.0 and jmeter-plugins-manager-0.10.jar
I've changed jmeter.bat by adding the customer proxy:
%JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS% -H proxy4 -P 8080 -u myUser -a myPass

I'm able to start JMeter and I can see Plugins Manager in the Options menu.
I can see the installed and available plugins, but when I select an available plugin (3 Basic Graphs) and press Apply Chnages and Restart JMeter it fails:
2016/09/29 15:08:38 INFO  - org.jmeterplugins.repository.Downloader: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/jmeter-plugins-cmn-jmeter/0.3/jmeter-plugins-cmn-jmeter-0.3.jar 
2016/09/29 15:08:38 ERROR - org.jmeterplugins.repository.PluginManager: Failed to download jmeter-plugins-cmn-jmeter java.io.IOException: HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  )
at org.jmeterplugins.repository.Downloader.download(Downloader.java:36)
at org.jmeterplugins.repository.PluginManager.applyChanges(PluginManager.java:196)
at org.jmeterplugins.repository.PluginManagerDialog$4.run(PluginManagerDialog.java:155)

2016/09/29 15:08:38 ERROR - jmeter.JMeter: Uncaught exception:  java.lang.RuntimeException: Failed to download library jmeter-plugins-cmn-jmeter

Wireshark shows me:
HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  )
CONNECT jmeter-plugins.org:443 HTTP/1.1 , NTLMSSP_NEGOTIATE
HTTP/1.1 407 Proxy Authentication Required ( Access is denied.  ) , NTLMSSP_CHALLENGE
CONNECT jmeter-plugins.org:443 HTTP/1.1 , NTLMSSP_AUTH, User: myDomain\myUser
HTTP/1.1 200 Connection established
CONNECT search.maven.org:443 HTTP/1.1
HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  )

So for search.maven.org I don't see a NTLMSSP_NEGOTIATE attempt

I have also tried to set the JVM_ARGS in jmeter.bat:
set JVM_ARGS="-Dhttps.proxyHost=proxy4 -Dhttps.proxyPort=8080 -Dhttp.proxyUser=myDomain\myUser -Dhttp.proxyPass=myPass"


Andrey Pokhilko

unread,
Sep 29, 2016, 9:42:23 AM9/29/16
to jmeter-...@googlegroups.com

Most likely it's another unhandled proxy situation in the code. I'll look into it.

Andrey Pokhilko

san...@pa7.nl

unread,
Sep 29, 2016, 9:51:03 AM9/29/16
to jmeter-plugins
Thanks Andrey, 

If you need more information from me or if you have a new jar you want it to be tested just let me know.

Kind Regards,

Sander van Wanrooy
 



Jean-Marie Markowski

unread,
Oct 3, 2016, 11:02:32 AM10/3/16
to jmeter-plugins, san...@pa7.nl
Hello Andrej,

I insert this line in jmeter.bat

  • set JVM_ARGS="-Dhttps.proxyHost=MyProxy -Dhttps.proxyPort=8080 -Dhttp.proxyUser=MyName -Dhttp.proxyPass=MyPass"


When I start JMeter the option menu :
  • Options ->  Plugins Manager : is not visible
See the error message in log

2016/10/03 16:50:22 WARN  - jmeter.testbeans.BeanInfoSupport: Localized strings not available for bean class kg.apc.jmeter.config.redis.RedisDataSet java.util.MissingResourceException: Can't find bundle for base name kg.apc.jmeter.config.redis.RedisDataSetResources, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at org.apache.jmeter.testbeans.BeanInfoSupport.<init>(BeanInfoSupport.java:126)
at kg.apc.jmeter.config.redis.RedisDataSetBeanInfo.<init>(RedisDataSetBeanInfo.java:69)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.sun.beans.finder.InstanceFinder.instantiate(Unknown Source)
at com.sun.beans.finder.InstanceFinder.find(Unknown Source)
at java.beans.Introspector.findExplicitBeanInfo(Unknown Source)
at java.beans.Introspector.<init>(Unknown Source)
at java.beans.Introspector.getBeanInfo(Unknown Source)
at org.apache.jmeter.testbeans.gui.TestBeanGUI.<init>(TestBeanGUI.java:168)
at org.apache.jmeter.gui.util.MenuFactory.initializeMenus(MenuFactory.java:488)
at org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:160)
at org.apache.jmeter.control.gui.TestPlanGui.createPopupMenu(TestPlanGui.java:93)
at org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode.java:156)
at org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:47)
at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

2016/10/03 16:50:22 INFO  - jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22 
2016/10/03 16:50:22 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 
2016/10/03 16:50:22 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 
2016/10/03 16:50:22 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 
2016/10/03 16:50:22 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 
2016/10/03 16:50:22 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 
2016/10/03 16:50:22 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser 
2016/10/03 16:50:23 INFO  - jorphan.exec.KeyToolUtils: keytool found at 'C:\Program Files\Java\jre1.8.0_101\bin\keytool' 
2016/10/03 16:50:23 INFO  - jmeter.protocol.http.proxy.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file C:\Users\7514197\Desktop\JMeter\bin\proxyserver.jks 
2016/10/03 16:50:23 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.mongodb.config.MongoSourceElement 
2016/10/03 16:50:23 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_qos] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_at_most_once] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_at_least_once] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_exactly_once] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_client_types] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_blocking_client] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_async_client] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_message_input_type] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_message_input_type_text] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_message_input_type_file] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_qos] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_at_most_once] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_at_least_once] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_exactly_once] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_client_types] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_blocking_client] 
2016/10/03 16:50:23 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [mqtt_async_client] 
2016/10/03 16:50:23 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.visualizers.DistributionGraphVisualizer 
2016/10/03 16:50:23 INFO  - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times 
2016/10/03 16:50:23 INFO  - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 
2016/10/03 16:50:23 INFO  - jmeter.samplers.SampleResult: sampleresult.useNanoTime=true 
2016/10/03 16:50:23 INFO  - jmeter.samplers.SampleResult: sampleresult.nanoThreadSleep=5000 
2016/10/03 16:50:23 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.visualizers.SplineVisualizer 

Where I must insert the config line in th jmeter.bat (and can you send an example of proxy config line) ?

Thanks


Andrey Pokhilko

unread,
Oct 3, 2016, 11:51:19 AM10/3/16
to jmeter-...@googlegroups.com

I just updated the website, there are now links to download ZIP packages from every plugin. Please use them if you don't want to struggle with Plugins Manager.

Andrey Pokhilko

feiji...@gmail.com

unread,
Nov 2, 2016, 10:59:47 AM11/2/16
to jmeter-plugins
Hi Andrey;
i don't see the links to download ZIP packages for each plugin. the Download link still redirect to the page of Plugin Manager download page. (https://jmeter-plugins.org/?search=jpgc-synthesis).

Andrey Pokhilko

unread,
Nov 2, 2016, 11:04:46 AM11/2/16
to jmeter-...@googlegroups.com

Did you try to use "Download Versions" link?


Andrey Pokhilko

Fei Jiang

unread,
Nov 2, 2016, 11:46:26 AM11/2/16
to jmeter-...@googlegroups.com
Cool, thank you for your quick response ! Now i got it.
I would like to ask how can I use an existing (or create a new) JMeter plugin to save the report results to my Oracle database. Or Jmeter-plugins website has a plugin with similar functionality. 

Thanks 
Fei 

 

To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugins+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "jmeter-plugins" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jmeter-plugins/1q4llR4ffew/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jmeter-plugins+unsubscribe@googlegroups.com.

Andrey Pokhilko

unread,
Nov 3, 2016, 4:52:34 AM11/3/16
to jmeter-...@googlegroups.com

I think you should look into BackendListener architecture in JMeter core. This is the best fit for what you want. They have existing implementations for InfluxDB, you can start from that as example.

Andrey Pokhilko

mcs...@gmail.com

unread,
Nov 8, 2016, 5:54:34 AM11/8/16
to jmeter-plugins
Hi, Andrey.
Are you have a news about this issue? I have it too.

четверг, 29 сентября 2016 г., 16:42:23 UTC+3 пользователь Andrey Pokhilko написал:

Andrey Pokhilko

unread,
Nov 9, 2016, 6:19:37 AM11/9/16
to jmeter-...@googlegroups.com

Hi,

For all these issues, there were created a workaround which allows to download individual plugin zip's from catalogue.

Andrey Pokhilko

mcs...@gmail.com

unread,
Nov 9, 2016, 8:06:15 AM11/9/16
to jmeter-plugins
I understand. but plugins have dependencies and I need searching them manually.

среда, 9 ноября 2016 г., 14:19:37 UTC+3 пользователь Andrey Pokhilko написал:
Message has been deleted

Bindu R Nair

unread,
Jul 26, 2022, 10:06:42 AM7/26/22
to jmeter-plugins
Hi, 
I ran into the below issue when starting JMeter Plugin Manager. I tried a few of the solutions available in the internet and nothing worked so far. I am not very technical. Any help with some detail instructions would help me solve the issue. 

Thank you.
-B

 Failed to download plugins repository.
One of the possible reasons is that you have proxy requirement for Internet connection.

Please read the instructions on this page: https://jmeter-plugins.org/wiki/PluginsManagerNetworkConfiguration/

Error's technical details: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target    at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:368)    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:311)    at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:306)    at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:654)    at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(CertificateMessage.java:473)    at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(CertificateMessage.java:369)    at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)    at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:478)    at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:456)    at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:198)    at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172)    at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1377)    at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1290)    at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:411)    at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:383)    at org.apache.http.conn.ssl.SSLSocketFactory.createLayeredSocket(SSLSocketFactory.java:570)    at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:554)    at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:415)    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)    at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:326)    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:605)    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:440)    at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835)    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)    at org.jmeterplugins.repository.JARSourceHTTP.execute(JARSourceHTTP.java:499)    at org.jmeterplugins.repository.JARSourceHTTP.execute(JARSourceHTTP.java:494)    at org.jmeterplugins.repository.JARSourceHTTP.getJSON(JARSourceHTTP.java:152)    at org.jmeterplugins.repository.JARSourceHTTP.getRepositories(JARSourceHTTP.java:276)    at org.jmeterplugins.repository.JARSourceHTTP.getRepo(JARSourceHTTP.java:304)    at org.jmeterplugins.repository.PluginManager.load(PluginManager.java:71)    at org.jmeterplugins.repository.PluginManagerDialog.loadPlugins(PluginManagerDialog.java:126)    at org.jmeterplugins.repository.PluginManagerDialog.componentShown(PluginManagerDialog.java:246)    at java.desktop/java.awt.Component.processComponentEvent(Component.java:6467)    at java.desktop/java.awt.Component.processEvent(Component.java:6415)    at java.desktop/java.awt.Container.processEvent(Container.java:2263)    at java.desktop/java.awt.Window.processEvent(Window.java:2049)    at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)    at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)    at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)    at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)    at java.base/java.security.AccessController.doPrivileged(Native Method)    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)    at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)    at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)    at java.base/java.security.AccessController.doPrivileged(Native Method)    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)    at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)    at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)    at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)    at java.base/java.security.AccessController.doPrivileged(Native Method)    at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)    at java.desktop/java.awt.Dialog.show(Dialog.java:1070)    at java.desktop/java.awt.Component.show(Component.java:1716)    at java.desktop/java.awt.Component.setVisible(Component.java:1663)    at java.desktop/java.awt.Window.setVisible(Window.java:1031)    at java.desktop/java.awt.Dialog.setVisible(Dialog.java:1005)    at org.jmeterplugins.repository.PluginManagerMenuItem.actionPerformed(PluginManagerMenuItem.java:105)    at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)    at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)    at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)    at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)    at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)    at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)    at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)    at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)    at java.desktop/java.awt.Component.processEvent(Component.java:6400)    at java.desktop/java.awt.Container.processEvent(Container.java:2263)    at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)    at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)    at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)    at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)    at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)    at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)    at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)    at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)    at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)    at java.base/java.security.AccessController.doPrivileged(Native Method)    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)    at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)    at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)    at java.base/java.security.AccessController.doPrivileged(Native Method)    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target    at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439)    at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306)    at java.base/sun.security.validator.Validator.validate(Validator.java:264)    at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313)    at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:222)    at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:129)    at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:638)    ... 98 more Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target    at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)    at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)    at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297)    at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434)    ... 104 more

DT

unread,
Jul 26, 2022, 10:34:29 AM7/26/22
to jmeter-plugins
It means that JMeter cannot securely connect to JMeter Plugins repository, most probably you're behind a proxy or gateway which is using MITM certificate allowing decrypting HTTPS traffic.

You can try setting the following JMeter user property:


it will instruct JMeter to use HTTP instead of HTTPS and the issue should go away.

Alternative option is adding the MITM certificate to the Java Truststore and pointing JMeter to use this truststore via javax.net.ssl.trustStore system property, this way Plugins Manager will "trust" the certificate and will be able to connect to the HTTPS backend.

More information:

Bee

unread,
Jul 28, 2022, 12:20:51 PM7/28/22
to jmeter-plugins
Appreciate your help DT.

 I added this piece of line  #  jpgc.repo.address=http://jmeter-plugins.org/repo/ to JMeter User Property file. Restarted JMeter and  received the same error as above. 
Unfortunately, I am on a very secure environment and cannot install MITM certificate.

Is there any alternate solution for this issue.?


DT

unread,
Jul 29, 2022, 2:56:09 AM7/29/22
to jmeter-plugins
Do you really have # symbol in the line? If yes - remove it as it's treated like a comment. Try passing the property via -J command-line argument like:

jmeter -Jjpgc.repo.address=http://jmeter-plugins.org/repo/

and it should pick the property up. However many plugins in the repo are using https in artifacts paths and unfortunately there is nothing you can do about it unless you're willing to set up your own repository.

I have already given you 2 solutions, the point is that the MITM certificate is already installed in your "very secure environment" which means that your company reads all incoming and outgoing requests to and from your machine including this conversation.

In order to be able to use JMeter Plugins Manager you need to install your company's certificate into Java truststore like it's described above.

It's always possible to install the plugins manually by downloading them from JMeter Plugins website and putting them into JMeter Classpath, an example process of the plugin installation is described i.e. in How to Do Kafka Testing With JMeter

Bee

unread,
Aug 26, 2022, 10:30:38 PM8/26/22
to jmeter-plugins
Sorry DT, I was out for a while. But I have to thank you a million, the solution worked. I removed the # sign (my bad). You are a savior!

Bee

unread,
Sep 16, 2022, 12:25:34 PM9/16/22
to jmeter-plugins
I am running into another issue with Jmeter plugin
Previously, I was unable to access the Plugin Manager, but after the solution put forth by DT to use

"You can try setting the following JMeter user property:

jpgc.repo.address=http://jmeter-plugins.org/repo/  "

I was able to open the Plugin Manager

I am behind a company firewall and the issue I am facing now is : On trying to add a Custom Thread group , I get the below message
"Failed to apply changes: Failed to download library json-lib"
The logs are as below, any help is really appreciate

2022-09-16 12:06:50,587 INFO o.j.r.JARSourceHTTP: Downloading: http://search.maven.org/remotecontent?filepath=net/sf/json-lib/json-lib/2.4/json-lib-2.4-jdk15.jar
2022-09-16 12:06:50,677 ERROR o.j.r.PluginManager: Failed to download json-lib

javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.ssl.Alert.createSSLException(Alert.java:131) ~[?:?]
    at sun.security.ssl.TransportContext.fatal(TransportContext.java:369) ~[?:?]
    at sun.security.ssl.TransportContext.fatal(TransportContext.java:312) ~[?:?]
    at sun.security.ssl.TransportContext.fatal(TransportContext.java:307) ~[?:?]
    at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:654) ~[?:?]
    at sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(CertificateMessage.java:473) ~[?:?]
    at sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(CertificateMessage.java:369) ~[?:?]
    at sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392) ~[?:?]
    at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:478) ~[?:?]
    at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:456) ~[?:?]
    at sun.security.ssl.TransportContext.dispatch(TransportContext.java:199) ~[?:?]
    at sun.security.ssl.SSLTransport.decode(SSLTransport.java:172) ~[?:?]
    at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1382) ~[?:?]
    at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1295) ~[?:?]
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:416) ~[?:?]
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:388) ~[?:?]
    at org.apache.http.conn.ssl.SSLSocketFactory.createLayeredSocket(SSLSocketFactory.java:570) ~[httpclient-4.5.12.jar:4.5.12]
    at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:554) ~[httpclient-4.5.12.jar:4.5.12]
    at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:415) ~[httpclient-4.5.12.jar:4.5.12]
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) ~[httpclient-4.5.12.jar:4.5.12]
    at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:326) ~[httpclient-4.5.12.jar:4.5.12]
    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:605) ~[httpclient-4.5.12.jar:4.5.12]
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:440) ~[httpclient-4.5.12.jar:4.5.12]
    at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835) ~[httpclient-4.5.12.jar:4.5.12]
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.12.jar:4.5.12]
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[httpclient-4.5.12.jar:4.5.12]
    at org.jmeterplugins.repository.JARSourceHTTP.execute(JARSourceHTTP.java:499) ~[jmeter-plugins-manager-1.7.jar:?]
    at org.jmeterplugins.repository.JARSourceHTTP.getJAR(JARSourceHTTP.java:389) ~[jmeter-plugins-manager-1.7.jar:?]
    at org.jmeterplugins.repository.PluginManager.applyChanges(PluginManager.java:167) [jmeter-plugins-manager-1.7.jar:?]
    at org.jmeterplugins.repository.PluginManagerDialog$4.run(PluginManagerDialog.java:212) [jmeter-plugins-manager-1.7.jar:?]

Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) ~[?:?]
    at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) ~[?:?]
    at sun.security.validator.Validator.validate(Validator.java:264) ~[?:?]
    at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) ~[?:?]
    at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:222) ~[?:?]
    at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:129) ~[?:?]
    at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:638) ~[?:?]
    ... 25 more

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) ~[?:?]
    at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) ~[?:?]
    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) ~[?:?]
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) ~[?:?]
    at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) ~[?:?]
    at sun.security.validator.Validator.validate(Validator.java:264) ~[?:?]
    at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:313) ~[?:?]
    at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:222) ~[?:?]
    at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:129) ~[?:?]
    at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:638) ~[?:?]
    ... 25 more

DT

unread,
Sep 16, 2022, 12:59:43 PM9/16/22
to jmeter-plugins
Try reading the answer till the end, it does contain instruction on how you can handle this.
Reply all
Reply to author
Forward
0 new messages