cancel
Showing results for 
Search instead for 
Did you mean: 

Can we successfully connect to Mongo DB(No SQL db) from ready api?

Highlighted
New Contributor

Can we successfully connect to Mongo DB(No SQL db) from ready api?

Can you list down the options of how can we connect?

 

And the steps with screenshots for each option to connect.

1 REPLY

Re: Can we successfully connect to Mongo DB(No SQL db) from ready api?

Hi,

 

Thank you for posting on our forum. You can try the following steps:

 

You can download the JDBC Driver for MongoDB from here:
http://www.unityjdbc.com/mongojdbc/mongo_jdbc.php

 

The class name and an example of a connection string are below.
JDBC Driver class name: mongodb.jdbc.MongoDriver
URL format: jdbc:mongo://<serverName>/<databaseName>

 

After you copy the downloaded driver to the "C:\Program Files\SmartBear\ReadyAPI-1.8.0\bin\ext" folder, you need to add the driver properties below to the "File -> Preferences -> JDBC Driver Properties" preferences (https://www.soapui.org/getting-started/soapui-interface/preferences-and-settings.html#JDBC-Drivers-P...):
Driver: MongoDB/mongodb.jdbc.MongoDriver
Connection String Template: jdbc:mongo://<HOST:0.0.0.0>:<PORT:0000>/<DB>?user=user&password=password (change a host, port, username and password here to your credentials)

 

Close and reopen Ready API

 

Hope this helps.

 

Best,

Lakshmi

API Summer News

Congratulate last week's winners here:
1. @sanj - $50
2. @Sehuang and @aaronpliu - $35
3. @jhanzeb1 - $15

To do this week:
- Ask product-related questions
- Reply to any questions

Win $50, $35 or $15 gift card!
Winners will be decided next Monday (Aug 27)

Top Kudoed Authors
Are You In?