fix(接口自动化): 修复重定向接口内容重复问题

This commit is contained in:
fit2-zhao 2021-03-30 16:38:30 +08:00
parent 6db8a133de
commit 9abc90150d
1 changed files with 0 additions and 4 deletions

View File

@ -333,10 +333,6 @@ public class APIBackendListenerClient extends AbstractBackendListenerClient impl
for (SampleResult subResult : result.getSubResults()) { for (SampleResult subResult : result.getSubResults()) {
requestResult.getSubRequestResults().add(getRequestResult(subResult)); requestResult.getSubRequestResults().add(getRequestResult(subResult));
} }
for (SampleResult subResult : result.getSubResults()) {
requestResult.getSubRequestResults().add(getRequestResult(subResult));
}
ResponseResult responseResult = requestResult.getResponseResult(); ResponseResult responseResult = requestResult.getResponseResult();
responseResult.setBody(result.getResponseDataAsString()); responseResult.setBody(result.getResponseDataAsString());
responseResult.setHeaders(result.getResponseHeaders()); responseResult.setHeaders(result.getResponseHeaders());