I need to get value from xml in soapui tool and store those data into Excel sheet. I used groovy script in SoapUI tool.
If Response have multiple output and these output store in excel sheet. Like LocationName and CustCity333Name have twice, so these output should store into excel sheet. Please help me to resolve this issue
<ns10:Location>
<ns10:LocationId>
<ns5:RowId>7080013</ns5:RowId>
</ns10:LocationId>
<ns10:LocationDetails>
<ns10:AuditElement/>
<ns10:EffectiveDate/>
**<ns10:LocationName>REMOVEDEPENDENCY004</ns10:LocationName>**
<ns10:RailIncData/>
**<ns10:CustCity333Name>OAKLAND</ns10:CustCity333Name>**
<ns10:CustCity333Id>OAKLAND</ns10:CustCity333Id>
<ns10:CustCity333StateCode>TN</ns10:CustCity333StateCode>
<ns10:ParentCIFDetails/>
</ns10:LocationDetails>
</ns10:Location>
<ns10:Location>
<ns10:LocationId>
<ns5:RowId>7080018</ns5:RowId>
</ns10:LocationId>
<ns10:LocationDetails>
<ns10:AuditElement/>
<ns10:EffectiveDate/>
**<ns10:LocationName>REMOVEDEPENDENCY004</ns10:LocationName>**
<ns10:RailIncData/>
**<ns10:CustCity333Name>OAKLAND</ns10:CustCity333Name>**
<ns10:CustCity333Id>OAKLAND</ns10:CustCity333Id>
<ns10:CustCity333StateCode>TN</ns10:CustCity333StateCode>
<ns10:ParentCIFDetails/>
</ns10:LocationDetails>
LocationDetails, the number of column data increases, right? what are you trying to achieve by storing data in there? - Rao