get请求一般不会存在乱码问题,乱码主要是post请求才会出现。

1、处理响应数据的乱码:

第一种:添加后置处理器beanshell:prev.setDataEncoding("utf-8");

第二种:在配置文件jmeter.properties中,sampleresult.default.encoding=UTF-8,后重启Jmeter

2、处理请求的乱码问题:

         乱码问题

 3、有的地方可用通过添加HTTP信息管理器这种方式修改编码:

请求头中添加:"Content-Type":"application/json;charset=utf-8"

       

 

相关文章:

  • 2021-11-09
  • 2021-09-30
  • 2021-05-22
  • 2021-04-30
  • 2021-09-19
猜你喜欢
相关资源
相似解决方案