AnandKiran
16 years agoFrequent Contributor
How to save the response tag values in the Excel sheet using groovy script
Hi Ole,
We are facing a small issue , the requirement is- once the response is received we have to save the values of the response to the excel sheet . Here we are using on SOAP UI not the SOAP UI PRO version.
I am able to save the response values in HOLDER using the below script
def holder = groovyUtils.getXmlHolder ("add#Response")
and i can get the required node value using the script
holder.getNodeValue("//n:addResponse/n:Result")
Now i want to save the result into the excal sheet ...
How can we do it using groovy script, can you help me on this.
Thanks
With Regards
Anand Kiran
We are facing a small issue , the requirement is- once the response is received we have to save the values of the response to the excel sheet . Here we are using on SOAP UI not the SOAP UI PRO version.
I am able to save the response values in HOLDER using the below script
def holder = groovyUtils.getXmlHolder ("add#Response")
and i can get the required node value using the script
holder.getNodeValue("//n:addResponse/n:Result")
Now i want to save the result into the excal sheet ...
How can we do it using groovy script, can you help me on this.
Thanks
With Regards
Anand Kiran