gpt4 book ai didi

java - 将 .jtl 报告转换为 jp@gc 图表

转载 作者:行者123 更新时间:2023-12-01 09:55:23 25 4
gpt4 key购买 nike

我在这个位置打开了一个cmd窗口:C:\...\apache-jmeter-2.13\lib\ext 并运行此命令 C:\...\apache-jmeter-2.13\lib\ext>java -jar cmdrunner-2.0.jar --tool Reporter --generate-png test.png --input-jtl C:\...\...\Desktop\jmeter\..\reports\
jpGCgraphs.jtl --插件类型 ResponseTimesOverTimeGui --宽度 800 --高度 600

错误:

ERROR: java.lang.IllegalArgumentException: Tool class Reporter not found
*** Problem's technical details go below ***
Home directory was detected as: E:\dumps\apache-jmeter-2.13\lib\ext
Exception in thread "main" java.lang.IllegalArgumentException: Tool class Reporter not found
at kg.apc.cmdtools.PluginsCMD.getToolInstance(PluginsCMD.java:123)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:53)
at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at kg.apc.cmd.UniversalRunner.main(UniversalRunner.java:105)

我在这里指的是解决方案:http://jmeter.512774.n5.nabble.com/Unable-to-execute-JMeterPluginsCMD-Command-Line-Tool-td5681583.html

我在文件夹中有两个必需的 jar:cmdrunner-2.0.jarJMeterPlugins-Extras.jar

最佳答案

确保E:\dumps\apache-jmeter-2.13\lib\ext 文件夹中有jmeter-plugins-standard.jar

关于java - 将 .jtl 报告转换为 jp@gc 图表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37281362/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com