在 csv 中保存聚合报告响应时出错
error while saving aggregate report response in csv
虽然 运行 下面的命令我收到 log4j 错误。我需要以 CSV 格式保存汇总报告输出
PS C:\JMeter\bin> java -jar "C:\JMeter\lib\cmdrunner-2.0.jar" --tool Reporter --generate-csv "D:\Automation\Aggt_rpt.csv" --input-jtl
"D:\Automation\output.jtl" --plugin-type AggregateReport
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.
May 15, 2018 6:55:23 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
您可以忽略 log4j2
错误消息,因为 JMeter 3.2 there was a change in JMeter logging subsystem 没有被所有插件采用。
关于第二个 WARNING
- 你也可以忽略它。或者你可以 re-launch the command as Administrator
虽然 运行 下面的命令我收到 log4j 错误。我需要以 CSV 格式保存汇总报告输出
PS C:\JMeter\bin> java -jar "C:\JMeter\lib\cmdrunner-2.0.jar" --tool Reporter --generate-csv "D:\Automation\Aggt_rpt.csv" --input-jtl
"D:\Automation\output.jtl" --plugin-type AggregateReport
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.
May 15, 2018 6:55:23 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
您可以忽略 log4j2
错误消息,因为 JMeter 3.2 there was a change in JMeter logging subsystem 没有被所有插件采用。
关于第二个 WARNING
- 你也可以忽略它。或者你可以 re-launch the command as Administrator