Based on this thread: Jmeter - Using varible: from JDBC request into another JDBC query under loop
I tried to get variable from DB query and use it.
If i use into parameter value like: ${__V(id_${__intSum(${__jm__Loop Controller__idx},1,)},)}
inside loop controller works perfectly fine.
But, if i want to use in JSR223 PostProcessor like:
def dbID = '${__V(id_${__intSum(${__jm__Loop Controller__idx},1,)},)}'
log.warn(dbID);
or
def dbID = prop.getObject("id").get(i).get("id")
log.warn(dbID);
My script fails.
What is the equivalent usage of ${__V(id_${__intSum(${__jm__Loop Controller__idx},1,)},)}
into JSR223 PostProcessor?
My script: