I have a Web socket Single Read sampler as a child of While Controller. This sampler loops for a certain (dynamic) number of times based on other input conditions. I have to extract a value from one of these responses.
If I add a Regular Expression Extractor as a child of the Web socket sampler, it is not able to capture the correct value as the value gets overwritten as the loop progresses.
My current test plan looks like this:
Thread Group
\_ .. other components
\_ While loop
\_Web socket single read sampler
\_Regular expression Extractor
\_ .. other components
Is there a way to specify the regular expression extractor to capture value based on the occurrence of some other text in the response body of the Web socket single read sampler?
Thanks in advance!