11选5程序出售与jmeter常见问题

1.jmeter get请求用parameters传参,11选5程序出售【企 娥:217 1793 408】
post请求用body data传参{"talkHistoryItem.callId": "123", "talkHistoryItem.talkerType": "2", "talkHistoryItem.userTalk": "hello world!"}
否则报{"timestamp":1533547974087,"status":400,"error":"Bad Request","exception":"org.springframework.http.converter.HttpMessageNotReadableException","message":"Bad Request","path":"/phone/pushCallLog"}错误
注:400是前后台参数不对应

2.{"timestamp":1533547447227,"status":415,"error":"Unsupported Media Type","exception":"org.springframework.web.HttpMediaTypeNotSupportedException","message":"Unsupported Media Type","path":"/phone/pushCallLog"}
415错误是设置content-type:application/json

猜你喜欢

转载自blog.51cto.com/13913682/2156032