diff --git a/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_5__api_test.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_5__api_test.sql index f61e9aa695..a719afcb0a 100644 --- a/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_5__api_test.sql +++ b/backend/framework/domain/src/main/resources/migration/3.0.0/ddl/V3.0.0_5__api_test.sql @@ -100,7 +100,7 @@ CREATE INDEX idx_name ON api_definition(name); CREATE TABLE IF NOT EXISTS api_report( `id` VARCHAR(50) NOT NULL COMMENT '接口报告pk' , - `name` VARCHAR(255) NOT NULL COMMENT '接口报告名称' , + `name` VARCHAR(300) NOT NULL COMMENT '接口报告名称' , `test_plan_id` VARCHAR(50) NOT NULL DEFAULT 'NONE' COMMENT '测试计划id' , `create_user` VARCHAR(50) NOT NULL COMMENT '创建人' , `delete_time` BIGINT COMMENT '删除时间' , @@ -337,7 +337,7 @@ CREATE UNIQUE INDEX uq_name_project_parent_type ON api_scenario_module (project_ CREATE TABLE IF NOT EXISTS api_scenario_report( `id` VARCHAR(50) NOT NULL COMMENT '场景报告pk' , - `name` VARCHAR(255) NOT NULL COMMENT '报告名称' , + `name` VARCHAR(300) NOT NULL COMMENT '报告名称' , `test_plan_id` VARCHAR(50) NOT NULL DEFAULT 'NONE' COMMENT '测试计划id' , `create_user` VARCHAR(50) NOT NULL COMMENT '创建人' , `delete_time` BIGINT COMMENT '删除时间' , diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/dto/request/http/MsHTTPConfig.java b/backend/services/api-test/src/main/java/io/metersphere/api/dto/request/http/MsHTTPConfig.java index e93ccc6dba..0f9f7ba8ca 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/dto/request/http/MsHTTPConfig.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/dto/request/http/MsHTTPConfig.java @@ -14,11 +14,11 @@ public class MsHTTPConfig { /** * 连接超时 */ - private Long connectTimeout = 6000L; + private Long connectTimeout = 60000L; /** * 响应超时 */ - private Long responseTimeout = 6000L; + private Long responseTimeout = 60000L; /** * 证书别名 */ diff --git a/backend/services/project-management/src/main/java/io/metersphere/project/dto/environment/common/CommonParams.java b/backend/services/project-management/src/main/java/io/metersphere/project/dto/environment/common/CommonParams.java index bc3d23c1ae..a790fab944 100644 --- a/backend/services/project-management/src/main/java/io/metersphere/project/dto/environment/common/CommonParams.java +++ b/backend/services/project-management/src/main/java/io/metersphere/project/dto/environment/common/CommonParams.java @@ -11,7 +11,7 @@ public class CommonParams implements Serializable { @Serial private static final long serialVersionUID = 1L; @Schema(description = "链接超时时间") - private Long requestTimeout = 600000L; + private Long requestTimeout = 60000L; @Schema(description = "响应超时时间") - private Long responseTimeout = 600000L; + private Long responseTimeout = 60000L; }