Forum Discussion
M_McDonald
14 years agoSuper Contributor
Yes, you need to construct the entire fragment for all the names that you wanted per request in the Groovy script and just reference it once in the request. So that if rowsToRead was set to 3, you would get 3 <name> elements in the Groovy script result. Then you would just put a single reference to the result in the request:
<people>
${Groovy Script#result}
</people>