On 29 January 2014 01:43, Steven Swor <[email protected]> wrote: > Hi folks, > > Can someone please explain to me how JMeter handles variables loaded from > CSV, as opposed to handling user-defined variables? I was under the > impression that ${__urlencode(${csv_variable})} would produce the same > output as ${__urlencode(${user_defined_variable})}, but it appears this is > not the case.
They *are* handled the same way. But if the encoding function is called before the CSV variable has been defined, of course it won't work. > A minimal test case is available at > https://issues.apache.org/bugzilla/attachment.cgi?id=31268. In that test > plan, the CSV data are declared before any of the thread groups, and > urlencode is called within each thread group. > > In such a case, wouldn't the CSV variables (defined before the thread > groups in the test plan) be loaded before the user-defined variables > (defined within the thread groups)? Please read: http://jmeter.apache.org/usermanual/component_reference.html#User_Defined_Variables first para. > Thanks, > Steve --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
