Hi,
In the source code the default protocol to get the list of plugins is http =>
http://jmeter-plugins.org================================
public class PluginManager { |
private static final Logger log = LoggingManager.getLoggerForClass(); |
private int timeout = 1000; // don't delay JMeter startup for more than 1 second |
protected HttpClient httpClient = new DefaultHttpClient(); |
private final static String address = JMeterUtils.getPropDefault("jpgc.repo.address", System.getProperty("jpgc.repo.address", "http://jmeter-plugins.org")); |
================================But now this http protocol is replace with httpS, i defined the
jpgc.repo.address with httpS://jmeter-plugins.orgI add proxy configuration for http and http
S but i have a error, because this plugin use only http configuration not httpS configuration
=================================
String proxyHost = System.getProperty("http.proxyHost", ""); |
if (!proxyHost.isEmpty()) { |
int proxyPort = Integer.parseInt(System.getProperty("http.proxyPort", "-1")); |
HttpParams params = httpClient.getParams(); |
HttpHost proxy = new HttpHost(proxyHost, proxyPort); |
params.setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy); |
}
=================================
So here my configuration in the jmeter.bat
set JVM_ARGS="-Dhtttp.proxyHost=xx.xx.xx.xx -Dhttp.proxyPort=4088 -Dhtttps.proxyHost=xx.xx.xx.xx -Dhttps.proxyPort=4088 -Djpgc.repo.address=
https://jmeter-plugins.org"
Error :
2016/07/22 11:07:38 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)
Same error
http://jmeter-plugins.orgset JVM_ARGS="-Dhtttp.proxyHost=xx.xx.xx.xx -Dhttp.proxyPort=4088
-Dhtttps.proxyHost=xx.xx.xx.xx -Dhttps.proxyPort=4088
-Djpgc.repo.address=
http://jmeter-plugins.org"
Regards.
Vincent D.