jmeter将接口返回写入log

1.添加BeanShell 后置处理程序

2.

 

 

//拿到响应值
String json = prev.getResponseDataAsString();
log.info("Value为:"+ json);

 

posted @ 2021-07-30 13:52  亿逍遥  阅读(148)  评论(0编辑  收藏  举报