Bug 40099 - Enable use of object variable in ForEachController
Enable use of object variable in ForEachController
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.1.2
All All
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
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