Mongo
Type: NoSQL Database
Description: Document-oriented NoSQL database, storing data in flexible, JSON-like BSON documents. It is designed for scalability and flexibility, making it suitable for handling diverse and evolving data structures.
How to send the query
Description:
<mongo>
– the command which is responsible for sending the queries to Mongo DB in testing scenarios
Required parameters:
- comment
- alias - unique name of the DB you configured in your integration.xml file
- file - specifies the expected file name
- query - contains the Mongo DB query
Optional parameters :
- condition - condition according to which this test step will or won't be executed
- threshold - parameter, where the maximum execution time of the command is defined (milliseconds), if the execution time is exceeded, the step will be defined as failed
<mongo comment="Get all user's from system" alias="ALIAS" file="expected_1.json">
<query>SELECT * FROM t_user</query>
</mongo>