fix(接口测试): 修复场景导入的tcp的jmx无法执行的缺陷

This commit is contained in:
wxg0103 2023-10-17 16:54:08 +08:00 committed by wxg0103
parent f3d67b0a46
commit 9a095a4ae1
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ public class TCPSampler extends AbstractSampler implements ThreadListener, Inter
public String getClassname() { public String getClassname() {
String clazz = getPropertyAsString(CLASSNAME,""); String clazz = getPropertyAsString(CLASSNAME,"");
if (clazz==null || clazz.length()==0){ if (clazz==null || clazz.length()==0){
clazz = JMeterUtils.getPropDefault("tcp.handler", "MsClientImpl"); //$NON-NLS-1$ $NON-NLS-2$ clazz = JMeterUtils.getPropDefault("tcp.handler", "TCPClientImpl"); //$NON-NLS-1$ $NON-NLS-2$
} }
return clazz; return clazz;
} }