diff --git a/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioService.java b/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioService.java index 3fa148dac5..e47ac2c4fd 100644 --- a/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioService.java +++ b/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioService.java @@ -1703,7 +1703,11 @@ public class ApiScenarioService { } public ScenarioToPerformanceInfoDTO exportJmx(ApiScenarioBatchRequest request) { - List apiScenarioWithBLOBs = getExportResult(request); + + ServiceUtils.getSelectAllIds(request, request.getCondition(), (query) -> extApiScenarioMapper.selectIdsByQuery(query)); + ApiScenarioExample example = new ApiScenarioExample(); + example.createCriteria().andIdIn(request.getIds()); + List apiScenarioWithBLOBs = apiScenarioMapper.selectByExampleWithBLOBs(example); //检查运行环境 checkExportEnv(apiScenarioWithBLOBs); // 生成jmx diff --git a/performance-test/frontend/src/business/test/EditPerformanceTest.vue b/performance-test/frontend/src/business/test/EditPerformanceTest.vue index f35e668e8f..00d93dd4f4 100644 --- a/performance-test/frontend/src/business/test/EditPerformanceTest.vue +++ b/performance-test/frontend/src/business/test/EditPerformanceTest.vue @@ -679,7 +679,7 @@ export default { csvHasHeader: true, recycle: true, stopThread: false, - shareMode: "shareMode.thread" + shareMode: "shareMode.all" }); }