Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

JMeter returns garbled code in Chinese

Shulou Source: shulou.com Published: 2022-06-03 05:10:32 11月24日 Update

JMeter returns garbled code in Chinese

Result tree response data returned garbled in Chinese

In fact, there are several ways:

Set it in the character set of thread group-> http request

Set in the http message management header

3. If the above methods have not been solved, please open the installation directory

Apache-jmeter-3.1/bin/jmeter.properties file

Find # sampleresult.default.encoding=ISO-8859-1

Remove the comments and change them to the following:

Sampleresult.default.encoding=UTF-8

Restart Jmeter and try again to solve the problem of garbled characters in the corresponding data.

If it is helpful to you, please follow my official account test engineer's way of growing up.

Tags: Garbled Chinese data methods public characters character sets engineering engineers files fruit trees comments messages directories threads problems middleware help testing management Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Apple vpn Microsoft Shulou Technology