Forum Discussion
vherault
13 years agoNew Contributor
It's OK, the error come from me :-)
it's was OK when there no space in the assertion itself (it was the case in my assertion for jdbc request)
when there are spaces, it's important to replace it by \s
Do not work
(?sx).*
<code xmlns="">0</code>\s*
<message xmlns=''>success</message>.*
(?sx).*
<code\sxmlns="">0</code>\s*
<message\sxmlns=''>success</message>.*
it's was OK when there no space in the assertion itself (it was the case in my assertion for jdbc request)
when there are spaces, it's important to replace it by \s
Do not work
(?sx).*
<code xmlns="">0</code>\s*
<message xmlns=''>success</message>.*
(?sx).*
<code\sxmlns="">0</code>\s*
<message\sxmlns=''>success</message>.*