JMeter Learning -031-jmeter 3.0 POST Body Data Chinese garbled problem

Source: Internet
Author: User

Today, friends upgraded the version of JMeter from 2.13 to 3.0 before the interface script POST request body Chinese is not displayed correctly, as shown in the following:

Note that this is not garbled, but because the body Data is optimized in version 3.0, which causes the default font (CONSOLAS) to not support Chinese character display.

Solution: Modify the default display font in the configuration file {jmeter_home}\bin\jmeter.properties, to the system-supported Chinese font (you can go to the System Catalog Control Panel \ All Control Panel items \ Font view).

# The configuration entries for the default font settings are shown in bold #jsyntaxtextarea configuration#jsyntaxtextarea.wrapstyleword=true# jsyntaxtextarea.linewrap=true#jsyntaxtextarea.codefolding=true# Set 0 To disable undo feature in jsyntaxtextarea# jsyntaxtextarea.maxundos=50# change the font on the (jsyntax) Text areas. (Useful for HiDPI screens) #jsyntaxtextarea. Font.family=hack#jsyntaxtextarea. font.size=14

You can cancel the comment directly, or change the configuration item to the following, restart JMeter.

jsyntaxtextarea.font.family= Song Body

After modifying the configuration file restart JMeter, when you enter Chinese in Body Data, it is displayed correctly, as shown in:

At this point, This article successfully concluded, I hope this article can give beginners JMeter you a reference.

Finally, very grateful to the pro-stop, I hope this article can be pro helpful. Warmly welcome the kiss to discuss together and progress together. Thank you so much! ^_^

Save

Save

Save

JMeter Learning -031-jmeter 3.0 POST Body Data Chinese garbled problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.