1.简介

为什么宏哥要对Jmeter的配置文件进行一下讲解了,因为有的童鞋或者小伙伴在测试中遇到一些需要修改配置文件的问题不是很清楚也不是很懂,就算修改了也是模模糊糊的。更有甚者觉得那是禁地神圣不可轻犯不敢触碰不敢修改,害怕修改错了Jmeter运行不了了。听宏哥的大胆修改大不了再重新安装一个新的Jmeter,或者你有做备份的好习惯,在修改前备份好以后大胆修改,修改错了直接使用备份文件恢复过来就可以。

2.配置文件

在%JMETER_HOME%bin(or $JMETER_HOME/bin)目录下搜索框中输入:properties 会发现存在多个配置文件,如下图所示:

宏哥上一篇中对其中最重要的是user.properties是Jmeter核心配置项文件,进行了讲解和说明,下面对其它常用的一些配置文件的设置进行总结与说明.按计划今天宏哥将要讲解reportgenerator.properties文件。

3.reportgenerator.properties

这个文件不是很大,宏哥将其内容全部进行翻译了一下,我们下边看看其中到底含有那些配置项。

3.1文件说明

(一)第1段——文件标题

(1)原文

################################################################################
# Apache JMeter Property file for Report Generator
################################################################################

(2)译文

################################################################################

# Apache JMeter属性文件用于报表生成器

################################################################################

(二)第2段——文件许可证说明

(1)原文

## Licensed to the Apache Software Foundation (ASF) under one or more
## contributor license agreements. See the NOTICE file distributed with
## this work for additional information regarding copyright ownership.
## The ASF licenses this file to You under the Apache License, Version 2.0
## (the "License"); you may not use this file except in compliance with
## the License. You may obtain a copy of the License at
## 
## http://www.apache.org/licenses/LICENSE-2.0
## 
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.

(2)译文:

## Apache软件基金会(ASF)下一个或多个许可
## 贡献者许可协议。请参阅
## 此作品用于获取关于版权所有权的附加信息。
## ASF根据Apache 2.0 版本许可证协议将此文件授权给您。
## (“许可证”);除非符合以下条件,否则不能使用此文件
## 许可证。您可以在
## 
## http://www.apache.org/licenses/LICENSE-2.0
## 
## 除非适用法律要求或书面同意,软件
## 根据在“AS IS”BASIS上分发的许可证基础上发布的,
## 无任何明示或暗示的保证或条件。
## 有关管理权限的特定语言,请参阅许可证
## 《许可证》规定的限制。

(三)第3段——文件修改警告说明

(1)原文

################################################################################
#
# THIS FILE SHOULD NOT BE MODIFIED
#
# This avoids having to re-apply the modifications when upgrading JMeter
# Instead only user.properties should be modified:
# 1/ copy the property you want to modify to user.properties from here
# 2/ Change its value there
#
################################################################################

(2) 译文

################################################################################
#
# 此文件不应修改
#
# 这避免了升级JMeter时必须重新应用修改
# 相反,应该只修改user.properties:
# (1) 从此处将要修改的属性复制到user.properties
# (2) 在那里更改字段值
#
################################################################################

3.2报告配置

(一)第4段——标题

(1) 原文

#---------------------------------------------------------------------------
# Reporting configuration
#---------------------------------------------------------------------------

(2) 译文

#---------------------------------------------------------------------------
# 报告配置
#---------------------------------------------------------------------------

3.3APDEX 配置

Ⅰ.第5段——满意度阈值【satisfaction threshold】

(1)原文

# Sets the satisfaction threshold for the APDEX calculation (in milliseconds).
#jmeter.reportgenerator.apdex_satisfied_threshold=500

(2) 译文

# 设置APDEX计算的满意度阈值(以毫秒为单位)。
#jmeter.reportgenerator.apdex_satisfied_threshold=500

Ⅱ.第6段——公差阈值【tolerance threshold】

(1)原文

# Sets the tolerance threshold for the APDEX calculation (in milliseconds).
#jmeter.reportgenerator.apdex_tolerated_threshold=1500

(2)译文

# 设置APDEX计算的公差阈值(以毫秒为单位)。
#jmeter.reportgenerator.apdex_tolerated_threshold=1500

Ⅲ.第7段——为特定样本设置满意度和公差阈值

(1)原文

# Sets satisfaction and tolerance threshold to specific samples.
# Use sample names or regular expression. 
# Format is : sample_name:satisfaction|tolerance[;]
# Notice the colon between sample name and values, the pipe between thresholds and the 
# semicolon at the end to separate different samples. Don't forget to escape after
# semicolon to span multiple lines. Ex : 
#jmeter.reportgenerator.apdex_per_transaction=sample(\d+):1000|2000,
# samples12:3000|4000;
# scenar01-12:5000|6000 

(2)译文

# 为特定样本设置满意度和公差阈值。
# 使用示例名称或正则表达式。
# 格式为:sample_name:satisfaction|tolerance[;]
# 注意示例名称和值之间的冒号,阈值和 
# 最后用分号分隔不同的样本。别忘了之后要运行
# 分号以跨越多行。 例子 : 
#jmeter.reportgenerator.apdex_per_transaction=sample(\d+):1000|2000,
# samples12:3000|4000;
# scenar01-12:5000|6000 

3.4导出事务报告

第8段——用于选择默认情况下将导出哪些事务

(1)原文

# This property is used by menu item "Export transactions for report"
# It is used to select which transactions by default will be exported
#jmeter.reportgenerator.exported_transactions_pattern=[a-zA-Z0-9_\-{}\$\.]*[-_][0-9]*

(2)译文

# 此属性用于菜单项“导出事务报告”
# 它用于选择默认情况下将导出哪些事务
#jmeter.reportgenerator.exported_transactions_pattern=[a-zA-Z0-9_\-{}\$\.]*[-_][0-9]*

3.5指示图形和统计信息生成保留哪些样本

第9段——指示图形和统计信息生成保留哪些样本

(1)原文

# Regular Expression which Indicates which samples to keep for graphs and statistics generation.
# Empty value means no filtering
#jmeter.reportgenerator.sample_filter=

(2)译文

# 正则表达式,它指示图形和统计信息生成保留哪些样本。
# 空值意味着没有过滤
#jmeter.reportgenerator.sample_filter=

3.6临时目录

第10段——设置生成过程使用的临时目录

(1)原文

# Sets the temporary directory used by the generation process if it needs file I/O operations.
#jmeter.reportgenerator.temp_dir=temp

(2)译文

# 如果需要设置生成过程使用的临时目录,则需要文件I/O操作。
#jmeter.reportgenerator.temp_dir=temp

3.7百分位数计算所使用的滑动窗口

第11段——设置百分位数计算所使用的滑动窗口的大小

(1)原文

# Sets the size of the sliding window used by percentile evaluation.
# Caution : higher value provides a better accuracy but needs more memory.
#jmeter.reportgenerator.statistic_window = 20000

(2)译文

# 设置百分位数计算所使用的滑动窗口的大小。
# 注意:更高的值提供更好的精度,但是需要更多的内存。
#jmeter.reportgenerator.statistic_window = 20000

3.8报告标题

第12段——更改报告标题

(1)原文

# Configure this property to change the report title
#jmeter.reportgenerator.report_title=Apache JMeter Dashboard

(2)译文

# 配置此属性以更改报告标题
#jmeter.reportgenerator.report_title=Apache JMeter Dashboard

3.9默认格式

第12段——默认格式

(1)原文

# Default format
#jmeter.reportgenerator.date_format=yyyyMMddHHmmss

(2) 译文

# 默认格式
#jmeter.reportgenerator.date_format=yyyyMMddHHmmss

3.10根据日期范围生成报告

第13段——根据日期范围生成报告

(1)原文

# Used to generate a report based on a date range
# If jmeter.save.saveservice.timestamp_format does not contain year
# then use 1970 as year
# Date range start date as per format declared in jmeter.reportgenerator.date_format 
#jmeter.reportgenerator.start_date=
# Date range end date as per format declared in jmeter.reportgenerator.date_format
#jmeter.reportgenerator.end_date=

(2)译文

# 用于根据日期范围生成报告
# 如果 jmeter.save.saveservice.timestamp_format does 不包含“年”
# 则使用1970年作为年份
# 日期范围开始日期,按照 jmeter.reportgenerator.date_format 中声明的格式
#jmeter.reportgenerator.start_date=
# 日期范围结束日期,按照 jmeter.reportgenerator.date_format 中声明的格式
#jmeter.reportgenerator.end_date=

3.11为随时间变化的图表定义总体粒度

第14段——为随时间变化的图表定义总体粒度

(1)原文

# Defines the overall granularity for over time graphs
# Granularity must be higher than 1000 (1second) otherwise Throughput graphs will be incorrect
# see Bug 60149
jmeter.reportgenerator.overall_granularity=60000

(2)译文

# 为随时间变化的图表定义总体粒度
# 粒度必须大于1000(1秒),否则吞吐量图将不正确
# 参见Bug 60149
jmeter.reportgenerator.overall_granularity=60000

3.12将事务控制器排除在分析之外

第15段——将事务控制器排除在分析之外

(1)原文

# Exclude transaction controller from analysis
# true by default
jmeter.reportgenerator.exclude_tc_from_top5_errors_by_sampler=true

(2)译文

# 将事务控制器排除在分析之外
# 默认情况下为true
jmeter.reportgenerator.exclude_tc_from_top5_errors_by_sampler=true

3.13响应时间百分比图表定义

第16段——响应时间百分比图表定义

(1)原文

# Response Time Percentiles graph definition
jmeter.reportgenerator.graph.responseTimePercentiles.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimePercentilesGraphConsumer
jmeter.reportgenerator.graph.responseTimePercentiles.title=Response Time Percentiles

(2)译文

# 响应时间百分比图表定义
jmeter.reportgenerator.graph.responseTimePercentiles.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimePercentilesGraphConsumer
jmeter.reportgenerator.graph.responseTimePercentiles.title=Response Time Percentiles

3.14响应时间分布图定义

第17段——响应时间分布图定义

(1)原文

# Response Time Distribution graph definition
jmeter.reportgenerator.graph.responseTimeDistribution.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimeDistributionGraphConsumer
jmeter.reportgenerator.graph.responseTimeDistribution.title=Response Time Distribution
jmeter.reportgenerator.graph.responseTimeDistribution.property.set_granularity=100

(2)译文

# 响应时间分布图定义
jmeter.reportgenerator.graph.responseTimeDistribution.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimeDistributionGraphConsumer
jmeter.reportgenerator.graph.responseTimeDistribution.title=Response Time Distribution
jmeter.reportgenerator.graph.responseTimeDistribution.property.set_granularity=100

3.15随时间变化的活动线程图定义

第18段——随时间变化的活动线程图定义

(1)原文

# Active Threads Over Time graph definition
jmeter.reportgenerator.graph.activeThreadsOverTime.classname=org.apache.jmeter.report.processor.graph.impl.ActiveThreadsGraphConsumer
jmeter.reportgenerator.graph.activeThreadsOverTime.title=Active Threads Over Time
jmeter.reportgenerator.graph.activeThreadsOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

# 随时间变化的活动线程图定义
jmeter.reportgenerator.graph.activeThreadsOverTime.classname=org.apache.jmeter.report.processor.graph.impl.ActiveThreadsGraphConsumer
jmeter.reportgenerator.graph.activeThreadsOverTime.title=Active Threads Over Time
jmeter.reportgenerator.graph.activeThreadsOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

3.16时间VS线程图定义

第19段——时间VS线程图定义

(1)原文

# Time VS Threads graph definition
jmeter.reportgenerator.graph.timeVsThreads.classname=org.apache.jmeter.report.processor.graph.impl.TimeVSThreadGraphConsumer
jmeter.reportgenerator.graph.timeVsThreads.title=Time VS Threads

(2)译文

# 时间VS线程图定义
jmeter.reportgenerator.graph.timeVsThreads.classname=org.apache.jmeter.report.processor.graph.impl.TimeVSThreadGraphConsumer
jmeter.reportgenerator.graph.timeVsThreads.title=Time VS Threads

3.17Bytes吞吐量随时间图定义

第20段——Bytes吞吐量随时间图定义

(1)原文

# Bytes Throughput Over Time graph definition
jmeter.reportgenerator.graph.bytesThroughputOverTime.classname=org.apache.jmeter.report.processor.graph.impl.BytesThroughputGraphConsumer
jmeter.reportgenerator.graph.bytesThroughputOverTime.title=Bytes Throughput Over Time
jmeter.reportgenerator.graph.bytesThroughputOverTime.exclude_controllers=true
jmeter.reportgenerator.graph.bytesThroughputOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

# Bytes吞吐量随时间图定义
jmeter.reportgenerator.graph.bytesThroughputOverTime.classname=org.apache.jmeter.report.processor.graph.impl.BytesThroughputGraphConsumer
jmeter.reportgenerator.graph.bytesThroughputOverTime.title=Bytes Throughput Over Time
jmeter.reportgenerator.graph.bytesThroughputOverTime.exclude_controllers=true
jmeter.reportgenerator.graph.bytesThroughputOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

3.18响应时间随时间变化的图表定义

第21段——响应时间随时间变化的图表定义

(1)原文

# Response Time Over Time graph definition
jmeter.reportgenerator.graph.responseTimesOverTime.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimeOverTimeGraphConsumer
jmeter.reportgenerator.graph.responseTimesOverTime.title=Response Time Over Time
jmeter.reportgenerator.graph.responseTimesOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

# 响应时间随时间变化的图表定义
jmeter.reportgenerator.graph.responseTimesOverTime.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimeOverTimeGraphConsumer
jmeter.reportgenerator.graph.responseTimesOverTime.title=Response Time Over Time
jmeter.reportgenerator.graph.responseTimesOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

3.19百分比响应时间

第22段——百分比响应时间

(1)原文

# Percentiles Response Times over time
jmeter.reportgenerator.graph.responseTimePercentilesOverTime.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimePercentilesOverTimeGraphConsumer
jmeter.reportgenerator.graph.responseTimePercentilesOverTime.title=Response Time Percentiles Over Time (successful requests only)
jmeter.reportgenerator.graph.responseTimePercentilesOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

# 百分比响应时间
jmeter.reportgenerator.graph.responseTimePercentilesOverTime.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimePercentilesOverTimeGraphConsumer
jmeter.reportgenerator.graph.responseTimePercentilesOverTime.title=Response Time Percentiles Over Time (successful requests only)
jmeter.reportgenerator.graph.responseTimePercentilesOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

3.20综合响应时间分布

第23段——综合响应时间分布

(1)原文

# Synthetic Response Time Distribution
jmeter.reportgenerator.graph.syntheticResponseTimeDistribution.classname=org.apache.jmeter.report.processor.graph.impl.SyntheticResponseTimeDistributionGraphConsumer
jmeter.reportgenerator.graph.syntheticResponseTimeDistribution.title=Synthetic Response Times Distribution
jmeter.reportgenerator.graph.syntheticResponseTimeDistribution.exclude_controllers=true
jmeter.reportgenerator.graph.syntheticResponseTimeDistribution.property.set_satisfied_threshold=${jmeter.reportgenerator.apdex_satisfied_threshold}
jmeter.reportgenerator.graph.syntheticResponseTimeDistribution.property.set_tolerated_threshold=${jmeter.reportgenerator.apdex_tolerated_threshold}

(2)译文

# 综合响应时间分布
jmeter.reportgenerator.graph.syntheticResponseTimeDistribution.classname=org.apache.jmeter.report.processor.graph.impl.SyntheticResponseTimeDistributionGraphConsumer
jmeter.reportgenerator.graph.syntheticResponseTimeDistribution.title=Synthetic Response Times Distribution
jmeter.reportgenerator.graph.syntheticResponseTimeDistribution.exclude_controllers=true
jmeter.reportgenerator.graph.syntheticResponseTimeDistribution.property.set_satisfied_threshold=${jmeter.reportgenerator.apdex_satisfied_threshold}
jmeter.reportgenerator.graph.syntheticResponseTimeDistribution.property.set_tolerated_threshold=${jmeter.reportgenerator.apdex_tolerated_threshold}

3.21时间延迟图定义

第24段——时间延迟图定义

(1)原文

# Latencies Over Time graph definition
jmeter.reportgenerator.graph.latenciesOverTime.classname=org.apache.jmeter.report.processor.graph.impl.LatencyOverTimeGraphConsumer
jmeter.reportgenerator.graph.latenciesOverTime.title=Latencies Over Time
jmeter.reportgenerator.graph.latenciesOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

# 时间延迟图定义
jmeter.reportgenerator.graph.latenciesOverTime.classname=org.apache.jmeter.report.processor.graph.impl.LatencyOverTimeGraphConsumer
jmeter.reportgenerator.graph.latenciesOverTime.title=Latencies Over Time
jmeter.reportgenerator.graph.latenciesOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

3.22连接随时间变化的图表定义

第25段——连接随时间变化的图表定义

(1)原文

# Connect Time Over Time graph definition
jmeter.reportgenerator.graph.connectTimeOverTime.classname=org.apache.jmeter.report.processor.graph.impl.ConnectTimeOverTimeGraphConsumer
jmeter.reportgenerator.graph.connectTimeOverTime.title=Connect Time Over Time
jmeter.reportgenerator.graph.connectTimeOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

# 连接随时间变化的图表定义
jmeter.reportgenerator.graph.connectTimeOverTime.classname=org.apache.jmeter.report.processor.graph.impl.ConnectTimeOverTimeGraphConsumer
jmeter.reportgenerator.graph.connectTimeOverTime.title=Connect Time Over Time
jmeter.reportgenerator.graph.connectTimeOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

3.23响应时间与请求图定义

第26段——响应时间与请求图定义

(1)原文

# Response Time Vs Request graph definition
jmeter.reportgenerator.graph.responseTimeVsRequest.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimeVSRequestGraphConsumer
jmeter.reportgenerator.graph.responseTimeVsRequest.title=Response Time Vs Request
jmeter.reportgenerator.graph.responseTimeVsRequest.exclude_controllers=true
jmeter.reportgenerator.graph.responseTimeVsRequest.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

# 响应时间与请求图定义
jmeter.reportgenerator.graph.responseTimeVsRequest.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimeVSRequestGraphConsumer
jmeter.reportgenerator.graph.responseTimeVsRequest.title=Response Time Vs Request
jmeter.reportgenerator.graph.responseTimeVsRequest.exclude_controllers=true
jmeter.reportgenerator.graph.responseTimeVsRequest.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

3.24延迟Vs请求图定义

第27段——延迟Vs请求图定义

(1)原文

# Latencies Vs Request graph definition
jmeter.reportgenerator.graph.latencyVsRequest.classname=org.apache.jmeter.report.processor.graph.impl.LatencyVSRequestGraphConsumer
jmeter.reportgenerator.graph.latencyVsRequest.title=Latencies Vs Request
jmeter.reportgenerator.graph.latencyVsRequest.exclude_controllers=true
jmeter.reportgenerator.graph.latencyVsRequest.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

# 延迟Vs请求图定义
jmeter.reportgenerator.graph.latencyVsRequest.classname=org.apache.jmeter.report.processor.graph.impl.LatencyVSRequestGraphConsumer
jmeter.reportgenerator.graph.latencyVsRequest.title=Latencies Vs Request
jmeter.reportgenerator.graph.latencyVsRequest.exclude_controllers=true
jmeter.reportgenerator.graph.latencyVsRequest.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

3.25按第二图定义命中

第28段——按第二图定义命中

(1)原文

# Hits Per Second graph definition
jmeter.reportgenerator.graph.hitsPerSecond.classname=org.apache.jmeter.report.processor.graph.impl.HitsPerSecondGraphConsumer
jmeter.reportgenerator.graph.hitsPerSecond.title=Hits Per Second
jmeter.reportgenerator.graph.hitsPerSecond.exclude_controllers=true
jmeter.reportgenerator.graph.hitsPerSecond.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

# 按第二图定义命中
jmeter.reportgenerator.graph.hitsPerSecond.classname=org.apache.jmeter.report.processor.graph.impl.HitsPerSecondGraphConsumer
jmeter.reportgenerator.graph.hitsPerSecond.title=Hits Per Second
jmeter.reportgenerator.graph.hitsPerSecond.exclude_controllers=true
jmeter.reportgenerator.graph.hitsPerSecond.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

3.26每秒图形定义的代码

第29段——每秒图形定义的代码

(1)原文

# Codes Per Second graph definition
jmeter.reportgenerator.graph.codesPerSecond.classname=org.apache.jmeter.report.processor.graph.impl.CodesPerSecondGraphConsumer
jmeter.reportgenerator.graph.codesPerSecond.title=Codes Per Second
jmeter.reportgenerator.graph.codesPerSecond.exclude_controllers=true
jmeter.reportgenerator.graph.codesPerSecond.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

# 每秒图形定义的代码
jmeter.reportgenerator.graph.codesPerSecond.classname=org.apache.jmeter.report.processor.graph.impl.CodesPerSecondGraphConsumer
jmeter.reportgenerator.graph.codesPerSecond.title=Codes Per Second
jmeter.reportgenerator.graph.codesPerSecond.exclude_controllers=true
jmeter.reportgenerator.graph.codesPerSecond.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

3.27每秒总TPS图定义

第30段——每秒总TPS图定义

(1)原文

# Total TPS Per Second graph definition
jmeter.reportgenerator.graph.totalTPS.classname=org.apache.jmeter.report.processor.graph.impl.TotalTPSGraphConsumer
jmeter.reportgenerator.graph.totalTPS.title=Total Transactions Per Second
jmeter.reportgenerator.graph.totalTPS.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

# 每秒总TPS图定义
jmeter.reportgenerator.graph.totalTPS.classname=org.apache.jmeter.report.processor.graph.impl.TotalTPSGraphConsumer
jmeter.reportgenerator.graph.totalTPS.title=Total Transactions Per Second
jmeter.reportgenerator.graph.totalTPS.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

3.28每秒图表定义的事务

第31段——每秒图表定义的事务

(1)原文

# Transactions Per Second graph definition
jmeter.reportgenerator.graph.transactionsPerSecond.classname=org.apache.jmeter.report.processor.graph.impl.TransactionsPerSecondGraphConsumer
jmeter.reportgenerator.graph.transactionsPerSecond.title=Transactions Per Second
jmeter.reportgenerator.graph.transactionsPerSecond.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

# 每秒图表定义的事务
jmeter.reportgenerator.graph.transactionsPerSecond.classname=org.apache.jmeter.report.processor.graph.impl.TransactionsPerSecondGraphConsumer
jmeter.reportgenerator.graph.transactionsPerSecond.title=Transactions Per Second
jmeter.reportgenerator.graph.transactionsPerSecond.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

3.29HTML导出

第32段——HTML导出

(1)原文

# HTML Export
jmeter.reportgenerator.exporter.html.classname=org.apache.jmeter.report.dashboard.HtmlTemplateExporter

(2)译文

# HTML导出
jmeter.reportgenerator.exporter.html.classname=org.apache.jmeter.report.dashboard.HtmlTemplateExporter

3.30设置生成html页面的模板化文件的源目录。

第33段——设置生成html页面的模板化文件的源目录。

(1)原文

# Sets the source directory of templated files from which the html pages are generated.
#jmeter.reportgenerator.exporter.html.property.template_dir=report-template

(2)译文

# 设置生成html页面的模板化文件的源目录。
#jmeter.reportgenerator.exporter.html.property.template_dir=report-template

3.31为生成的html页面设置目标目录

第34段——为生成的html页面设置目标目录

(1)原文

# Sets the destination directory for generated html pages.
# This will be overridden by the command line option -o 
#jmeter.reportgenerator.exporter.html.property.output_dir=report-output

(2)译文

# 为生成的html页面设置目标目录。
# 这将被命令行选项-o覆盖 
#jmeter.reportgenerator.exporter.html.property.output_dir=report-output

3.32指示在显示中过滤了哪些图系列

第35段——指示在显示中过滤了哪些图系列

(1)原文

# Regular Expression which Indicates which graph series are filtered in display
# Empty value means no filtering
#jmeter.reportgenerator.exporter.html.series_filter=

(2)译文

# 正则表达式,指示在显示中过滤了哪些图系列
# 空值意味着没有过滤
#jmeter.reportgenerator.exporter.html.series_filter=

3.33指示序列筛选器是否仅应用于示例序列或所有系列

第36段——指示序列筛选器是否仅应用于示例序列或所有系列

(1)原文

# Indicates whether series filter apply only on sample series or to all series
# setting this to false can lead to empty graphs if series_filter does not
# contain required series
#jmeter.reportgenerator.exporter.html.filters_only_sample_series=true

(2)译文

# 指示序列筛选器是否仅应用于示例序列或所有系列。
# 如果series_filter不设置为false,则会导致空图
# 包含所需系列
#jmeter.reportgenerator.exporter.html.filters_only_sample_series=true

3.34指示是否仅在支持该控制器的图形上显示控制器示例。

第37段——指示是否仅在支持该控制器的图形上显示控制器示例。

(1)原文

# Indicates whether only controller samples are displayed on graphs that support it.
#jmeter.reportgenerator.exporter.html.show_controllers_only=false

(2)译文

# 指示是否仅在支持该控制器的图形上显示控制器示例。
#jmeter.reportgenerator.exporter.html.show_controllers_only=false

 4.小结

 好了,这个文件相对比较大,今天就分享和讲解到这里吧,感谢您耐心的阅读,希望您你能喜欢。

 

您的肯定就是我进步的动力。如果你感觉还不错,就请鼓励一下吧!记得随手点波  推荐  不要忘记哦!!!

别忘了点 推荐 留下您来过的痕迹

 

内容来源于网络如有侵权请私信删除

文章来源: 博客园

原文链接: https://www.cnblogs.com/du-hong/p/14569620.html

你还没有登录,请先登录注册
  • 还没有人评论,欢迎说说您的想法!