如何更改 JMeter 的字体大小? [英] How to change font size for JMeter?
问题描述
我使用的是 2.13 版本的 JMeter.
我想增加 JMeter 的字体大小.
我尝试了以下问题
如何更改 JMeter test plan
部分的字体大小.
- 为了获得
src
文件夹,您需要单独下载JMeter源代码,即从此处.解压文件夹并进行所需更改 - 您将需要 Apache Ant 来构建 JMeter.安装它并确保将 %ANT_HOME%/bin 文件夹添加到您的系统 PATH 变量中
使用接下来的 2 个命令构建 JMeter:
ant download_jars
蚂蚁包
现在您应该可以从 apache-jmeter-2.13/bin 文件夹中使用增加的字体运行 JMeter,例如:
jmeter -Djmeter.dialog.font=20 .....
或者你想要永久更改字体大小,将下一行添加到 system.properties 文件(位于 JMeter 的bin"文件夹中)
jmeter.dialog.font=20
需要重新启动 JMeter 才能获取该属性.有关 JMeter 属性使用的更多信息,请参阅 Apache JMeter 属性自定义指南.
<小时>
如果您信任我和 Bitbucket 托管,您可以冒险并通过上述更改获得编译的二进制文件
https://bitbucket.org/glinius/jmeter-font-增加/下载/ApacheJMeter_core.jar
并将其放到 JMeter 安装的/lib/ext 文件夹中,但是不建议下载来源不明的二进制文件(您的 PC 可能成为僵尸网络或某人的比特币矿场的成员),因此最好执行以上 4 个步骤.
I am using JMeter with 2.13 version.
I want to increase font size for JMeter.
I have tried following question jmeter test plan navigation pane font size. However for 2.13 version doesn't have src
folder.
Here is a picture, how it looks now:
How to change font size for JMeter test plan
section.
- In order to get
src
folder you need to download JMeter source code separately, i.e. from here. Unpack the folder and make required changes - You will need Apache Ant to build JMeter. Install it and make sure that %ANT_HOME%/bin folder is added to your system PATH variable
Build JMeter using next 2 commands:
ant download_jars
ant package
Now your should be able to run JMeter with increased font from apache-jmeter-2.13/bin folder like:
jmeter -Djmeter.dialog.font=20 .....
or ir you want to make font size change permanent add the next line to system.properties file (located in JMeter's "bin" folder)
jmeter.dialog.font=20
JMeter restart will be required to pick the property up. See Apache JMeter Properties Customization Guide for more information regarding JMeter properties usage.
If you trust me and Bitbucket hosting you can take the risk and get compiled binary with aforementioned change from
https://bitbucket.org/glinius/jmeter-font-increase/downloads/ApacheJMeter_core.jar
and dropping it to /lib/ext folder of your JMeter installation, however downloading binaries of unknown origin is not recommended (your PC can become a member of a botnet or someone's bitcoin mining farm) so it's better to take above 4 steps.
这篇关于如何更改 JMeter 的字体大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!