Contributions
Re: Retreiving data from Mongo db using Groovy and assigning it to a test case property
Hi 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.5 years agoPlace ReadyAPI QuestionsReadyAPI Questions8.4KViews0likes1Comment