2017-11-29 6 views
0

Jmeter의 lib/ext 폴더에 플러그인 관리자 jar (jmeter-plugins-manager-0.16)를 추가했습니다. 옵션을 통해 Plugin Manager를 열려고 할 때 오류 메시지 아래 계속 표시됩니다. 누군가 제발 도와 줄 수 있어요.Jmeter Plugin Manager (jmeter-plugins-manager-0.16)를 여는 중 오류가 발생했습니다.

프록시 설정을 사용하고 있습니다.

Jmeter.bat -H my-proxy-server -P portnumber를 사용하여 명령 프롬프트를 통해 jmeter를 실행하려고했지만이 방법도 효과가 없습니다.

또한 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) 
+0

프록시를 확인하기 위해 브라우저를 사용하여 https://jmeter-plugins.org/repo/에 접속하려 했습니까? 실제로 'myproxy.com'이 아닌 로컬 프록시 설정을 사용했다고 가정합니다 ...? –

+0

브라우저를 통해 [link] (jmeter-plugins.org/repo)에 액세스 할 수 없습니다. 로컬 프록시 설정을 사용하고 있는데, 다음과 같이 제공합니다 : [{ "id": "blazemeter-debugger", "name": "BlazeMeter 단계별 디버거", "description": " ","screenshotUrl ":"https : \/\/raw.githubusercontent.com \/Blazemeter \/jmeter-debugger \/마스터 \/src \/main \/resources \/com \/JMeter 스크립트의 단계별 디버깅 " blazemeter \/jmeter \/debugger \ /logo.png ","helpUrl ":"https : \/\/github.com \/BlazeMeter \/jmeter-debugger ","vendor ":"BlazeMeter.com ","markerClass ":"com.blazemeter.jmeter.debugger.engine.Debugg –

+0

이것은 ** 당신이 ** repo에 접근 할 수 있음을 의미합니다 .-) 그래서 프록시가 작동합니다. –

답변

0

당신은 로컬 프록시 서버는 https://jmeter-plugins.org/repo/에 액세스하는 것을 허용하지 않습니다이 오류 메시지가 표시됩니다. 이 문제를 해결하려면 https://jmeter-plugins.org/repo/에 대한 액세스 권한을 부여한 다음 시스템을 다시 시작해야합니다. 그것은 나를 위해 일했습니다.

+0

당신이 그것을 해결해 주셨습니다! 단계를 되짚어보고 어떤 것이 작동한다는 것을 알기 시작한 지점에서 시작하여 거기에서부터 작업하십시오. –

+0

@ Pankaj : jmeter 플러그인 URL에 어떻게 접근했는지 알려주시겠습니까? –

관련 문제