test: 添加断言日志

Signed-off-by: fit2-zhao <yong.zhao@fit2cloud.com>
This commit is contained in:
fit2-zhao 2024-11-04 11:23:40 +08:00
parent ae20256644
commit 576aba0a06
1 changed files with 2 additions and 2 deletions

View File

@ -303,7 +303,7 @@ public class JSONPathAssertion extends AbstractTestElement implements Serializab
try {
doAssert(responseData);
} catch (Exception e) {
log.debug("Assertion failed", e);
log.error("Assertion failed", e);
result.setFailure(true);
result.setFailureMessage(e.getMessage());
}
@ -344,7 +344,7 @@ public class JSONPathAssertion extends AbstractTestElement implements Serializab
@Override
public void threadStarted() {
// nothing to do on thread start
LoggerUtil.info("Thread started{}", this.getName());
}
@Override