IMoriarty
13 years agoNew Contributor
Randomizing DataSource Rows
Hey All,
I'm attempting to work off of the SoapUI Tips and Tricks section to randomize a text file's data (comma and newline delimited).
I've been following the "tutorial" http://www.soapui.org/Scripting-Properties/tips-a-tricks.html#2-3-randomizing-datasource-rows.
However, when I attempt to run the case, my first DataSource Loop "Original Loop" never seems to finish, and the log appears to have the array adding nulls to the data -> Script-result [,,,,,,,,,,,,,,,,,,,,,,,,,,,,,] etc.
I can't tell what I'm doing wrong, and unfortauntely I'm just starting to learn Groovy, so the code itself doesn't mean much at the moment.
Any help would be appreciated.
~Ian
I'm attempting to work off of the SoapUI Tips and Tricks section to randomize a text file's data (comma and newline delimited).
I've been following the "tutorial" http://www.soapui.org/Scripting-Properties/tips-a-tricks.html#2-3-randomizing-datasource-rows.
However, when I attempt to run the case, my first DataSource Loop "Original Loop" never seems to finish, and the log appears to have the array adding nulls to the data -> Script-result [,,,,,,,,,,,,,,,,,,,,,,,,,,,,,] etc.
I can't tell what I'm doing wrong, and unfortauntely I'm just starting to learn Groovy, so the code itself doesn't mean much at the moment.
Any help would be appreciated.
~Ian