You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by bu...@apache.org on 2011/04/12 11:49:16 UTC
DO NOT REPLY [Bug 51053] New: 'SampleResult.setResponseData("xyz");'
in BeanShell Assertion has side effect on later BeanShell Samplers
https://issues.apache.org/bugzilla/show_bug.cgi?id=51053
Summary: 'SampleResult.setResponseData("xyz");' in BeanShell
Assertion has side effect on later BeanShell Samplers
Product: JMeter
Version: Nightly (Please specify date)
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Main
AssignedTo: notifications@jakarta.apache.org
ReportedBy: hauser@acm.org
Created an attachment (id=26877)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=26877)
BeanShellError.jmx
in the attached .jmx ,
the "Check CSV File" BeanShell Assertion
sets 'SampleResult.setResponseData("xyz");
in the subsequent "Bsh 2" BeanShell Sampler, the
SampleResult.setResponseData(msg);
has no effect, but each time the sampler is called the
'SampleResult.setResponseData("xyz"); vorm the Assertion gets into the
"Response Data" tab
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 51053] 'SampleResult.setResponseData("xyz");' in
BeanShell Assertion has side effect on later BeanShell Samplers
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51053
--- Comment #3 from Sebb <se...@apache.org> 2011-04-20 08:33:43 EDT ---
Bugzilla is not a support forum. Please ask usage questions on the user list.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 51053] 'SampleResult.setResponseData("xyz");' in
BeanShell Assertion has side effect on later BeanShell Samplers
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51053
--- Comment #2 from Ralf Hauser <ha...@acm.org> 2011-04-20 07:51:53 EDT ---
so the conclusion is: if possible always create a simple controller and move
the
BeanShell Assertion
with the 'SampleResult.setResponseData("xyz")
into a child of it - right?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 51053] 'SampleResult.setResponseData("xyz");' in
BeanShell Assertion has side effect on later BeanShell Samplers
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51053
Sebb <se...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Sebb <se...@apache.org> 2011-04-12 06:51:40 EDT ---
That's because the BSH Assertion is in scope for all the samplers, so it gets
applied to them all.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org