fix(接口测试): 修复场景导入的tcp的jmx无法执行的缺陷
This commit is contained in:
parent
f3d67b0a46
commit
9a095a4ae1
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue