parent
b5e430405e
commit
3851b26c07
|
@ -39,7 +39,9 @@ public class ApiScenarioReportResultService {
|
|||
if (StringUtils.isNotEmpty(item.getName()) && item.getName().startsWith("Transaction=") && CollectionUtils.isEmpty(item.getSubRequestResults())) {
|
||||
LoggerUtil.debug("合并事物请求暂不入库");
|
||||
} else {
|
||||
apiScenarioReportResultMapper.insert(this.newApiScenarioReportResult(reportId, item));
|
||||
if (!StringUtils.startsWithAny(item.getName(), "PRE_PROCESSOR_ENV_", "POST_PROCESSOR_ENV_")) {
|
||||
apiScenarioReportResultMapper.insert(this.newApiScenarioReportResult(reportId, item));
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -270,9 +270,6 @@ public class ApiScenarioReportStructureService {
|
|||
public static void reportFormatting(List<StepTreeDTO> dtoList, Map<String, List<ApiScenarioReportResult>> maps) {
|
||||
for (int index = 0; index < dtoList.size(); index++) {
|
||||
StepTreeDTO dto = dtoList.get(index);
|
||||
if(dto.getResourceId().equals("a1db7c43-9d07-4c35-b36e-d4498a1dc78a_19")){
|
||||
System.out.println("-----");
|
||||
}
|
||||
dto.setIndex((index + 1));
|
||||
List<ApiScenarioReportResult> reportResults = maps.get(dto.getResourceId());
|
||||
if (CollectionUtils.isNotEmpty(reportResults)) {
|
||||
|
|
|
@ -367,7 +367,7 @@ export default {
|
|||
this.fullTreeNodes = report.steps;
|
||||
this.content.console = report.console;
|
||||
this.content.error = report.error;
|
||||
this.content.success = (report.total - report.error - report.errorCode);
|
||||
this.content.success = (report.total - report.error - report.errorCode - report.unExecute);
|
||||
this.totalTime = report.totalTime;
|
||||
}
|
||||
this.loading = false;
|
||||
|
|
Loading…
Reference in New Issue