fix(接口测试): 修复禁用本地执行后单步调试提示错误问题

--bug=1021986 --user=赵勇 【接口测试】github#21310,场景内点击单步骤执行,提示“调用资源池执行失败,请检查资源池是否配置正常” https://www.tapd.cn/55049933/s/1327727
This commit is contained in:
fit2-zhao 2023-01-16 16:52:58 +08:00
parent 2d2e8fffda
commit be1d157ea6
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ public class ApiExecuteService {
String testId = request.getTestElement() != null &&
CollectionUtils.isNotEmpty(request.getTestElement().getHashTree()) &&
CollectionUtils.isNotEmpty(request.getTestElement().getHashTree().get(0).getHashTree()) ?
request.getTestElement().getHashTree().get(0).getHashTree().get(0).getName() : request.getId();
request.getTestElement().getHashTree().get(0).getHashTree().get(0).getId() : request.getId();
String runMode = ApiRunMode.DEFINITION.name();
if (StringUtils.isNotBlank(request.getType()) && StringUtils.equals(request.getType(), ApiRunMode.API_PLAN.name())) {