I am new to Jmeter. My HTTP request sampler call looks like this
Path= /image/**image_id**/list/
Header = \"Key\" : \"Key_Value\"
Key value is
A possible solution posted by Eugene Kazakov here:
JSR223 sampler has good possibility to write and execute some code, just put jython.jar into /lib directory, choose in "Language" pop-up menu jython and write your code in this sampler.
Sadly there is a bug in Jython, but there are some suggestion on the page.
More here.