Forum Discussion
10 Replies
Sort By
- nmraoChampion Level 3Well, there are two options.
1. Use data driven approach, run the jdbc step in a loop.
2. The same can be done in single step if groovy script step is used. Please find the sample code snippet:
http://grails.asia/groovy-sql-insert-operation-example- SBKNew Contributor
If we run the jdbc step in a loop, we are establishing the connection and disconnecting it for each SQL Statement right??
- groovyguyChampion Level 1
SBK : here's the documentation for Property Expansion. ReadyAPI Property Expansion
- groovyguyChampion Level 1
You could likely utilize property expansion and a data source to loop through a set of SQL queries.
- SBKNew Contributor
how to utilize property expansion?