refactor(接口测试): 优化失败重试的结果显示

--bug=1015123 --user=赵勇 【测试跟踪】失败重试次数展示的2个问题 https://www.tapd.cn/55049933/s/1206195
This commit is contained in:
fit2-zhao 2022-07-21 13:39:19 +08:00 committed by fit2-zhao
parent 24b2183600
commit b3896e8022
2 changed files with 5 additions and 1 deletions

View File

@ -80,6 +80,10 @@ public class ApiJmeterFileService {
detail = list.get(0);
}
}
if (detail != null) {
runRequest.setRetryEnable(detail.getRetryEnable());
runRequest.setRetryNum(detail.getRetryNumber());
}
Map<String, String> envMap = new LinkedHashMap<>();
if (detail != null && StringUtils.isNotEmpty(detail.getEvnMap())) {
envMap = JSON.parseObject(detail.getEvnMap(), Map.class);

View File

@ -5,7 +5,7 @@
:before-close="handleClose"
:visible.sync="visible"
:with-header="false"
size="calc(100% - var(--asideWidth))"
size="100%"
:modal-append-to-body="false"
ref="drawer"
>