diff --git a/backend/src/main/java/io/metersphere/api/service/MockConfigService.java b/backend/src/main/java/io/metersphere/api/service/MockConfigService.java index f6d6b158a1..1685897c13 100644 --- a/backend/src/main/java/io/metersphere/api/service/MockConfigService.java +++ b/backend/src/main/java/io/metersphere/api/service/MockConfigService.java @@ -1198,7 +1198,7 @@ public class MockConfigService { request, HttpServletResponse response) { String returnStr = ""; boolean isMatch = false; - String url = request.getRequestURI(); + String url = request.getRequestURL().toString(); List aualifiedApiList = new ArrayList<>(); if (project != null) { String urlSuffix = this.getUrlSuffix(project.getSystemId(), request);