jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 63064] New: If Controller evaluates to "False" if expression contains empty line
Date Mon, 07 Jan 2019 13:56:05 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=63064

            Bug ID: 63064
           Summary: If Controller evaluates to "False" if expression
                    contains empty line
           Product: JMeter
           Version: 5.0
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: ronsmansdirk@gmail.com
  Target Milestone: JMETER_5.1

When creating an expression in an If Controller the expression is being
evaluated to false when the last line is an empty one.

Tested with "Interpret condition as variable expression" checked.

e.g.
1. ${__jexl3(${blnChangeRadius} == 1)}

Evaluates to true if blnChangeRadius == 1

1. ${__jexl3(${blnChangeRadius} == 1)}
2. 

Evaluates to false when blnChangeRadius == 1

blnChangeRadius in my case was just a random generated number (min:0 max:1)

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message