Service Virtualization

Expand all | Collapse all

How to connect to MongoDb from DevTest

Jump to Best Answer
  • 1.  How to connect to MongoDb from DevTest

    Posted 03-26-2018 01:48 AM

    Hi,

     

    Does anyone know, Is there a way to connect to MongoDB from DevTest? 

     

    Thanks in Advance.



  • 2.  Re: How to connect to MongoDb from DevTest
    Best Answer

    Posted 03-28-2018 07:00 AM

    DevTest has support for class 4 (pure Java) JDBC connections to SQL databases only - MongoDB, as a NoSQL database, is therefore not directly supported.

     

    You could use a custom extension, or write scripted (JSR223) steps to access the database and save the results to a file or property for use in later steps. 

     

    If you need a Java MongoDB driver then this may be of use MongoDB Java Driver 



  • 3.  RE: How to connect to MongoDb from DevTest

    Posted 07-15-2020 04:27 PM
    we need a component that can connect MongoDB from LISA dev test using with Mongod Driver and connection string with Host and port including in the connection URL.
    this is not SQL, its MQL (mongo Query language) using date in the JSON format. Date can be used in JSON forma in query. Since MonoDB is integrated with KAFKA connector's. its good if Broadcom provides ASAP along with KAFKA SSL component update.