header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
December 04, 2008, 10:07:39 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Groovy script to transfer data from external xml file to a properties file
Welcome, Guest. Please login or register.
December 04, 2008, 10:07:39 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Groovy script to transfer data from external xml file to a properties file
« previous next »
Pages: [1] Print
Author Topic: Groovy script to transfer data from external xml file to a properties file  (Read 338 times)
Datta Prabhu
Newbie
*
Posts: 1


« 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
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header