CARQUESTTechnol
15 years agoContributor
Trim Whitespace in an XPath Match statement
I have a JDBC step that retrieves information from a DB. This info has whitespace at the end but the WebService doesn't. How can I use the JDBC info for comparison to my Request's Response? I tired normalize-string() but it didn't seem to work. I tried a match() but when I try to put in the JDBC result the match fails.
I want to use a simple assertion instead of writing code. Can I use a XPath with RegEx? How do I use a RegEx with a JDBC Datasource?
I want to use a simple assertion instead of writing code. Can I use a XPath with RegEx? How do I use a RegEx with a JDBC Datasource?