Ask a Question

How do you get the Virt DataSource row count

frankkDLL
Occasional Contributor

How do you get the Virt DataSource row count

Hi There,

 

Hopefully this is a trivial question, but i just can see it in the API documentation....

 

When accessing datasources for a request via groovy like:

def virtDataSource = mockRequest.getContext().getMockService().dataSources.getVirtDataSource("SomeDataSourceName")

 

Is it possible to get the number of rows specified in the dataSource dynamically?

 

Rgds,

Frank

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: