Customer Service Center
Home
Knowledge Base
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: FAQ14592
Printer Friendly
Email Article Link
iTest : What is the difference between contain extractor of type regex and regex extractor in analysis rules?
Environment/Versions
iTest
Answer
The contains extractor of type regex returns the value 1 (True) if it matches the regular expression specified in the extractor properties, with the response of that step. Else it returns 0 (False). So if the match is found in any of the step, it will display execution message for that step.
Whereas the regex extractor finds all matches to the specified regular expression in every step it returns the value based on the extraction group number specified in the extractor properties. If it is not able to find the match in any of the step then it shows match not found and the test case fails.
Version
2.0
Publish Date
2023-11-16
Categories
Product : Velocity Portfolio,Velocity iTest
Related Articles