Well I use the include controller to include a number of files. I'm treating
them somewhat like functions, but since I currently only have global
variables to work with, it's quite easy to lose track and not define one. In
a couple of cases if a variable is undefined I can check to see if a
different one is defined and look up the missing information based on that.

I actually kind of like the idea of using a debug sampler with a regex
assertion. At the start of each of my included tests I could verify that all
required variables are set, or have the test complain to the user about the
missing ones.

It would actually be very nice to have scoped local variables. The
parameterized controller in Jmeter Addons gives you parameters quite nicely.
If it actually made an new instance of variables and only allowed
import/export of data from parameters in the variables, that would be pretty
spiffy. Of course, I probably shouldn't be doing things like that with
jmeter anyway.

-- 
Bruce Ide
flyingrhenqu...@gmail.com

Reply via email to