Forum Discussion

Sandyapitester's avatar
Sandyapitester
Frequent Contributor
8 years ago

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

  • nmrao's avatar
    nmrao
    Champion Level 3
    If there is no driver, then it would not be possible to connect, IMO.
    • Sandyapitester's avatar
      Sandyapitester
      Frequent Contributor

      Roa, 

       

      It's not possible to achieve in groovy scripting

       

      I believe  u can help me to fix this Issue :) 

       

      • TanyaYatskovska's avatar
        TanyaYatskovska
        SmartBear Alumni (Retired)

        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.

  • anit's avatar
    anit
    New Contributor

    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