I wanted to extract the value of refid1 and refid2 tags form the input xml in Http request. refID1 and refid2 values are generated at runtime using random number function .
please find below attached screenshot for the problem :
Thanks in advance!
解决方案
Since you're generating the data, I suppose you have access to the XML request data.
So in this case, you can make those 2 fields variables extracted from CSV using CSV Data Set config.
If you're generating them using JMeter __Random function, then you can use this syntax:
${__Random(0,10, MYVAR)}
And then use ${MYVAR}