Forum Discussion

Datta_Prabhu's avatar
17 years ago

Groovy script to transfer data from external xml file to a properties file

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 :

SAMPLE
4.4.4.4
100

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
No RepliesBe the first to reply