This commit is contained in:
fit2-zhao 2021-01-28 10:31:39 +08:00
commit 4164c6d15b
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ public class APIBackendListenerClient extends AbstractBackendListenerClient impl
requestResult.addPassAssertions();
}
//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);
}
}