Help Center/ CodeArts PerfTest/ FAQs/ Using JMeter Projects/ Why Does CodeArts PerfTest Return Garbled Characters When the Content-Type Request Header Is Set to UTF-8 in JMeter?
Updated on 2025-07-15 GMT+08:00

Why Does CodeArts PerfTest Return Garbled Characters When the Content-Type Request Header Is Set to UTF-8 in JMeter?

When JMeter is used to set the content-type request header to UTF-8, the request is returned properly. However, when CodeArts PerfTest is used, garbled characters are returned. This occurs because the UTF-8 encoding format needs to be specified in content-type. Delete undesired request headers, for example, Accept-Encoding: gzip.

Set content-type as follows.

Figure 1 Setting content-type