refactor(接口测试): 补充提交

This commit is contained in:
q4speed 2020-10-12 17:39:20 +08:00
parent bb7d3f7b5a
commit 7fdb637948
2 changed files with 20 additions and 0 deletions

View File

@ -16,6 +16,7 @@ public class Scenario {
private List<KeyValue> headers;
private List<Request> requests;
private DubboConfig dubboConfig;
private TCPConfig tcpConfig;
private List<DatabaseConfig> databaseConfigs;
private Boolean enable;
}

View File

@ -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;
}