ContributionsMost RecentMost LikesSolutionsRe: Retreiving data from Mongo db using Groovy and assigning it to a test case propertyHi I used the below code you have mentioned Document myDoc=collection.find().first() If I used first() or last() function it works fine. I pull the first or last document from the collection. However if I try to use just find() I’m not able to retrieve ALL the documents that match the query I pass in the file. Can you please help? What is the code to pull all the docs from the collection.