cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Request - XPath Match

Highlighted
Contributor

SOAP Request - XPath Match

Is there a way to use a test suite property in the expected results of an Xpath Match?

For example, here is a portion of the xpath match:

"http://schemas.xmlsoap.org/soap/envelope/">Jim's Test

Jim's Test is in a test suite property... is there a way to access it in the XPath Match expected results?

Thanks!
2 REPLIES 2
Highlighted

Re: SOAP Request - XPath Match

Hello!

Yes, this is done by using a property expansion (see the user guide). The easiest way of doing this (using soapUI PRO) is by using the "Select Content" dropdown menu from the XPath Match configuration dialog. From there you have access to all your properties defined on TestCase, TestSure and Project levels, and also the ability to create new properties. Good luck!

Regards,
Dain
eviware support


 Join the virtual SmartBear Connect user conference on April 27-28! Get your free virtual ticket today!
Highlighted
Contributor

Re: SOAP Request - XPath Match

Thanks!! This works great! Wish I had asked earlier