51Testing软件测试论坛

标题: jmeter-4.0 程序里安装插件提示一下错误? [打印本页]

作者: 测试积点老人    时间: 2018-10-22 10:12
标题: jmeter-4.0 程序里安装插件提示一下错误?
jmeter-4.0 程序里安装插件BlazeMeter Uploader、Command-Line Graph Plotting Tool等
已经将cmdrunner-2.2.jar文件已经下载到E:\apache-jmeter-4.0\apache-jmeter-4.0\lib\ext;报如下错误:
  1. 2018-06-20 18:01:40,532 INFO o.j.r.JARSourceHTTP: Found cached repo

  2. 2018-06-20 18:01:40,620 INFO o.j.r.PluginManager: Plugins Status: [jpgc-graphs-basic=0.0.0-STOCK, jpgc-sense=0.0.0-STOCK, jpgc-cmd=0.0.0-STOCK, jpgc-graphs-composite=0.0.0-STOCK, jpgc-csl=0.0.0-STOCK, jpgc-functions=0.0.0-STOCK, jpgc-dummy=0.0.0-STOCK, jpgc-ffw=0.0.0-STOCK, jpgc-fifo=0.0.0-STOCK, jpgc-mergeresults=0.0.0-STOCK, jpgc-perfmon=0.0.0-STOCK, jpgc-plugins-manager=1.0.2, jpgc-synthesis=0.0.0-STOCK, jpgc-tst=0.0.0-STOCK, websocket-sampler=1.0.2-SNAPSHOT, jmeter-core=4.0, jmeter-ftp=4.0, jmeter-http=4.0, jmeter-jdbc=4.0, jmeter-jms=4.0, jmeter-junit=4.0, jmeter-java=4.0, jmeter-ldap=4.0, jmeter-mail=4.0, jmeter-mongodb=4.0, jmeter-native=4.0, jmeter-tcp=4.0, jmeter-components=4.0]
  3. 2018-06-20 18:01:40,622 INFO o.j.r.PluginManagerMenuItem: Plugins Manager has upgrades: [jpgc-graphs-basic, jpgc-sense, jpgc-cmd, jpgc-graphs-composite, jpgc-csl, jpgc-functions, jpgc-dummy, jpgc-ffw, jpgc-fifo, jpgc-mergeresults, jpgc-perfmon, jpgc-plugins-manager, jpgc-synthesis, jpgc-tst]
  4. 2018-06-20 18:01:41,774 WARN o.a.j.g.u.MenuFactory: Configuration error, probably corrupt or missing third party library(jar)? Could not create class: kg.apc.jmeter.reporters.LoadosophiaUploaderGui.
  5. java.lang.NoClassDefFoundError: org/apache/commons/httpclient/methods/RequestEntity
  6.     at kg.apc.jmeter.reporters.LoadosophiaUploaderGui.init(LoadosophiaUploaderGui.java:126) ~[JMeterPlugins-Standard.jar:?]
  7.     at kg.apc.jmeter.reporters.LoadosophiaUploaderGui.<init>(LoadosophiaUploaderGui.java:32) ~[JMeterPlugins-Standard.jar:?]
  8.     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_91]
  9.     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_91]
  10.     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_91]
  11.     at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_91]
  12.     at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_91]
  13.     at org.apache.jmeter.gui.util.MenuFactory.getGUIComponent(MenuFactory.java:174) ~[ApacheJMeter_core.jar:4.0 r1823414]
  14.     at org.apache.jmeter.gui.util.MenuFactory.initializeMenus(MenuFactory.java:141) ~[ApacheJMeter_core.jar:4.0 r1823414]
  15.     at org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:106) ~[ApacheJMeter_core.jar:4.0 r1823414]
  16.     at org.apache.jmeter.control.gui.TestPlanGui.createPopupMenu(TestPlanGui.java:92) ~[ApacheJMeter_core.jar:4.0 r1823414]
  17.     at org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode.java:155) ~[ApacheJMeter_core.jar:4.0 r1823414]
  18.     at org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:46) ~[ApacheJMeter_core.jar:4.0 r1823414]
  19.     at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:88) ~[ApacheJMeter_core.jar:4.0 r1823414]
  20.     at org.apache.jmeter.gui.action.ActionRouter.lambda$actionPerformed$0(ActionRouter.java:70) ~[ApacheJMeter_core.jar:4.0 r1823414]
  21.     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [?:1.8.0_91]
  22.     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) [?:1.8.0_91]
  23.     at java.awt.EventQueue.access$500(EventQueue.java:97) [?:1.8.0_91]
  24.     at java.awt.EventQueue$3.run(EventQueue.java:709) [?:1.8.0_91]
  25.     at java.awt.EventQueue$3.run(EventQueue.java:703) [?:1.8.0_91]
  26.     at java.security.AccessController.doPrivileged(Native Method) [?:1.8.0_91]
  27.     at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) [?:1.8.0_91]
  28.     at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) [?:1.8.0_91]
  29.     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) [?:1.8.0_91]
  30.     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_91]
  31.     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_91]
  32.     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_91]
  33.     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_91]
  34.     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_91]
  35. Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.methods.RequestEntity
  36.     at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_91]
  37.     at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_91]
  38.     at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_91]
  39.     ... 29 more
  40. 2018-06-20 18:01:42,610 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
  41. 2018-06-20 18:01:42,610 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
  42. 2018-06-20 18:01:42,610 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
  43. 2018-06-20 18:01:42,610 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
  44. 2018-06-20 18:01:42,610 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
  45. 2018-06-20 18:01:42,610 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
  46. 2018-06-20 18:01:43,286 INFO o.a.j.e.KeyToolUtils: keytool found at 'keytool'
  47. 2018-06-20 18:01:43,287 INFO o.a.j.p.h.p.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file E:\apache-jmeter-4.0\apache-jmeter-4.0\bin\proxyserver.jks
  48. 2018-06-20 18:01:43,451 INFO o.a.j.s.FileServer: Default base='E:\apache-jmeter-4.0\apache-jmeter-4.0\bin'
  49. 2018-06-20 18:01:43,916 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times
  50. 2018-06-20 18:01:43,916 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
  51. 2018-06-20 18:01:43,916 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true
  52. 2018-06-20 18:01:43,916 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000
  53. 2018-06-20 18:01:52,881 INFO o.a.j.u.JMeterUtils: Setting Locale to zh_CN
  54. 2018-06-20 18:01:58,392 WARN o.j.r.PluginsList: Cannot cached image https://raw.githubusercontent.com/Blazemeter/jmeter-bzm-plugins/master/directory-listing/directoryListing.png
  55. 2018-06-20 18:02:01,259 INFO o.j.r.JARSourceHTTP: Downloading: https://search.maven.org/remotecontent?filepath=kg/apc/cmdrunner/2.2/cmdrunner-2.2.jar
  56. 2018-06-20 18:02:02,464 ERROR o.j.r.PluginManager: Failed to download cmdrunner>=2.2
  57. java.io.IOException: 文件名、目录名或卷标语法不正确。
  58.     at java.io.WinNTFileSystem.createFileExclusively(Native Method) ~[?:1.8.0_91]
  59.     at java.io.File.createTempFile(File.java:2024) ~[?:1.8.0_91]
  60.     at java.io.File.createTempFile(File.java:2070) ~[?:1.8.0_91]
  61.     at org.jmeterplugins.repository.JARSourceHTTP.getJAR(JARSourceHTTP.java:395) ~[jmeter-plugins-manager-1.0.2.jar:?]
  62.     at org.jmeterplugins.repository.PluginManager.applyChanges(PluginManager.java:167) [jmeter-plugins-manager-1.0.2.jar:?]
  63.     at org.jmeterplugins.repository.PluginManagerDialog$4.run(PluginManagerDialog.java:226) [jmeter-plugins-manager-1.0.2.jar:?]
复制代码



作者: qqq911    时间: 2018-10-23 10:39
清下缓存
作者: jingzizx    时间: 2018-10-23 11:29
是不是缺少库
作者: 梦想家    时间: 2018-10-23 16:00
缺少库
作者: libingyu135    时间: 2018-10-23 16:43
缺少库了?
作者: yupanpan714    时间: 2019-1-23 15:10
缺少什么库?





欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2