Here is one other example.
Response of JDBC step.
<Results>
<ResultSet fetchSize="10">
<Row rowNumber="1">
<AUDIENCE_ATTRIBUTE_ID>35801365</AUDIENCE_ATTRIBUTE_ID>
</Row>
</ResultSet>
</Results>
Property Transfer Steps:
Source:
JDBC Step, Property: ResponseAsXML, Path language: XPath
//AUDIENCE_ATTRIBUTE_ID
Target:
Another Get Call, Peroperty: aa_id, Path language: XPath
You can see above property transfer step in attached screenshot.
This is working fine in SOAP UI, bit getting earlier mentioned error on jenkins.
Also I am getting same error for Script assertions and JSON path property transfer.
Script Assertion for other step:
import com.eviware.soapui.support.XmlHolder
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder ("getAttributeExportWithProviderName#ResponseAsXml")
exportData= holder.getNodeValue ("//data")
assert exportData != null
Response for getAttributeExportWithProviderName step:
<data contentType="text/csv;charset=utf-8" contentLength="34127"><![CDATA["Attribute ID","Full Path","Attribute Name","Provider","CPM","Internet","Owned","CRM","Internet ru4.com","Internet rfihub.com","Owned ru4.com","Owned rfihub.com","KeyChain Count",
"55144320","Demographic>>Age Range>>Age Range By Provider>>18 to 19","18 to 19","Experian","0.75","0","0","0","0","0","0","0","0",
"55144322","Demographic>>Age Range>>Age Range By Provider>>20 to 29","20 to 29","Experian","0.75","0","0","0","0","0","0","0","0",
"55144324","Demographic>>Age Range>>Age Range By Provider>>30 to 39","30 to 39","Experian","0.75","34248000","0","0","1074000","33678000","0","0","0",
"55144326","Demographic>>Age Range>>Age Range By Provider>>40 to 49","40 to 49","Experian","0.75","39954000","0","0","1161000","39357000","0","0","0",
This script aseertion also passed in SOAPUI UI.
Summary:
All steps passed in SoapUI UI which contains Xpath Property Transfer, JSON Path property transfer, Script Assertion for Xpath and Json path.
PS: I am using REST services, so most of the response are in JSON, but all DB steps has XML response and some of the API is returning XML
Thanks Rao for looking into. Please let me know if you need anything else.