Forum Discussion
omatzura
16 years agoSuper Contributor
Hi,
If it's a JDBC datasource you can sort the result using "order by" in your sql, otherwise there is no further way to sort the returned rows.
Regarding the reading of all rows, you would need to create a groovy script that
1) manually increase the datasource by calling its .next(..) method
2) writes each rows value from the datasource to a temporary property
then use those properties in your request via property-expansion..
does that make sense?
regards!
/Ole
eviware.com
If it's a JDBC datasource you can sort the result using "order by" in your sql, otherwise there is no further way to sort the returned rows.
Regarding the reading of all rows, you would need to create a groovy script that
1) manually increase the datasource by calling its .next(..) method
2) writes each rows value from the datasource to a temporary property
then use those properties in your request via property-expansion..
does that make sense?
regards!
/Ole
eviware.com