1、Jmeter安裝目錄/bin/jmeter.properties中sampleresult.default.encoding默認爲ISO-8859-1,將參數修改爲
sampleresult.default.encoding=utf-8 即可
同時注意將註釋符號#去掉,否則不會生效
2、如果還有亂碼,可能是因爲請求中post的數據中有中文,發post請求時,請求頁面的Content encoding設置爲utf8
- 頂
- 0
- 踩
1、Jmeter安裝目錄/bin/jmeter.properties中sampleresult.default.encoding默認爲ISO-8859-1,將參數修改爲
sampleresult.default.encoding=utf-8 即可
同時注意將註釋符號#去掉,否則不會生效
2、如果還有亂碼,可能是因爲請求中post的數據中有中文,發post請求時,請求頁面的Content encoding設置爲utf8