fix (接口自动化): 导入jmx tcp协议处理问题修复
This commit is contained in:
parent
8ea0f731dd
commit
7c1d9338b7
|
@ -333,6 +333,7 @@ public class MsJmeterParser extends ApiImportAbstractParser<ScenarioImport> {
|
|||
msTCPSampler.setRequest(tcpSampler.getRequestData());
|
||||
msTCPSampler.setUsername(tcpSampler.getProperty(ConfigTestElement.USERNAME).getStringValue());
|
||||
msTCPSampler.setPassword(tcpSampler.getProperty(ConfigTestElement.PASSWORD).getStringValue());
|
||||
msTCPSampler.setClassname(tcpSampler.getClassname());
|
||||
}
|
||||
|
||||
private void convertDubboSample(MsDubboSampler elementNode, DubboSample sampler) {
|
||||
|
|
|
@ -44,7 +44,7 @@ export default {
|
|||
},
|
||||
watch: {
|
||||
result() {
|
||||
if (this.result.responseResult) {
|
||||
if (this.result && this.result.responseResult) {
|
||||
this.response = this.result;
|
||||
} else {
|
||||
this.getExecResult();
|
||||
|
|
Loading…
Reference in New Issue