You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Felix Schumacher <fe...@internetallee.de> on 2017/02/01 20:23:26 UTC

Re: Call a function or substitute a variable value withing another variable.


Am 20. Januar 2017 01:22:55 MEZ schrieb Pavel Gouchtchine <gu...@gmail.com>:
>HI All,
>I am getting values for a HTTP request from a csv file.
>For example value for ${payload} variable comes from the "payload"
>column
>in the csv file.
>is it possible to use a function call or another variable within
>payload
>field value in the csv file?
>is there a mechanism to evaluate all functions and variables into their
>values?

Have you tried something like ${__groovy${payload}}? You can replace groovy with javaScript or jexl3.

There will be some limits on the content of payload, but it might work for you.

Regards,
 Felix
>
>Thank you, very much.
>Pavel.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org