Bug 40099 - Enable use of object variable in ForEachController
Summary: Enable use of object variable in ForEachController
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.1.2
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-24 08:40 UTC by Guillaume Lasnier
Modified: 2007-07-02 05:29 UTC (History)
0 users



Attachments
Change access to JMeterContext variables (1.88 KB, patch)
2006-07-24 08:46 UTC, Guillaume Lasnier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Lasnier 2006-07-24 08:40:49 UTC
The ForEachController currently supports string input variables from the JMeter
context. 
Some Sampler such as the Bean Shell sampler could require to iterate over a list
of java.lang.Object instance stored in the JMeter context via the putObject()
and getObject() methods
Comment 1 Guillaume Lasnier 2006-07-24 08:46:09 UTC
Created attachment 18632 [details]
Change access to JMeterContext variables

The attached patch replaces all the JMeterVariables.get() and
JMeterVariables.put() occurences by JMeterVariables.getObject() and
JMeterVariables.putObject(). This doesn't change the previous behaviour.
Comment 2 Sebb 2007-07-02 05:29:00 UTC
Thanks - added in r552482