Jmeter(四十一) - 从入门到精通进阶篇 - Jmeter配置文件的刨根问底 - 下篇(详解教程)

1.简介

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

2.配置文件

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

Jmeter(四十一) - 从入门到精通进阶篇 - Jmeter配置文件的刨根问底 - 下篇(详解教程)_第1张图片

如果你想学习自动化测试,我这边给你推荐一套视频,这个视频可以说是B站播放全网第一的自动化测试教程,同时在线人数到达1000人,并且还有笔记可以领取及各路大神技术交流:798478386    

【已更新】B站讲的最详细的Python接口自动化测试实战教程全集(实战最新版)_哔哩哔哩_bilibili【已更新】B站讲的最详细的Python接口自动化测试实战教程全集(实战最新版)共计200条视频,包括:1、接口自动化之为什么要做接口自动化、2、接口自动化之request全局观、3、接口自动化之接口实战等,UP主更多精彩视频,请关注UP账号。icon-default.png?t=N7T8https://www.bilibili.com/video/BV17p4y1B77x/?spm_id_from=333.337 

上一篇中对其中最重要的是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)原文

# 配置此属性以更改报告标题
#jmeter.reportgenerator.report_title=Apache JMeter Dashboard
# 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)译文

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 60149jmeter.reportgenerator.overall_granularity=60000

(2)译文​​​​​​​

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

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

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

(1)原文​​​​​​​

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

(2)译文​​​​​​​

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

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

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

(1)原文​​​​​​​

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

(2)译文​​​​​​​

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

3.14响应时间分布图定义

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

(1)原文​​​​​​​

# Response Time Distribution graph definitionjmeter.reportgenerator.graph.responseTimeDistribution.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimeDistributionGraphConsumerjmeter.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.ResponseTimeDistributionGraphConsumerjmeter.reportgenerator.graph.responseTimeDistribution.title=Response Time Distributionjmeter.reportgenerator.graph.responseTimeDistribution.property.set_granularity=100

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

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

(1)原文

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

(2)译文

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

3.16时间VS线程图定义

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

(1)原文

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

(2)译文

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

3.17Bytes吞吐量随时间图定义

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

(1)原文

# Bytes Throughput Over Time graph definitionjmeter.reportgenerator.graph.bytesThroughputOverTime.classname=org.apache.jmeter.report.processor.graph.impl.BytesThroughputGraphConsumerjmeter.reportgenerator.graph.bytesThroughputOverTime.title=Bytes Throughput Over Timejmeter.reportgenerator.graph.bytesThroughputOverTime.exclude_controllers=truejmeter.reportgenerator.graph.bytesThroughputOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

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

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

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

(1)原文

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

(2)译文

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

3.19百分比响应时间

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

(1)原文

# Percentiles Response Times over timejmeter.reportgenerator.graph.responseTimePercentilesOverTime.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimePercentilesOverTimeGraphConsumerjmeter.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.ResponseTimePercentilesOverTimeGraphConsumerjmeter.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 Distributionjmeter.reportgenerator.graph.syntheticResponseTimeDistribution.classname=org.apache.jmeter.report.processor.graph.impl.SyntheticResponseTimeDistributionGraphConsumerjmeter.reportgenerator.graph.syntheticResponseTimeDistribution.title=Synthetic Response Times Distributionjmeter.reportgenerator.graph.syntheticResponseTimeDistribution.exclude_controllers=truejmeter.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.SyntheticResponseTimeDistributionGraphConsumerjmeter.reportgenerator.graph.syntheticResponseTimeDistribution.title=Synthetic Response Times Distributionjmeter.reportgenerator.graph.syntheticResponseTimeDistribution.exclude_controllers=truejmeter.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 definitionjmeter.reportgenerator.graph.latenciesOverTime.classname=org.apache.jmeter.report.processor.graph.impl.LatencyOverTimeGraphConsumerjmeter.reportgenerator.graph.latenciesOverTime.title=Latencies Over Timejmeter.reportgenerator.graph.latenciesOverTime.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

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

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

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

(1)原文

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

(2)译文

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

3.23响应时间与请求图定义

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

(1)原文

# Response Time Vs Request graph definitionjmeter.reportgenerator.graph.responseTimeVsRequest.classname=org.apache.jmeter.report.processor.graph.impl.ResponseTimeVSRequestGraphConsumerjmeter.reportgenerator.graph.responseTimeVsRequest.title=Response Time Vs Requestjmeter.reportgenerator.graph.responseTimeVsRequest.exclude_controllers=truejmeter.reportgenerator.graph.responseTimeVsRequest.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

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

3.24延迟Vs请求图定义

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

(1)原文

# Latencies Vs Request graph definitionjmeter.reportgenerator.graph.latencyVsRequest.classname=org.apache.jmeter.report.processor.graph.impl.LatencyVSRequestGraphConsumerjmeter.reportgenerator.graph.latencyVsRequest.title=Latencies Vs Requestjmeter.reportgenerator.graph.latencyVsRequest.exclude_controllers=truejmeter.reportgenerator.graph.latencyVsRequest.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

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

3.25按第二图定义命中

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

(1)原文

# Hits Per Second graph definitionjmeter.reportgenerator.graph.hitsPerSecond.classname=org.apache.jmeter.report.processor.graph.impl.HitsPerSecondGraphConsumerjmeter.reportgenerator.graph.hitsPerSecond.title=Hits Per Secondjmeter.reportgenerator.graph.hitsPerSecond.exclude_controllers=truejmeter.reportgenerator.graph.hitsPerSecond.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

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

3.26每秒图形定义的代码

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

(1)原文

# Codes Per Second graph definitionjmeter.reportgenerator.graph.codesPerSecond.classname=org.apache.jmeter.report.processor.graph.impl.CodesPerSecondGraphConsumerjmeter.reportgenerator.graph.codesPerSecond.title=Codes Per Secondjmeter.reportgenerator.graph.codesPerSecond.exclude_controllers=truejmeter.reportgenerator.graph.codesPerSecond.property.set_granularity=${jmeter.reportgenerator.overall_granularity}

(2)译文

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

3.27每秒总TPS图定义

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

(1)原文

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

(2)译文

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

3.28每秒图表定义的事务

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

(1)原文

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

(2)译文

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

3.29HTML导出

第32段——HTML导出

(1)原文

# HTML Exportjmeter.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=fals

你可能感兴趣的:(jmeter,开源,python,软件测试,知识图谱)