jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 62665] New: Debug Sampler affects the value of variables. There are different results from other samplers without the element.
Date Fri, 31 Aug 2018 02:41:31 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=62665

            Bug ID: 62665
           Summary: Debug Sampler affects the value of variables.  There
                    are different results from other samplers without the
                    element.
           Product: JMeter
           Version: 4.0
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: caohongxing7604@163.com
  Target Milestone: ---

Created attachment 36124
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36124&action=edit
the test plan which can reproduce the bug

The test plan includes user parameters, BeanShell, debug sapmler and dummy
sampler.

user parameters eefine the variable sum with value of  1.
BeanShell increases the value of variable sum by 1.
debug sumpler displays all variables. 
Dummy sampler displays the value of the sum variable.

Results: every time dubug sampler is executed, the value of variable sum will
be changed.
This is out of line with expectations. Debug sampler is just looking at
variables and should not change the value of variables.

See the test plan in the attachment for details.

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