I answer myself.
use println ${__eval(${var})} will be ok
use println ${__eval(vars.get("var"))} will be not ok.
At 2016-08-11 21:32:01, "harry_no_spot" <[email protected]> wrote:
>hi, plz help me, the question is:
>1. senario as expected:
>a.create a csv file, contents is
>var
>123
>b.very simple test plan. 'CSV data set config' & 'JSR223 Sampler'
>c. println ${__eval(vars.get("var"))}
>it prints 123 on console as expected.
>
>2. senario not as expected
>a. change csv file, content is
>var
>${__time(yyyyMMdd)}
>b. it prints ${__time(yyyyMMdd)} on console, not as expected, say, 20160811
>
>so why?
>