I have a test-case like this in which I'm verifying the total number of rows - I have referred the below page and tried this solution, but seems that it is not working. I want to check whether my noOfRows is greater than 2.
This is the response I'm getting for printing
Total number of rows [ { "1": 27 } ]
* def noOfRows = result
* print 'Total number of rows ',result
* assert noOfRows == { "1": '#? _ > 2' }