Home > Enterprise >  Regular Expression extractor in Jmeter not capturing value,
Regular Expression extractor in Jmeter not capturing value,

Time:10-31

I am writing a regular expression extractor for a dynamic value id from the response data as below

enter image description here

I wrote the expression like this enter image description here

But this is not capturing the value. This id value is to be used in the next request. If i use the template as $0$, then it captures the value as 2197

Please help to correct the mistake I have made

I tried with template $0$, and match number 0 and 1, but I am getting the same expression

When I try with $1$ as template,the value is not identified at all

CodePudding user response:

  1. Your response seems to be enter image description here

    More information: How to Use the JSON Extractor For Testing

    If you want to proceed with regular expressions for any reason consider changing your regular expression part from [0-9] to (\d )

  • Related