jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Liang <jli...@andera.com>
Subject bug: intSum() is broken
Date Wed, 11 Dec 2013 00:01:18 GMT
Hi all,

I notice intSum() is broken for version 2.10.  The function longSum() works fine.

To reproduce:

create 4 user paramters as follow:

start=5
counter=${__counter(FALSE)}
bad=${__intSum(${start}, ${counter})}
good=${__longSum(${start}, ${counter})}

I've test this inside a loop.  Remember __counter() starts with 1.

On 1st pass
bad=5
good=6

On 2nd pass
bad=5
good=7

The jmeter log shows no errors.  It'd seem intSum() is always returning the first parameter
without doing the sum operation.



Thanks,
James Liang



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message