fix(接口测试): 修复node执行中序列化问题
--bug=1017866 --user=赵勇 【接口测试】接口case列表中批量执行10个case-串行-node资源池-失败停止,结果执行失败 https://www.tapd.cn/55049933/s/1259265
This commit is contained in:
parent
6876d9b9d5
commit
9b1ab5c1fd
|
@ -3,7 +3,7 @@ package io.metersphere.api.exec.api;
|
||||||
import io.metersphere.api.exec.queue.DBTestQueue;
|
import io.metersphere.api.exec.queue.DBTestQueue;
|
||||||
import io.metersphere.commons.utils.GenerateHashTreeUtil;
|
import io.metersphere.commons.utils.GenerateHashTreeUtil;
|
||||||
import io.metersphere.api.jmeter.JMeterService;
|
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.base.domain.ApiDefinitionExecResultWithBLOBs;
|
||||||
import io.metersphere.commons.utils.CommonBeanFactory;
|
import io.metersphere.commons.utils.CommonBeanFactory;
|
||||||
import io.metersphere.constants.RunModeConstants;
|
import io.metersphere.constants.RunModeConstants;
|
||||||
|
|
|
@ -14,7 +14,7 @@ import io.metersphere.api.dto.definition.request.sampler.MsTCPSampler;
|
||||||
import io.metersphere.api.exec.queue.DBTestQueue;
|
import io.metersphere.api.exec.queue.DBTestQueue;
|
||||||
import io.metersphere.api.jmeter.JMeterService;
|
import io.metersphere.api.jmeter.JMeterService;
|
||||||
import io.metersphere.api.jmeter.NewDriverManager;
|
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.ApiExecutionQueueService;
|
||||||
import io.metersphere.service.RemakeReportService;
|
import io.metersphere.service.RemakeReportService;
|
||||||
import io.metersphere.base.domain.ApiDefinitionExecResultWithBLOBs;
|
import io.metersphere.base.domain.ApiDefinitionExecResultWithBLOBs;
|
||||||
|
|
|
@ -5,7 +5,7 @@ import io.metersphere.api.dto.automation.RunScenarioRequest;
|
||||||
import io.metersphere.api.exec.queue.DBTestQueue;
|
import io.metersphere.api.exec.queue.DBTestQueue;
|
||||||
import io.metersphere.commons.utils.GenerateHashTreeUtil;
|
import io.metersphere.commons.utils.GenerateHashTreeUtil;
|
||||||
import io.metersphere.api.jmeter.JMeterService;
|
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.constants.RunModeConstants;
|
||||||
import io.metersphere.dto.BaseSystemConfigDTO;
|
import io.metersphere.dto.BaseSystemConfigDTO;
|
||||||
import io.metersphere.dto.JmeterRunRequestDTO;
|
import io.metersphere.dto.JmeterRunRequestDTO;
|
||||||
|
|
|
@ -3,7 +3,7 @@ package io.metersphere.api.exec.scenario;
|
||||||
|
|
||||||
import io.metersphere.api.exec.queue.DBTestQueue;
|
import io.metersphere.api.exec.queue.DBTestQueue;
|
||||||
import io.metersphere.api.jmeter.JMeterService;
|
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.ApiExecutionQueueDetail;
|
||||||
import io.metersphere.base.domain.ApiScenarioReport;
|
import io.metersphere.base.domain.ApiScenarioReport;
|
||||||
import io.metersphere.base.domain.ApiScenarioWithBLOBs;
|
import io.metersphere.base.domain.ApiScenarioWithBLOBs;
|
||||||
|
|
|
@ -3,8 +3,8 @@ package io.metersphere.api.jmeter;
|
||||||
|
|
||||||
import io.metersphere.api.exec.engine.EngineFactory;
|
import io.metersphere.api.exec.engine.EngineFactory;
|
||||||
import io.metersphere.api.exec.queue.ExecThreadPoolExecutor;
|
import io.metersphere.api.exec.queue.ExecThreadPoolExecutor;
|
||||||
import io.metersphere.api.jmeter.algorithm.ServerConfig;
|
import io.metersphere.api.jmeter.utils.ServerConfig;
|
||||||
import io.metersphere.api.jmeter.algorithm.SmoothWeighted;
|
import io.metersphere.api.jmeter.utils.SmoothWeighted;
|
||||||
import io.metersphere.commons.config.KafkaConfig;
|
import io.metersphere.commons.config.KafkaConfig;
|
||||||
import io.metersphere.service.RemakeReportService;
|
import io.metersphere.service.RemakeReportService;
|
||||||
import io.metersphere.commons.constants.ApiRunMode;
|
import io.metersphere.commons.constants.ApiRunMode;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package io.metersphere.api.jmeter.algorithm;
|
package io.metersphere.api.jmeter.utils;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
|
@ -1,4 +1,4 @@
|
||||||
package io.metersphere.api.jmeter.algorithm;
|
package io.metersphere.api.jmeter.utils;
|
||||||
|
|
||||||
|
|
||||||
import io.metersphere.commons.utils.GenerateHashTreeUtil;
|
import io.metersphere.commons.utils.GenerateHashTreeUtil;
|
Loading…
Reference in New Issue