Forum Discussion
Hi Rao,
Thanks for the quick reply, appreciate your time.
But how would that work in my example if i want to use the regular expressions?
For example, apparently a dot should match any character or \d should match any digit. But if i do the following it doesn't work:
Response:
<ns1:RandomNumber>234</ns1:RandomNumber>
Contain Assertion:
<ns1:RandomNumber>...</ns1:RandomNumber>
or <ns1:RandomNumber>\d\d\d</ns1:RandomNumber>
Hi tester213243
Can you try <ns1:RandomNumber>[1-9][1-9][1-9]</ns1:RandomNumber> . hope it works
- tester2132435 years agoNew Contributor
Hi arunbharath
No unfortunately that doesnt work either.
There are many numbers in my response but if i just create a contain-assertion with [1-9] it fails.
Also if i check the box 'Use token as regular expression'.
Related Content
- 8 years agorvteja1990
- 8 years agomgroen2
- 5 years agofmensah
Recent Discussions
- 4 days agominhng