Eviware Forum

soapUI => soapUI => Topic started by: Datta Prabhu on December 17, 2007, 06:17:51 am



Title: Groovy script to transfer data from external xml file to a properties file
Post by: Datta Prabhu on December 17, 2007, 06:17:51 am
Hi,

I am new to using SOAP UI .I have the task of transferring the data from an external xml file(available on the hard disk ) to a soapui properties file .I could not find any example to do this in the user guide .

Can someone guide  me how to do it  or can anyone provide me a groovy scripty for this task ?

example :
if the xml file is :

<name>SAMPLE</name>
<ipaddress>4.4.4.4</ipaddress>
<network delay>100</network delay>

properties file should contain:

          name                     SAMPLE
          ipaddress               4.4.4.4
          network delay        100


Is there any other way to do it?
 
This task is a bit urgent for me.
Your earliest reply would be appreciated .


Thanks & Regards.,
Prabhu M datta