Forum Discussion
michaelmerrill
9 years agoOccasional Contributor
I forgot to mention that when the tests are ran within Ready API, or SOAP UI version 5.2.2, the test steps that do the property transfer are OK.
- michaelmerrill9 years agoOccasional Contributor
I printed out the error message the the PropertyTransferTestStep result, and it appears to be an issue with the XML libraries.
14:45:50,013 ERROR [log] Error from test step: com.eviware.soapui.impl.wsdl.teststeps.PropertyTransferException: error: Unexpected element: CDATA
- michaelmerrill9 years agoOccasional Contributor
Note that the source for the property transfer is the JSON output of a REST test step. I am converting it to responseAsXML to see if that fixes the issue.
- michaelmerrill9 years agoOccasional Contributor
Treating the target source as XML, and using XPath solved the issue. It would be convenient to use JPath and just the response from the target.