fix(接口测试): 修复批量执行case串行并行生成集合报告生成报告触发方式为:手动触发的缺陷
--bug=1010863 --user=王孝刚 【接口测试】批量执行case-串行/并行-集合报告-生成报告触发方式为:手动触发 https://www.tapd.cn/55049933/s/1114537
This commit is contained in:
parent
4a54da4b21
commit
8dacf510f2
|
@ -165,7 +165,7 @@ public class ApiCaseExecuteService {
|
||||||
&& StringUtils.isNotEmpty(request.getConfig().getReportName())) {
|
&& StringUtils.isNotEmpty(request.getConfig().getReportName())) {
|
||||||
serialReportId = UUID.randomUUID().toString();
|
serialReportId = UUID.randomUUID().toString();
|
||||||
APIScenarioReportResult report = apiScenarioReportService.init(request.getConfig().getReportId(), null, request.getConfig().getReportName(),
|
APIScenarioReportResult report = apiScenarioReportService.init(request.getConfig().getReportId(), null, request.getConfig().getReportName(),
|
||||||
ReportTriggerMode.MANUAL.name(), ExecuteType.Saved.name(), request.getProjectId(),
|
ReportTriggerMode.BATCH.name(), ExecuteType.Saved.name(), request.getProjectId(),
|
||||||
null, request.getConfig());
|
null, request.getConfig());
|
||||||
report.setVersionId(caseList.get(0).getVersionId());
|
report.setVersionId(caseList.get(0).getVersionId());
|
||||||
report.setName(request.getConfig().getReportName());
|
report.setName(request.getConfig().getReportName());
|
||||||
|
|
Loading…
Reference in New Issue