I have used json path extractor to find multiple matches from a json response. and got output:
IDType_Extract_1={"contentType":"LIVE","id":103}
IDType_Extract_2={"contentType":"CATCH_UP","id":6441631}
IDType_Extract_3={"contentType":"MOVIES","id":129}
Now, i want to split these two values and pass any random (contentType,id)
pair in next jmeter http request.
Which postprocessor should i use and how to extract values.
I was using beanshell assertion and beanshell postprocessor but not able to extract it.
string[] value = vars.get{"IDType_Extract_1"};
string[] type = value.split{","};
In debug sampler, no value is coming in variables.