You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2018/08/31 02:41:31 UTC
[Bug 62665] New: Debug Sampler affects the value of variables.
There are different results from other samplers without the element.
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.
[Bug 62665] Debug Sampler affects the value of variables.
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62665
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |p.mouawad@ubik-ingenierie.c
| |om
Resolution|--- |WORKSFORME
Status|NEW |RESOLVED
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
There is no bug here.
You are using a PreProcessor which is executed before every Sampler including
Debug Sampler.
This is regular behaviour and cannot be changed as there can be existing Test
Plna that use Debug Sampler with Child JSR223 PreProcessor to execute some
code.
So I'll close it as WORKSFORME.
In the future , please use jmeter mailing list to ask.
Also, you should not use Beanshell in favor of JSR223+Groovy.
Regards
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 62665] Debug Sampler affects the value of variables.
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62665
caohongxing <ca...@163.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Debug Sampler affects the |Debug Sampler affects the
|value of variables. There |value of variables.
|are different results from |
|other samplers without the |
|element. |
OS| |All
--
You are receiving this mail because:
You are the assignee for the bug.