AnkurB
10 years agoNew Contributor
How to fetch XML node in SOAP Ui through groovy?
Hi,
I am working on a project to automate the back end services. I am stuck on couple of points:
1. How to fetch a node from the XML response generated with one of the request in test suite? I want to fetch the value dynamically. I want to store that value in a variable and use it as per requirement to compare and pass on in some other request.
2. I need to connect to a particular column in database which contains the XML logs. Then fetch the numeric amount value from the XML and compare with the XML response I received through SOAP UI
any help or clue in this would be really appreciated.
I am working on a project to automate the back end services. I am stuck on couple of points:
1. How to fetch a node from the XML response generated with one of the request in test suite? I want to fetch the value dynamically. I want to store that value in a variable and use it as per requirement to compare and pass on in some other request.
2. I need to connect to a particular column in database which contains the XML logs. Then fetch the numeric amount value from the XML and compare with the XML response I received through SOAP UI
any help or clue in this would be really appreciated.