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 01, 2008, 07:09:22 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Example on DataSink
Welcome, Guest. Please login or register.
December 01, 2008, 07:09:22 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Example on DataSink
« previous next »
Pages: [1] Print
Author Topic: Example on DataSink  (Read 270 times)
Sachin Sawe
Newbie
*
Posts: 17


« on: August 28, 2008, 05:10:20 pm »

Can someone give an example of how to write data to a DataSink in a loop?

What I want to do is this:

I have an array say : myArray
I iterate through this array and write each row to a datasink (excel or file)
I have been able to write to both file and excel but it just writes one record and does not iterate in a loop
in my loop I do:
loop
{
targetStep.setPropertyValue( "property1" , value1 )
targetStep.setPropertyValue( "property2" , value2 )
.
.
targetStep.run( testRunner, context )
}

However this writes only one row to the file Huh?

thanks,
Sachin
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,466


« Reply #1 on: August 29, 2008, 11:37:11 am »

Hi!

hmm.. not sure exactly.. I'll try to reproduce and will get back to you..

regards!

/Ole
eviware.com
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