refactor(性能测试): 资源池增加配置gc和heap的选项
This commit is contained in:
parent
072792eb8b
commit
9cd635dcb2
|
@ -7,7 +7,6 @@ import io.metersphere.commons.constants.ResourceStatusEnum;
|
||||||
import io.metersphere.commons.exception.MSException;
|
import io.metersphere.commons.exception.MSException;
|
||||||
import io.metersphere.commons.utils.CommonBeanFactory;
|
import io.metersphere.commons.utils.CommonBeanFactory;
|
||||||
import io.metersphere.commons.utils.UrlTestUtils;
|
import io.metersphere.commons.utils.UrlTestUtils;
|
||||||
import io.metersphere.config.JmeterProperties;
|
|
||||||
import io.metersphere.config.KafkaProperties;
|
import io.metersphere.config.KafkaProperties;
|
||||||
import io.metersphere.controller.ResultHolder;
|
import io.metersphere.controller.ResultHolder;
|
||||||
import io.metersphere.dto.BaseSystemConfigDTO;
|
import io.metersphere.dto.BaseSystemConfigDTO;
|
||||||
|
@ -73,7 +72,6 @@ public class DockerTestEngine extends AbstractEngine {
|
||||||
|
|
||||||
BaseSystemConfigDTO baseInfo = CommonBeanFactory.getBean(SystemParameterService.class).getBaseInfo();
|
BaseSystemConfigDTO baseInfo = CommonBeanFactory.getBean(SystemParameterService.class).getBaseInfo();
|
||||||
KafkaProperties kafkaProperties = CommonBeanFactory.getBean(KafkaProperties.class);
|
KafkaProperties kafkaProperties = CommonBeanFactory.getBean(KafkaProperties.class);
|
||||||
JmeterProperties jmeterProperties = CommonBeanFactory.getBean(JmeterProperties.class);
|
|
||||||
String metersphereUrl = "http://localhost:8081"; // 占位符
|
String metersphereUrl = "http://localhost:8081"; // 占位符
|
||||||
if (baseInfo != null) {
|
if (baseInfo != null) {
|
||||||
metersphereUrl = baseInfo.getUrl();
|
metersphereUrl = baseInfo.getUrl();
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 5821a82acc56ee215c3587c35f0a71c1ed38efe9
|
Subproject commit e6af25ffb8cabdfc2de5ae07cb04492cc78345f3
|
Loading…
Reference in New Issue