11 years ago
Use Wildcard or RegEx in Message Content Assertion
I have a question with Message Content Assertion, I don't find it in the feature list so I am wondering if it exists or could be a new feature.
We can use Wildcard or RegEx in XPath or XQuery assertion, but in Message Content Assertion, we can only use default givens operations like ">", "=" etc, is it possible to use wildcard or RegEx in this kind of assertion?
For Example, I have Actual values which last 4 decimals change each time, I don't want to assert these four decimals, so I would like to use wildcard "*" or RegEx "28839.314350[0-9]+" , unfortunately it doesn't work, In my Message Content Assertion, I have hundred lines like this to compare, is it possible to use these two methods?
We can use Wildcard or RegEx in XPath or XQuery assertion, but in Message Content Assertion, we can only use default givens operations like ">", "=" etc, is it possible to use wildcard or RegEx in this kind of assertion?
For Example, I have Actual values which last 4 decimals change each time, I don't want to assert these four decimals, so I would like to use wildcard "*" or RegEx "28839.314350[0-9]+" , unfortunately it doesn't work, In my Message Content Assertion, I have hundred lines like this to compare, is it possible to use these two methods?