当前位置: 首页 > 知识库问答 >
问题:

打开Jmeter插件管理器时出错(jmeter-plugins-manager-0.16)

蒲坚
2023-03-14

我在Jmete的lib/ext文件夹中添加了插件管理器jar(jmetam-plugins-manager-0.16)。当我尝试通过选项打开插件管理器时,我一直收到以下错误消息。有人能帮忙吗?

我正在使用代理设置。

我尝试使用Jmeter.bat-H my-proxy-server-P portnumber通过命令提示符运行jeter,但这也不起作用。

我也尝试过使用命令提示符JVM_ARGS=“-Dhttps.proxyhost=myproxy.com -Dhttps.proxyPort=8080” jmeter\bin\jmeter.bat但这个命令给我带来了错误。

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/][1]  Error's technical details:
java.net.ConnectException: Connection refused: connect
    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 org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:542)
    at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:414)
    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:610)
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445)
    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:376)
    at org.jmeterplugins.repository.JARSourceHTTP.execute(JARSourceHTTP.java:371)
    at org.jmeterplugins.repository.JARSourceHTTP.getJSON(JARSourceHTTP.java:121)
    at org.jmeterplugins.repository.JARSourceHTTP.getRepositories(JARSourceHTTP.java:172)
    at org.jmeterplugins.repository.JARSourceHTTP.getRepo(JARSourceHTTP.java:199)
    at org.jmeterplugins.repository.PluginManager.load(PluginManager.java:69)
    at org.jmeterplugins.repository.PluginManagerDialog.loadPlugins(PluginManagerDialog.java:140)
    at org.jmeterplugins.repository.PluginManagerDialog.componentShown(PluginManagerDialog.java:260)
    at java.awt.Component.processComponentEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Window.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(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.pumpEventsForFilter(Unknown Source)
    at java.awt.WaitDispatchSupport$2.run(Unknown Source)
    at java.awt.WaitDispatchSupport$4.run(Unknown Source)
    at java.awt.WaitDispatchSupport$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.WaitDispatchSupport.enter(Unknown Source)
    at java.awt.Dialog.show(Unknown Source)
    at java.awt.Component.show(Unknown Source)
    at java.awt.Component.setVisible(Unknown Source)
    at java.awt.Window.setVisible(Unknown Source)
    at java.awt.Dialog.setVisible(Unknown Source)
    at org.jmeterplugins.repository.PluginManagerMenuItem.actionPerformed(PluginManagerMenuItem.java:100)
    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)

共有2个答案

薄瑞
2023-03-14

我也有同样的问题,我在关闭所有终端窗口并双击/usr/local/Cellar/jmeter/5 . 4 . 3/bin/jmeter重新打开jmeter后修复了这个问题

林和煦
2023-03-14

当您的本地代理服务器不允许您访问https://jmeter-plugins.org/repo/.时,您将收到此错误消息。为了解决此问题,您需要提供对https://jmeter-plugins.org/repo/的访问权限,然后重新启动系统。它对我有用。

 类似资料:
  • 我试图打开JMeter插件管理器,但由于代理限制,我得到了异常。我尝试了使用插件管理器页面中提到的方法打开插件管理器的方法,但从命令提示符中得到以下错误: “JVM”未被识别为内部或外部命令、可操作程序或批处理文件。 是否有其他方法可以配置它以便访问插件管理器?

  • 我刚下载了Java和JMeter,当我尝试打开。jmx文件,我一直收到以下错误消息: “从以下位置加载XML时出现问题:'C:\Users\blank\file_name.jmx'。原因:CannotResolveClassException:com.tag.jmeter.ext.config.PropertyReader” 我不确定会是什么问题。我安装了插件管理器,并试图打开文件后,这确实提示我

  • 在本章中,我们将研究Joomla中的Plugin Manager 。 它可以帮助您启用和禁用Joomla插件。 这为现有网站添加了独特的功能。 Joomla插件经理 以下是设置或编辑现有Joomla插件的简单步骤 - Step (1) - 单击Joomla管理员中的Extension → Plugin Manager ,如下所示。 Step (2) - 点击Plugin Manager ,将显示现

  • 我已经用Jmeter记录了一个应用程序。它显示了一个自动生成的“Http 授权管理器”,其中用户名显示为“${Auth_Login}”,密码显示为 ${Auth_password}。这里出现了一个弹出窗口,我们在应用程序中提供OTP。请找到下面的截图:在这里输入图像描述 运行脚本时,它显示为:在此处输入图像描述 请帮帮忙。

  • 错误是 我将下面的librairies导入到JMeter中: Apache POI 3.17 Apache POI-OOXML 3.17 Apache Commons IO 2.6 OOXML模式1.3 XMLBeans-2.3.0.jar Commons-Collections4-4.1.jar 提前多谢 致以最诚挚的问候 更新1

  • 我正在使用Jmeter Maven插件运行Jmeter测试。运行测试后,我想生成简单的报告,指出测试是否通过/失败。我指的是 https://stackoverflow.com/questions/4669467/jmeter-how-to-create-summary-report-from-jtl-file?lq=1 用于生成报告。我添加了一个shell脚本,用于从jmeter jtl结果文件