I have a Regex Extractor that retrieves following values,
With this, i'm trying to retrieve all such values, orderId_1_g1=SGSM10820
, orderId_2_g1=SGSM10821
, orderId_3_g1=SGSM10822
, and pass them in a HTTP Request that follows as a parameter.
For this, I've put them in a Loop Controller
and a Counter
. Now, when using ${orderId_${counter}_g1}
to get the value; I don't actually receive the value instead get the variable ${orderId_${counter}_g1}
as it is.
NOTE: I'm trying to use a counter to form name of another variable. Is it possible or there's some other efficient way to acheive this?