cancel
Showing results for 
Search instead for 
Did you mean: 

Connect Document DB using Groovy Scripting - Looking for valuable solution

Sandyapitester
Frequent Contributor

Connect Document DB using Groovy Scripting - Looking for valuable solution

Hi All,

 

SOAPUI NG PRO Need to connect the document DB

 

Prob :

 

DocumentDB doesn't have a driver so am unable to connect through soapui pro version

 

Based on the previous discussion it's possible to achieve in groovy scripting .

 

If someone having the sample script it would be more helpful for the automation because am new to Azure docuemntDB

 

am looking for a valuable solution

 

It would be more appreciate

 

 

 

 

6 REPLIES 6
nmrao
Community Hero

Re: Connect Document DB using Groovy Scripting - Looking for valuable solution

If there is no driver, then it would not be possible to connect, IMO.


Regards,
Rao.
Sandyapitester
Frequent Contributor

Re: Connect Document DB using Groovy Scripting - Looking for valuable solution

Roa, 

 

It's not possible to achieve in groovy scripting

 

I believe  u can help me to fix this Issue 🙂 

 

TanyaYatskovska
Community Manager

Re: Connect Document DB using Groovy Scripting - Looking for valuable solution

Hi,

 

I agree with Rao here. If there is no driver which provides access to the DB, I don't see any options of how this can be achieved.

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Sandyapitester
Frequent Contributor

Re: Connect Document DB using Groovy Scripting - Looking for valuable solution

You r right Tanya but,

 

Now a day's most of the client using DocumentDB or Mongodb, for API automation DB validation is mandatory. I believe  we have to find the solution for this issue.

If will get the solution it would be more useful for features and current SOAPUI pro user.

 

awaiting your valuable updates

nmrao
Community Hero

Re: Connect Document DB using Groovy Scripting - Looking for valuable solution

I believe that there are java libraries available for both the db type that you mentioned. It is just that you need to download them and copy under READYAPI_HOME/bin/ext directory and reastart before you start using them.


Regards,
Rao.
anit
New Contributor

Re: Connect Document DB using Groovy Scripting - Looking for valuable solution

Hi 

Did you find any valuable solution for this.

Like a groovy script to make connection with Azure cosmos db.

Please share if you have found one.

Currently I'm getting below error   when trying to make connection

" java.lang.NoSuchMethodError: org.apache.http.impl.conn.DefaultClientConnectionOperator.(Lorg/apache/http/conn/scheme/SchemeRegistry;Lorg/apache/http/conn/DnsResolver;)V" 


@Sandyapitester wrote:

Hi All,

 

SOAPUI NG PRO Need to connect the document DB

 

Prob :

 

DocumentDB doesn't have a driver so am unable to connect through soapui pro version

 

Based on the previous discussion it's possible to achieve in groovy scripting .

 

If someone having the sample script it would be more helpful for the automation because am new to Azure docuemntDB

 

am looking for a valuable solution

 

It would be more appreciate

 

 

 

 


 

 

 

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors