Jmeter response body response garbled solution

Method 1
Step 1 : Add BanShell PostProcessor to the thread group
Step 2: Write the code in the Script in BanShell PostProcessor: prev.setDataEncoding("utf-8");

Method 2
Step 1: Open the configuration file of jmeter: jmeter.properties (under the bin directory of the jmeter installation directory)
Step 2: Search: #sampleresult.default.encoding=ISO-8859-1
Step 3: Find it Change the configuration to: sampleresult.default.encoding=utf-8 (Note: delete the # in front)
Step 4: Restart jmeter

Guess you like

Origin blog.csdn.net/weixin_44123630/article/details/114749741