I am trying to set value in beanshell inside "CANCEL ORDER" sampler and then use in sampler request body.
Trying
vars.put("orders",Arrays.toString(orderList.toArray())); and accessing in json request body using ${orders} and its not passing value.
{ "orderIds": ${orders}, "tonce": "${tonce}" }
POST data:
{
"orderIds": ${orders},
