无法在JMeter中打开插件管理器

Unable to open Plugins Manager in JMeter

我正在尝试打开JMeter插件管理器,但由于代理限制,我遇到了异常。我尝试使用插件管理器页面中提到的方法打开插件管理器的方法,但是从命令提示符处收到以下错误:

'JVM'不被识别为内部或外部命令,
可操作程序或批处理文件。

还有其他方法可以配置它,以便我可以访问插件管理器吗?


我已经找到解决方案。我在JMeter的system.properties文件中添加了以下标记:

1
2
3
4
5
6
http.proxyHost=IP address or hostname of your proxy server
https.proxyHost=IP address or hostname of your proxy server
http.proxyPort=port of your proxy server
https.proxyPort=port of your proxy server
http.proxyDomain=Domain for you User and password
https.proxyDomain=Domain for you User and password

有关属性参考,我找到了以下链接:
https://jmeter.apache.org/usermanual/properties_reference.html#proxy_config

转到Domain标记的主题19.20。

此后,我在命令提示符下启动了jmeter,并为用户名和参数-a输入了密码-u。我现在可以打开插件管理器。


根据Plugins Manager网络配置->在代理后面使用

Plugins Manager respects JMeter's proxy settings.

因此将下一行添加到system.properties文件中(位于JMeter安装的" bin "文件夹中):

1
2
3
4
http.proxyHost=IP address or hostname of your proxy server
https.proxyHost=IP address or hostname of your proxy server
http.proxyPort=port of your proxy server
https.proxyPort=port of your proxy server

完成重新启动JMeter来完成更改后-您应该能够通过公司代理使用HTTP请求采样器,并且Plugins Manager也应该能够与插件存储库建立连接。

更多信息:

  • Java网络和代理
  • Apache JMeter属性定制指南