fix(测试跟踪): 修复测试计划执行非当前项目用例,显示资源池错误的缺陷
--bug=1033761 --user=王孝刚 【测试跟踪】测试计划-接口非当前项目用例-操作-执行-资源池用未引用当前项目资源池 https://www.tapd.cn/55049933/s/1446202
This commit is contained in:
parent
dbabc78143
commit
4f58c08791
|
@ -827,7 +827,7 @@ public class TestPlanApiCaseService {
|
|||
String reportName = apiCase.getName();
|
||||
ApiDefinitionExecResultWithBLOBs result = ApiDefinitionExecResultUtil.add(testId, ApiReportStatus.RUNNING.name(), reportId, Objects.requireNonNull(SessionUtils.getUser()).getId());
|
||||
result.setName(reportName);
|
||||
result.setProjectId(apiCase.getProjectId());
|
||||
result.setProjectId(SessionUtils.getCurrentProjectId());
|
||||
result.setTriggerMode(TriggerMode.MANUAL.name());
|
||||
RunModeConfigDTO runModeConfigDTO = new RunModeConfigDTO();
|
||||
jMeterService.verifyPool(result.getProjectId(), runModeConfigDTO);
|
||||
|
|
Loading…
Reference in New Issue