refactor(接口测试): 执行结果增加日志输出
This commit is contained in:
parent
e2476b7209
commit
ce44ad18bd
|
@ -105,6 +105,7 @@ public class JMeterBase {
|
|||
requestResult.setBody("");
|
||||
} else {
|
||||
//判断返回的类型是否是图片
|
||||
LoggerUtil.info("返回内容类型为【" + result.getContentType() + "】");
|
||||
if (StringUtils.isNotEmpty(result.getContentType()) && imageList.contains(result.getContentType())) {
|
||||
responseResult.setContentType(result.getContentType());
|
||||
responseResult.setImageUrl(result.getResponseData());
|
||||
|
|
Loading…
Reference in New Issue