Hello,
Since this is noSQL database, the only way I see to do this is using Groovy. First,
you would need to put necessary connector java libraries into bin/ext folder of soapUI,
to make them available on soapUI's classpath. Then you would create Groovy test step, or
DataSource test step of Groovy type (this depends on actual testing scenario but most probably
you would use the second one). There you would write script which connects to and
retrieves data from the MarkLogic. At last when you get the data from the database
you could do any validations you need.
Hope this makes things a bit more clear.
regards!
Predrag
SmartBear Software