在Jmeter运行http请求时报错:

{"timestamp":"2019-11-12T02:39:28.949+0000","status":415,"error":"Unsupported Media Type","message":"Content type 'text/plain;charset=UTF-8' not supported","path":"/v1/getUserList"}

解决办法:将Content-Type 设置为application/json

线程组 -->添加->配置元件->Http信息头管理器

{"timestamp":"2019-11-12T02:39:28.949+0000","status":415,"error":"Unsupported Media Type","message":"Content type 'text/plain;charset=UTF-8' not supported","path":&quo

 

 

 

{"timestamp":"2019-11-12T02:39:28.949+0000","status":415,"error":"Unsupported Media Type","message":"Content type 'text/plain;charset=UTF-8' not supported","path":&quo

 

相关文章:

  • 2022-12-23
  • 2021-08-26
  • 2021-11-20
  • 2022-01-16
  • 2021-10-12
  • 2021-08-30
猜你喜欢
  • 2021-05-17
  • 2021-06-15
  • 2021-06-19
  • 2022-12-23
  • 2021-10-21
  • 2021-08-31
  • 2021-11-11
相关资源
相似解决方案