fix(接口测试): 兼容导入数据模块匹配不到问题
--bug=1016486 --user=赵勇 [接口测试] github#17577接口运行环境使用模块,调试接口,未取到域名ip信息 https://www.tapd.cn/55049933/s/1236411
This commit is contained in:
parent
7e328f6a52
commit
61c91f7db0
|
@ -137,6 +137,10 @@ public class ParameterConfig extends MsParameter {
|
|||
}
|
||||
} else {
|
||||
apiDefinition = apiDefinitionService.get(samplerProxy.getId());
|
||||
// 兼容导入数据
|
||||
if(apiDefinition == null ){
|
||||
apiDefinition = apiDefinitionService.get(samplerProxy.getName());
|
||||
}
|
||||
ApiTestCaseWithBLOBs apiTestCaseWithBLOBs = apiTestCaseService.get(samplerProxy.getId());
|
||||
if (apiTestCaseWithBLOBs == null) {
|
||||
apiTestCaseWithBLOBs = apiTestCaseService.get(samplerProxy.getName());
|
||||
|
|
Loading…
Reference in New Issue