Forum Discussion

sanjeevkumar7's avatar
sanjeevkumar7
Occasional Contributor
15 years ago

Speed of groovyutils.getXmlHolder

Hi I'm using getxmlholder method to read the response data and insert into sql server database.

Everything is working fine until I tried to run the same for a response which has hundreds of data which needs to be read from the response xml using getNodeValue and the Xpath of the field.

This is very slow and it takes an long time to read the xml node value and insert the same. Is there an efficient way to do this?

Sorry the question is vague, but I have couple thousand iteration of the same to perform using different sessions. I expected this should take about 30 minutes or so, but now for 250 sessions it took more than 3 hours.

Thanks a appreciate your time!

Please let me know if you need any other information

-Sanjeev

1 Reply

  • Hi Sanjeev,

    can you show your script so we can see if it could be optimized somehow?

    regards,

    /Ole
    eviware.com