如何更改JMeter的字体大小? [英] How to change font size for JMeter?

查看:645
本文介绍了如何更改JMeter的字体大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用2.13版本的JMeter.
我想增加JMeter的字体大小.

I am using JMeter with 2.13 version.
I want to increase font size for JMeter.

我尝试了以下问题 jmeter测试计划导航窗格的字体大小.但是,对于2.13版,没有src文件夹.

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:

如何更改JMeter test plan部分的字体大小.

推荐答案

  1. 为了获取src文件夹,您需要单独下载JMeter源代码,即从此处.解压缩文件夹并进行所需的更改
  2. 您将需要 Apache Ant 来构建JMeter.安装它并确保将%ANT_HOME%/bin文件夹添加到系统PATH变量中
  3. 使用接下来的2条命令构建JMeter:

  1. 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
  2. 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
  3. Build JMeter using next 2 commands:

  • ant download_jars
  • ant package
  • ant download_jars
  • ant package

现在,您应该能够从apache-jmeter-2.13/bin文件夹中以增加的字体运行JMeter,例如:

Now your should be able to run JMeter with increased font from apache-jmeter-2.13/bin folder like:

jmeter -Djmeter.dialog.font=20 .....

或者您要永久更改字体大小的ir,请将下一行添加到 system.properties 文件(位于JMeter的"bin"文件夹中)

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才能拾取该属性.有关JMeter属性使用的更多信息,请参见 Apache JMeter属性自定义指南.

JMeter restart will be required to pick the property up. See Apache JMeter Properties Customization Guide for more information regarding JMeter properties usage.


如果您信任我和Bitbucket托管,则可以承担风险,并从


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

并将其拖放到JMeter安装的/lib/ext文件夹中,但是不建议下载来源未知的二进制文件(您的PC可以成为僵尸网络的成员或某人的比特币采矿场),因此最好执行上述4个步骤.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆