From 576aba0a06f497c50b1966535f03dc913842db2f Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Mon, 4 Nov 2024 11:23:40 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E6=B7=BB=E5=8A=A0=E6=96=AD=E8=A8=80?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fit2-zhao --- .../java/org/apache/jmeter/assertions/JSONPathAssertion.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/sdk-parent/jmeter/src/main/java/org/apache/jmeter/assertions/JSONPathAssertion.java b/framework/sdk-parent/jmeter/src/main/java/org/apache/jmeter/assertions/JSONPathAssertion.java index 1b5f701632..cd9062abb1 100644 --- a/framework/sdk-parent/jmeter/src/main/java/org/apache/jmeter/assertions/JSONPathAssertion.java +++ b/framework/sdk-parent/jmeter/src/main/java/org/apache/jmeter/assertions/JSONPathAssertion.java @@ -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