diff --git a/backend/src/main/java/io/metersphere/api/dto/scenario/Scenario.java b/backend/src/main/java/io/metersphere/api/dto/scenario/Scenario.java index cad9efb3d8..c66d3df040 100644 --- a/backend/src/main/java/io/metersphere/api/dto/scenario/Scenario.java +++ b/backend/src/main/java/io/metersphere/api/dto/scenario/Scenario.java @@ -16,6 +16,7 @@ public class Scenario { private List headers; private List requests; private DubboConfig dubboConfig; + private TCPConfig tcpConfig; private List databaseConfigs; private Boolean enable; } diff --git a/backend/src/main/java/io/metersphere/api/dto/scenario/TCPConfig.java b/backend/src/main/java/io/metersphere/api/dto/scenario/TCPConfig.java new file mode 100644 index 0000000000..62a34fd9a9 --- /dev/null +++ b/backend/src/main/java/io/metersphere/api/dto/scenario/TCPConfig.java @@ -0,0 +1,19 @@ +package io.metersphere.api.dto.scenario; + +import lombok.Data; + +@Data +public class TCPConfig { + private String classname; + private String server; + private Integer port; + private Integer ctimeout; + private Integer timeout; + private Boolean reUseConnection; + private Boolean nodelay; + private Boolean closeConnection; + private String soLinger; + private String eolByte; + private String username; + private String password; +}