fix (接口定义): 修复用例模块匹配错误问题
This commit is contained in:
parent
00c287408a
commit
ba08a5578c
|
@ -757,6 +757,9 @@ public class MsHTTPSamplerProxy extends MsTestElement {
|
||||||
apiDefinition = apiDefinitionService.get(this.getId());
|
apiDefinition = apiDefinitionService.get(this.getId());
|
||||||
if (apiDefinition == null) {
|
if (apiDefinition == null) {
|
||||||
ApiTestCaseWithBLOBs apiTestCaseWithBLOBs = apiTestCaseService.get(this.getId());
|
ApiTestCaseWithBLOBs apiTestCaseWithBLOBs = apiTestCaseService.get(this.getId());
|
||||||
|
if (apiTestCaseWithBLOBs == null) {
|
||||||
|
apiTestCaseWithBLOBs = apiTestCaseService.get(this.getName());
|
||||||
|
}
|
||||||
if (apiTestCaseWithBLOBs != null) {
|
if (apiTestCaseWithBLOBs != null) {
|
||||||
apiDefinition = apiDefinitionService.get(apiTestCaseWithBLOBs.getApiDefinitionId());
|
apiDefinition = apiDefinitionService.get(apiTestCaseWithBLOBs.getApiDefinitionId());
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue