4

I tested regular expression using view result tree, it returns correct data(30 match results). i used reference name in regular expression extractor as regexid. Regular expression i used is \d{7} ${regexid} has value equals null. cross checked in debug sampler. it has below info regexid=null regexid_g=0 regexid_g0=6104546

Why regexid has null value, when there were 30 matches for this regular expression enter image description here

Template value - $1$ and for match number i tried using 1,2,0,-1 but i still get null value

closed as off-topic by Michael Durrant, Milin Patel, Yu Zhang, Bharat Mane, Kate Paulk Sep 14 '16 at 11:37

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about software development unrelated to testing are off-topic here, but can be asked on Stack Overflow." – Michael Durrant, Milin Patel, Yu Zhang, Bharat Mane, Kate Paulk
If this question can be reworded to fit the rules in the help center, please edit the question.

  • is it possible to share jmx file masking any sensitive data? – Tarun Apr 18 '16 at 11:09

Browse other questions tagged or ask your own question.