Forum Discussion
2 Replies
Sort By
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
}
Thanks, Will give it a go.
Regards
Syavosh
Related Content
- 10 years ago
- 12 years ago
- 10 years ago
Recent Discussions
- 7 days ago