diff --git a/backend/src/main/java/io/metersphere/track/service/TestCaseService.java b/backend/src/main/java/io/metersphere/track/service/TestCaseService.java index d6c7a199c0..3b4f73b266 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestCaseService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestCaseService.java @@ -392,11 +392,20 @@ public class TestCaseService { } else if (t.getMethod().equals("auto") && t.getType().equals("api")) { data.setStepDesc(""); data.setStepResult(""); - data.setRemark(t.getApiName()); + if(t.getTestId().equals("other")){ + data.setRemark(t.getOtherTestName()); + }else{ + data.setRemark(t.getApiName()); + } + } else if (t.getMethod().equals("auto") && t.getType().equals("performance")) { data.setStepDesc(""); data.setStepResult(""); - data.setRemark(t.getPerformName()); + if(t.getTestId().equals("other")){ + data.setRemark(t.getOtherTestName()); + }else{ + data.setRemark(t.getPerformName()); + } } data.setMaintainer(t.getMaintainer()); list.add(data);