fix(接口测试): 修复导入dubbo请求类型显示错误问题

--bug=1014051 --user=赵勇 【接口测试】jmx文件的dubbo请求导入后不显示请求类型 https://www.tapd.cn/55049933/s/1181366
This commit is contained in:
fit2-zhao 2022-06-14 17:11:59 +08:00 committed by f2c-ci-robot[bot]
parent 20c851ef52
commit 3636e79e38
1 changed files with 3 additions and 0 deletions

View File

@ -638,6 +638,9 @@ public class JmeterDefinitionParser extends ApiImportAbstractParser<ApiDefinitio
});
}
elementNode.setAttachmentArgs(attachmentArgs);
if(StringUtils.isEmpty(elementNode.getMethod())){
elementNode.setMethod(elementNode.getProtocol());
}
}
private void convertHttpSampler(MsHTTPSamplerProxy samplerProxy, Object key) {