美文网首页
Jmeter 3.0 生成图表报告(一)

Jmeter 3.0 生成图表报告(一)

作者: 风灬落 | 来源:发表于2016-06-12 17:55 被阅读0次

    1. 编辑bin目录下的user.properties文件,配置报告设置如下:

    #---------------------------------------------------------------------------

    # Reporting configuration

    #---------------------------------------------------------------------------

    # If you want to debug reporting, uncomment this line

    log_level.jmeter.report=DEBUG

    # Configure this property to change the report title

    jmeter.reportgenerator.report_title=Apache JMeter Dashboard

    # Change this parameter if you want to change the granularity of over time graphs.

    jmeter.reportgenerator.overall_granularity=60000

    # Change this parameter if you want to change the granularity of Response time distribution

    # Set to 500 ms by default

    jmeter.reportgenerator.graph.responseTimeDistribution.property.set_granularity=500

    # Change this parameter if you want to keep only some samples.

    # Regular Expression which Indicates which samples to keep for graphs and statistics generation.

    # Empty value means no filtering

    jmeter.reportgenerator.sample_filter=

    # Change this parameter if you want to override the APDEX satisfaction threshold.

    jmeter.reportgenerator.apdex_satisfied_threshold=500

    # Change this parameter if you want to override the APDEX tolerance threshold.

    jmeter.reportgenerator.apdex_tolerated_threshold=1500

    # 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=false

    # Sets the destination directory for generated html pages, it is better to change it for every generation

    # This will override the value set through -o command line option

    jmeter.reportgenerator.exporter.html.property.output_dir=/tmp/test-report

    2.在 cmd里执行如下命令:

    相关文章

      网友评论

          本文标题:Jmeter 3.0 生成图表报告(一)

          本文链接:https://www.haomeiwen.com/subject/ywnedttx.html