jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From harry_no_spot <>
Subject Re:how to evaluate function set in variable?
Date Mon, 15 Aug 2016 14:32:11 GMT
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" <> wrote:
>hi, plz help me, the question is:
>1. senario as expected:
>a.create a csv file, contents is
>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
>b. it prints ${__time(yyyyMMdd)} on console, not as expected, say, 20160811
>so why?
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message