I've created a couple of Java samplers, using the SleepTest sampler as a
template.

The problem I'm having is that it seems that once one of my tests is
instantiated with a particular variable value, the variable never gets
reevaluated.  For example, within a single thread:

- Loop
-- User param X read from CVSFile()
-- Use ${X} in an HTTP sampler, works each time through as you'd expect
-- Use ${X} in my own Java sampler, works fine the first time, but does
not get reevaluted again, so it always is the same value
-- Something with CSVFile(,next())

Do I need to do anything in my code to say revaluate this parameter each
time through?

I've noticed behavior in other components (in particular the Loop
controller and the IF controller where a variable read from a CSVFile or
StringFromFile only works the first time and is never evaluated again.  

This makes Jmeter very difficult to use for functional testing because
it cannot be adequately driven by CSV files.




Michael Wolfe
Vice President, Engineering
Vontu, Inc.
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to