Jmeter环境变量配置以及字体外观等相关设置

您所在的位置:网站首页 jmeter外观设置 Jmeter环境变量配置以及字体外观等相关设置

Jmeter环境变量配置以及字体外观等相关设置

2023-04-02 16:35| 来源: 网络整理| 查看: 265

一、环境变量配置:

1. JMETER_HOME :jmeter安装的路径(浏览目录:定位到jmeter-zip包的解压目录)

2. CLASSPATH: 变量值后新增:

;%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;

二、jmeter界面永久设置为中文

找到jmeter下的bin目录,打开jmeter.properties 文件。

language=zh_CN,去掉前面的#,以后打开就是中文界面了。

三、jmeter更改字体大小(来自官网说明)

链接:https://jmeter.apache.org/usermanual/hints_and_tips.html

JMeter with a HiDPI screen on Linux or Windows

22.4 JMeter with a HiDPI screen on Linux or Windows

The HiDPI mode isn't currently support by the Swing API in Java on Linux, MacOS or Windows. Therefore JMeter can be very hard to read with a HiDPI screen (little icons and chars).

You can improve the JMeter's display on HiDPI screen by changing some properties:

jmeter.hidpi.mode

set to true to activate a 'pseudo'-hidpi mode allowing to increase size of some UI elements

jmeter.hidpi.scale.factor

set to 2.0 to scale the size of some UI elements

jmeter.toolbar.icons.size

with these values: 22x22 (default size), 32x32 or 48x48 (Suggested value for HiDPI)

jmeter.tree.icons.size

with these values: 19x19 (default size), 24x24, 32x32 (Suggested value for HiDPI) or 48x48

Additionally you can increase the font size of the text areas in some elements like JSR223 sampler by changing theses properties:

jsyntaxtextarea.font.family

set to Hack to activate and to change the font and their size

jsyntaxtextarea.font.size

set to a greater value, like 28 (Suggested value for HiDPI)

This is not a full HiDPI support and only affects

JMeter tree nodes

Icons in the toolbar

Tables content

Font size into text area

我的设置如下:

jmeter.hidpi.mode = true

jmeter.hidpi.scale.factor= 2.0

jmeter.toolbar.icons.size= 32x32

jmeter.tree.icons.size= 32x32

jsyntaxtextarea.font.family= 微软雅黑

jsyntaxtextarea.font.size= 25



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3