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
Using Jmeter 3.2
Options > Zoom In
Zoomed some panes but not others. However modifying apache-jmeter-3.2\bin\jmeter.properties works. Tested with Win 10.
#jmeter.hidpi.mode=false
# To enable pseudo-hidpi mode change to true
jmeter.hidpi.mode=true
# HiDPI scale factor
#jmeter.hidpi.scale.factor=1.0
# Suggested value for HiDPI
jmeter.hidpi.scale.factor=2.0
src
folder you need to download JMeter source code separately, i.e. from here. Unpack the folder and make required changes 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 4.0 update :
Before any update of Jmeter setting
After the update of Jmeter setting
JMeter 4.0 update using Windows 10 :
1. Go here : C:\apache-jmeter-4.0\bin
2. Open to edit this : jmeter.properties
3. Over here you need to update all required fields for you
This is what I changed and it looks good to me :
jmeter.loggerpanel.display=true
jmeter.loggerpanel.enable_when_closed=true
jmeter.loggerpanel.maxlength=1000
jmeter.gui.refresh_period=500
jmeter.hidpi.mode=true
jmeter.hidpi.scale.factor=2.0
jmeter.toolbar.icons=org/apache/jmeter/images/toolbar/icons-toolbar.properties
jmeter.toolbar=new,open,close,save,save_as_testplan,|,cut,copy,paste,|,expand,collapse,toggle,|,test_start,test_stop,test_shutdown,|,test_start_remote_all,test_stop_remote_all,test_shutdown_remote_all,|,test_clear,test_clear_all,|,search,search_reset,|,function_helper,help
jmeter.toolbar.icons.size=48x48
jmeter.icons=org/apache/jmeter/images/icon_1.properties
jmeter.tree.icons.size=48x48
save_automatically_before_run=true
onload.expandtree=true
jsyntaxtextarea.wrapstyleword=true
jsyntaxtextarea.linewrap=true
jsyntaxtextarea.codefolding=true
jsyntaxtextarea.maxundos=50
jsyntaxtextarea.font.family=Hack
jsyntaxtextarea.font.size=28
loggerpanel.usejsyntaxtext=true
view.results.tree.max_size=10485760
please refer : https://jmeter.apache.org/usermanual/hints_and_tips.html
In Jmeter 3.1
and 3.2
, uncomment below lines in jmeter.properties
file, and restart the Jmeter
. It worked and the font size increased for all the icons and components
jmeter.hidpi.mode=true
jmeter.hidpi.scale.factor=2.0
Since JMeter 3.2, use Menu:
Options > Zoom In
Options > Zoom Out
See this:
JMeter 3.0 (released 2 weeks ago) has improved regarding the icons and tables but does not yet support full HiDPI mode:
See this particular bug:
To set properties, see:
Now for fonts, you can use Swing mechanism. To do that, add to jmeter.sh
or jmeter.bat
the JVM System property:
-Dswing.plaf.metal.controlFont=Dialog-20
And ensure you use the Cross Platform LAF