Gkm
10 years agoContributor
How to get values from CDATA of JDBC request and compare it with Json Response
My JDBC request:
<Results>
<ResultSet fetchSize="1288">
<Row rowNumber="1">
<ConfigurationXML><![CDATA[<ROOT><StartDistance>0</StartDistance><Device>[{"Name":"CAM 1 ","Profile":{"ID":1,"Height":240},"Index":-1}]</Device></ROOT>]]></ConfigurationXML>
<ID>25</ID>
<UnitID>Gita</UnitID>
</Row>
</ResultSet>
</Results>My Json Response,
{
"UnitConfiguration ": {
"StartDistance ": 0,
"Device ": {
"Name ": "CAM 1 ",
"Profile ": {
"ID ": "1 ",
"Height ": 240
},
"Index ": -1
}
}
"ID":25,
"UnitID":Gita
}I'm unable to get values from CDATA
- Is the below thread yours? Just happened to answer it. Please see if that helps.
http://stackoverflow.com/questions/38911400/how-to-extract-database-xml-data-in-soapui/38922768#38922768