正文
# Indicates which graph series are filtered (regular expression)
# In the below example we filter on Search and Order samples
# Note that the end of the pattern should always include (-success|-failure)?
# TransactionsPerSecondGraphConsumer suffixes transactions with "-success" or "-failure" depending# on the result
#jmeter.reportgenerator.exporter.html.series_filter=(Search|Order)(-success|-failure)?
# Indicates whether only controller samples are displayed on graphs that support it.jmeter.reportgenerator.exporter.html.show_controllers_only=falsejmeter.reportgenerator.exporter.html.property.output_dir=C:\Users\cloudist\Downloads\apache-jmeter-3.0\apache-jmeter-3.0\bin\temp
最后output_dir的指向路径根据自己的jmeter文件指向一般设置成/tem/test-report不过在使用命令生成可是话报告时的-o命定会覆盖这个设置你最后使用命令的指向是哪里可视化报告就会生成在那个文件夹下。
3、在jmeter\bin\jmeter.properties文件下进行如下配置在jmeter\bin\jmeter.properties文件下找到下面没有#号的选项,将#号删除。
#---------------------------------------------------------------------------#
Results file configuration
#---------------------------------------------------------------------------#
This section helps determine how result data will be saved.
# The commented out values are the defaults.
# legitimate values: xml, csv, db. Only xml and csv are currently supported.
#jmeter.save.saveservice.output_format=csv
# true when field should be saved; false otherwise
# assertion_results_failure_message only affects CSV outputjmeter.save.saveservice.assertion_results_failure_message=true
#
# legitimate values: none, first, all
#jmeter.save.saveservice.assertion_results=none