fix(接口测试): 【接口测试】case集合报告,用例统计没显示误报
--bug=1013758 --user=宋天阳 【接口测试】case集合报告,用例统计没显示误报 https://www.tapd.cn/55049933/s/1171950
This commit is contained in:
parent
bd6f664a55
commit
7484eb1edf
|
@ -195,7 +195,7 @@ public class ApiScenarioReportStructureService {
|
|||
totalScenario.set(totalScenario.longValue() + 1);
|
||||
if (StringUtils.equalsIgnoreCase(step.getTotalStatus(), "fail")) {
|
||||
scenarioError.set(scenarioError.longValue() + 1);
|
||||
} else if (StringUtils.equalsIgnoreCase(step.getTotalStatus(), "errorCode")) {
|
||||
} else if (StringUtils.equalsAnyIgnoreCase(step.getTotalStatus(), "errorCode", ExecuteResult.errorReportResult.name())) {
|
||||
errorReport.set(errorReport.longValue() + 1);
|
||||
} else if (!StringUtils.equalsIgnoreCase(step.getTotalStatus(), "success")) {
|
||||
unExecute.set(unExecute.longValue() + 1);
|
||||
|
|
Loading…
Reference in New Issue