Contact Us
About Us
News
Home
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 02, 2008, 01:24:20 pm
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forgot your password?
Datasource Looping/Iteration Not Resetting Properly
Welcome,
Guest
. Please
login
or
register
.
December 02, 2008, 01:24:20 pm
News:
The Forums are up! Welcome to eviware.
Eviware Forum
soapUI
soapUI
Datasource Looping/Iteration Not Resetting Properly
« previous
next »
Pages:
[
1
]
Author
Topic: Datasource Looping/Iteration Not Resetting Properly (Read 329 times)
Jon
Newbie
Posts: 20
Datasource Looping/Iteration Not Resetting Properly
«
on:
June 03, 2008, 03:05:51 pm »
Hey Ole,
After your very help suggestions for datasource loops got things working for us, I did notice something else a bit strange. I put in some println statements and captured some sample output to show what I mean (observe the behaviour of "adjusted netPort" when it approaches xxx9):
adjusted netPort: 1077
raw netport: 1008
raw iterator: 7
adjusted netPort: 1078
raw netport: 1009
raw iterator: 7
adjusted netPort: 1079
raw netport: 1009
raw iterator: 8
adjusted netPort:
1089
raw netport: 1000
raw iterator: 8
adjusted netPort: 1080
raw netport: 1001
raw iterator: 8
adjusted netPort: 1081
raw netport: 1002
raw iterator: 8
adjusted netPort: 1082
raw netport: 1003
raw iterator: 8
adjusted netPort: 1083
raw netport: 1004
raw iterator: 8
adjusted netPort: 1084
raw netport: 1005
raw iterator: 8
adjusted netPort: 1085
raw netport: 1006
raw iterator: 8
adjusted netPort: 1086
raw netport: 1007
raw iterator: 8
adjusted netPort: 1087
raw netport: 1008
raw iterator: 8
adjusted netPort: 1088
raw netport: 1009
raw iterator: 8
adjusted netPort: 1089
raw netport: 1009
raw iterator: 9
adjusted netPort:
1099
The Net Port Datasource was "finish"ed before the iterator (my current loop count) was incremented, but it seems to take another loop step to actually complete the "finish" operation. I just figured out that I can work around this (in the simple case) by setting the outer loop's target to the inner loop's datasource loop testStep (although this won't help in the case where I need to reset the datasource before continuing on in the test case), but, does this strike you as a bit odd?
Cheers!
Jon
Logged
omatzura
Administrator
Hero Member
Posts: 1,470
Re: Datasource Looping/Iteration Not Resetting Properly
«
Reply #1 on:
June 03, 2008, 03:08:46 pm »
Hi!
hmm.. strange enough.. can you mail me the updated project file so I can have a look?
regards!
/Ole
eviware.com
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> eviware general
-----------------------------
soapUI
-----------------------------
=> soapUI
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Powered by SMF 1.1.2
|
SMF © 2006-2007, Simple Machines LLC
Loading...