diff --git a/api-test/backend/src/main/java/io/metersphere/api/exec/api/ApiCaseParallelExecuteService.java b/api-test/backend/src/main/java/io/metersphere/api/exec/api/ApiCaseParallelExecuteService.java index c5df666327..dc06c62df8 100644 --- a/api-test/backend/src/main/java/io/metersphere/api/exec/api/ApiCaseParallelExecuteService.java +++ b/api-test/backend/src/main/java/io/metersphere/api/exec/api/ApiCaseParallelExecuteService.java @@ -3,7 +3,7 @@ package io.metersphere.api.exec.api; import io.metersphere.api.exec.queue.DBTestQueue; import io.metersphere.commons.utils.GenerateHashTreeUtil; import io.metersphere.api.jmeter.JMeterService; -import io.metersphere.api.jmeter.algorithm.SmoothWeighted; +import io.metersphere.api.jmeter.utils.SmoothWeighted; import io.metersphere.base.domain.ApiDefinitionExecResultWithBLOBs; import io.metersphere.commons.utils.CommonBeanFactory; import io.metersphere.constants.RunModeConstants; diff --git a/api-test/backend/src/main/java/io/metersphere/api/exec/api/ApiCaseSerialService.java b/api-test/backend/src/main/java/io/metersphere/api/exec/api/ApiCaseSerialService.java index 2df2b34b21..8b7a8ac1dd 100644 --- a/api-test/backend/src/main/java/io/metersphere/api/exec/api/ApiCaseSerialService.java +++ b/api-test/backend/src/main/java/io/metersphere/api/exec/api/ApiCaseSerialService.java @@ -14,7 +14,7 @@ import io.metersphere.api.dto.definition.request.sampler.MsTCPSampler; import io.metersphere.api.exec.queue.DBTestQueue; import io.metersphere.api.jmeter.JMeterService; import io.metersphere.api.jmeter.NewDriverManager; -import io.metersphere.api.jmeter.algorithm.SmoothWeighted; +import io.metersphere.api.jmeter.utils.SmoothWeighted; import io.metersphere.service.ApiExecutionQueueService; import io.metersphere.service.RemakeReportService; import io.metersphere.base.domain.ApiDefinitionExecResultWithBLOBs; diff --git a/api-test/backend/src/main/java/io/metersphere/api/exec/scenario/ApiScenarioParallelService.java b/api-test/backend/src/main/java/io/metersphere/api/exec/scenario/ApiScenarioParallelService.java index 52c450d127..9895492153 100644 --- a/api-test/backend/src/main/java/io/metersphere/api/exec/scenario/ApiScenarioParallelService.java +++ b/api-test/backend/src/main/java/io/metersphere/api/exec/scenario/ApiScenarioParallelService.java @@ -5,7 +5,7 @@ import io.metersphere.api.dto.automation.RunScenarioRequest; import io.metersphere.api.exec.queue.DBTestQueue; import io.metersphere.commons.utils.GenerateHashTreeUtil; import io.metersphere.api.jmeter.JMeterService; -import io.metersphere.api.jmeter.algorithm.SmoothWeighted; +import io.metersphere.api.jmeter.utils.SmoothWeighted; import io.metersphere.constants.RunModeConstants; import io.metersphere.dto.BaseSystemConfigDTO; import io.metersphere.dto.JmeterRunRequestDTO; diff --git a/api-test/backend/src/main/java/io/metersphere/api/exec/scenario/ApiScenarioSerialService.java b/api-test/backend/src/main/java/io/metersphere/api/exec/scenario/ApiScenarioSerialService.java index 63f6115781..a214e6094f 100644 --- a/api-test/backend/src/main/java/io/metersphere/api/exec/scenario/ApiScenarioSerialService.java +++ b/api-test/backend/src/main/java/io/metersphere/api/exec/scenario/ApiScenarioSerialService.java @@ -3,7 +3,7 @@ package io.metersphere.api.exec.scenario; import io.metersphere.api.exec.queue.DBTestQueue; import io.metersphere.api.jmeter.JMeterService; -import io.metersphere.api.jmeter.algorithm.SmoothWeighted; +import io.metersphere.api.jmeter.utils.SmoothWeighted; import io.metersphere.base.domain.ApiExecutionQueueDetail; import io.metersphere.base.domain.ApiScenarioReport; import io.metersphere.base.domain.ApiScenarioWithBLOBs; diff --git a/api-test/backend/src/main/java/io/metersphere/api/jmeter/JMeterService.java b/api-test/backend/src/main/java/io/metersphere/api/jmeter/JMeterService.java index 02accb5462..00faba5752 100644 --- a/api-test/backend/src/main/java/io/metersphere/api/jmeter/JMeterService.java +++ b/api-test/backend/src/main/java/io/metersphere/api/jmeter/JMeterService.java @@ -3,8 +3,8 @@ package io.metersphere.api.jmeter; import io.metersphere.api.exec.engine.EngineFactory; import io.metersphere.api.exec.queue.ExecThreadPoolExecutor; -import io.metersphere.api.jmeter.algorithm.ServerConfig; -import io.metersphere.api.jmeter.algorithm.SmoothWeighted; +import io.metersphere.api.jmeter.utils.ServerConfig; +import io.metersphere.api.jmeter.utils.SmoothWeighted; import io.metersphere.commons.config.KafkaConfig; import io.metersphere.service.RemakeReportService; import io.metersphere.commons.constants.ApiRunMode; diff --git a/api-test/backend/src/main/java/io/metersphere/api/jmeter/algorithm/ServerConfig.java b/api-test/backend/src/main/java/io/metersphere/api/jmeter/utils/ServerConfig.java similarity index 97% rename from api-test/backend/src/main/java/io/metersphere/api/jmeter/algorithm/ServerConfig.java rename to api-test/backend/src/main/java/io/metersphere/api/jmeter/utils/ServerConfig.java index 3d75e9b71f..534bdecc5d 100644 --- a/api-test/backend/src/main/java/io/metersphere/api/jmeter/algorithm/ServerConfig.java +++ b/api-test/backend/src/main/java/io/metersphere/api/jmeter/utils/ServerConfig.java @@ -1,4 +1,4 @@ -package io.metersphere.api.jmeter.algorithm; +package io.metersphere.api.jmeter.utils; import lombok.Data; import org.apache.commons.lang3.StringUtils; diff --git a/api-test/backend/src/main/java/io/metersphere/api/jmeter/algorithm/SmoothWeighted.java b/api-test/backend/src/main/java/io/metersphere/api/jmeter/utils/SmoothWeighted.java similarity index 99% rename from api-test/backend/src/main/java/io/metersphere/api/jmeter/algorithm/SmoothWeighted.java rename to api-test/backend/src/main/java/io/metersphere/api/jmeter/utils/SmoothWeighted.java index c8c2fc8801..d5e2b58496 100644 --- a/api-test/backend/src/main/java/io/metersphere/api/jmeter/algorithm/SmoothWeighted.java +++ b/api-test/backend/src/main/java/io/metersphere/api/jmeter/utils/SmoothWeighted.java @@ -1,4 +1,4 @@ -package io.metersphere.api.jmeter.algorithm; +package io.metersphere.api.jmeter.utils; import io.metersphere.commons.utils.GenerateHashTreeUtil;