You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by James Liang <jl...@andera.com> on 2013/12/11 01:01:18 UTC
bug: intSum() is broken
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