fix: 提取错误日志出现在断言里
This commit is contained in:
parent
e5c0ecd96c
commit
7cba18ec27
|
@ -337,7 +337,7 @@ public class APIBackendListenerClient extends AbstractBackendListenerClient impl
|
||||||
requestResult.addPassAssertions();
|
requestResult.addPassAssertions();
|
||||||
}
|
}
|
||||||
//xpath 提取错误会添加断言错误
|
//xpath 提取错误会添加断言错误
|
||||||
if (StringUtils.isBlank(responseAssertionResult.getMessage()) || !responseAssertionResult.getMessage().contains("The required item type of the first operand of")) {
|
if (StringUtils.isBlank(responseAssertionResult.getMessage()) || !responseAssertionResult.getName().endsWith("XPath2Extractor")) {
|
||||||
responseResult.getAssertions().add(responseAssertionResult);
|
responseResult.getAssertions().add(responseAssertionResult);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue