Forum Discussion
JKambli
Staff
11 years agoHi,
You can add the script assertion and use property expansion (Right click > Get data > DataSource select property)
Do the same for JDBC
for example,
def property = context.expand( '${DataSource#property}' )
def responseAsXml = context.expand( '${JDBC Request#ResponseAsXml}' ) (You can also select a specfic value using property expansion)
http://www.soapui.org/working-with-soapui/point-and-click-testing/point-and-click-with-xpath.html
and assert them,
assert property == responseAsXml
http://www.soapui.org/functional-testing/validating-messages/using-script-assertions.html
Thanks,
Jeshtha