jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] branch master updated: Add debug statement for IfController to show result of expression
Date Sun, 29 Aug 2021 09:24:27 GMT
This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new 6ecce5d  Add debug statement for IfController to show result of expression
6ecce5d is described below

commit 6ecce5dc889c9e6a097cf8f3c6cea84d80c5bdc7
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Mon Jun 7 16:51:05 2021 +0200

    Add debug statement for IfController to show result of expression
---
 src/core/src/main/java/org/apache/jmeter/control/IfController.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/core/src/main/java/org/apache/jmeter/control/IfController.java b/src/core/src/main/java/org/apache/jmeter/control/IfController.java
index 48e7b23..e415cec 100644
--- a/src/core/src/main/java/org/apache/jmeter/control/IfController.java
+++ b/src/core/src/main/java/org/apache/jmeter/control/IfController.java
@@ -203,6 +203,7 @@ public class IfController extends GenericController implements Serializable,
Thr
 
 
     private static boolean evaluateExpression(String cond) {
+        log.debug("    >> evaluate Expression [{}] equals (ignoring case) 'true'",
cond);
         return cond.equalsIgnoreCase("true"); // $NON-NLS-1$
     }
 

Mime
View raw message