Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Jmeter BeanShell Chinese characters garbled

Shulou Source: shulou.com Published: 2022-06-03 05:58:54 09月24日 Update

This article comes from my own blog: www.wangerbao.com

In the process of performance testing, scripts need to be written in BeanShell to assist in the testing, but there is a disadvantage that BeanShell Chinese characters are garbled, resulting in a very poor user experience. Find a solution online: find the bin/jmeter.properties file and search "jsyntaxtextarea.font.family" to find the following information:

# jsyntaxtextarea.font.family=Hack#jsyntaxtextarea.font.size=18

Before, the default is to comment out with #, remove #, the second of which is to set the font size, after the modification, you need to restart jmeter, and the setting will take effect.

Tags: Testing garbled Chinese characters bad information methods blog size font that is performance files comments users shortcomings scripts processes parts experience search Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Shulou Tech Info MySQL Docker NVidia