Ask a Question

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

Datta_Prabhu
Not applicable

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
0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: