Jmeter CSV parameter bands Character Processing

Question 1: request parameters have Chinese characters, the increase in pressure measurement measurement windows is no problem, directly upload parameter files to be found on the linux server parameters out garbled, linux on backstage view files when distributed pressure measurement is garbled

Approach:

      Initially thought because of inconsistent windows and linux machine code format, the windows are Chinese, English on linux, change the character set on linux directly from the command 

   export LC_ALL="zh_cn.UTF-8"
    export LANG="zh_cn.UTF-8"

  After pressure was found to have distributed starting out it is still garbled, after searching online and found that when we save csv files on windows, usually the default encoding is ANSI format, not utf-8 format, request header encoding format set to UTF- 8, the distortion, open csv file format by way of txt, then Save as, select encoding UTF-8, the upload server for pressure measurement on linux,

  

 

 Problem 2: After the unified file format UTF-8 was found to have a back pressure in the first parameter taken always being given linux

              Found discovery opens the file, the file is encoded as UTF-8-BOM format

 

After selecting BOM no save format UTF-8, measured normal pressure uploaded

 

Guess you like

Origin www.cnblogs.com/newtom/p/11611194.html