Need help with StresStimulus? Start here.
How to extract the last occurrence in response?
Unregistered User Posts: 475
11/9/2020
|
I am using the extractor to capture the last occurrence in the response. Note that number of occurrences are keep changing. I want to capture and use the last occurrence (always) what it may be. Is there any setting in the extractor so that it will always capture the last occurrence?
|
|
0
link
|
George @StresStimulus Administrator Posts: 510
11/9/2020
|
StresStimulus cannot extract the last occurrence of a text pattern because it is not clear how to define a search for any last value. You can create a regular expression extractor that will extract the last value, instead. Hint 1: The regular expression should include some pattern that comes after the last occurrence of the value you are trying to extract. Return the first occurrence of the regular expression extractor. Hint 2: use this resource to practice creating regular expressions: https://regexr.com/
|
|
0
link
|
Copyright © 2023 Stimulus Technology