Search code examples
jmeterjmx

problem with extracting a value in an html response with jmeter


I have a problem with extracting a value in an html response with jmeter, what regular expression should I use to be able to extract myself: client_id% 3D27d15a22-4f44-469a-8480-f3d19825e8e8 ?, without client_id% 3D

thank you in advance


Solution

  • If you want to fetch a GUID-like structure from the response the relevant regular expression would be something like:

    ([A-Fa-f0-9]{8}[\-][A-Fa-f0-9]{4}[\-][A-Fa-f0-9]{4}[\-][A-Fa-f0-9]{4}[\-]([A-Fa-f0-9]){12})
    

    Demo:

    enter image description here

    More information: