专栏名称: 51Testing软件测试网
51Testing软件测试网,人气最旺的软件测试技术门户,提供软件测试社区交流,软件测试博客,人才服务,测试沙龙,测试杂志,测试资料下载等全方位信息服务,是国内最专业的软件测试就业培训、企业服务供应商...
目录
相关文章推荐
51好读  ›  专栏  ›  51Testing软件测试网

5步完成Jmeter可视化html报告的相关配置及实现!

51Testing软件测试网  · 公众号  · 测试  · 2019-10-10 17:30

正文

请到「今天看啥」查看全文


# 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







请到「今天看啥」查看全文