Forum Discussion
nmrao
9 years agoChampion Level 3
May be you can use below one for reference and implement your own.
http://stackoverflow.com/questions/31472381/dynamically-compare-rest-xml-json-response-and-jdbc-using-groovy-array-in-soapui/35706976#35706976
http://stackoverflow.com/questions/31472381/dynamically-compare-rest-xml-json-response-and-jdbc-using-groovy-array-in-soapui/35706976#35706976
- saradhipb9 years agoOccasional Contributor
Hi Rao,
I have a challenge here in building JDBC request, I am using Mongo Client and there is no inbuilt JDBC congiguration for MongoDB.
My expectations are listed in the DataSource step. I have to compare the JSON response with respective to Data Source Step.
Regards,
Saradhi
- nmrao9 years agoChampion Level 3Is not the question about compring the results from jdbc and another request step response?
- nmrao9 years agoChampion Level 3In that case, you need to download the respective client library and add it to READYAPI_HOME/bin/ext directory.
In the connection string use the mango documentation.
Good luck.- saradhipb9 years agoOccasional Contributor
Hi Rao,
I have downloaded and placed the files in the respective directory.
I have written groovy script (Named the script as Script1) for retrieving values from Database. I added one more groovy script and trying to access the response from the groovy script in the new script, but I was getting 'null' value.
Any suggestions please.