{"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

Jmeter error when running http request:

{"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"}

Solution: The Content-Type is set to application / json

Thread Group -> Add -> configuration elements -> the Http header information manager

 

 

 

 

Guess you like

Origin www.cnblogs.com/yuan1225/p/11840345.html