Forum Discussion
avidCoder
Super Contributor
Yes, We can do it. Put all the results and iterate using for loop and store inside DataSink like this:-
int j
def result = "get it from JDBC and iterate through all the results and store inside result"
for(int i=0; i<result.size(); i++) {
testRunner.testCase.testSteps["DataSink"].setPropertyValue(result[j], Value) //where "j" will give you the number of result
}
Syavosh
7 years agoNew Contributor
Thanks, Will give it a go.
Regards
Syavosh
Related Content
- 9 years agominhng
- 11 years agoSoapRookie
Recent Discussions
- 4 days agominhng